* release: 0.25.0 * chore: freeze release API contract --------- Co-authored-by: openai-sdks[bot] <284451331+openai-sdks[bot]@users.noreply.github.com>
46215 lines
1.1 MiB
46215 lines
1.1 MiB
{
|
|
"baseline": "v0.25.0",
|
|
"baseline_commit": "e03c7157f7629ff60aa3e434f2f083f72e4c7ba9",
|
|
"callables": {
|
|
"Agent": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "handoff_description"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "tools"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "mcp_servers"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.agent.AgentBase.<lambda>",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "mcp_config"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "instructions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "prompt"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "handoffs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "model"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.models.default_models.get_default_model_settings",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "input_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "output_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "output_type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "hooks"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "run_llm_again"
|
|
},
|
|
"init": true,
|
|
"name": "tool_use_behavior"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"init": true,
|
|
"name": "reset_tool_choice"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"as_tool": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "custom_output_extractor"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "is_enabled"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "on_stream"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_config"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "max_turns"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "hooks"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "conversation_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"identity": "agents.tool.default_tool_error_function",
|
|
"kind": "callable"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "failure_error_function"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "needs_approval"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "parameters"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input_builder"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "include_input_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 1024
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "on_stream_max_pending_events"
|
|
}
|
|
]
|
|
},
|
|
"clone": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_KEYWORD",
|
|
"name": "kwargs"
|
|
}
|
|
]
|
|
},
|
|
"get_all_tools": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_context"
|
|
}
|
|
]
|
|
},
|
|
"get_mcp_tools": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_context"
|
|
}
|
|
]
|
|
},
|
|
"get_prompt": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_context"
|
|
}
|
|
]
|
|
},
|
|
"get_system_prompt": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_context"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "handoff_description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tools"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mcp_servers"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mcp_config"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "instructions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "prompt"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "handoffs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "hooks"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "run_llm_again"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_use_behavior"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "reset_tool_choice"
|
|
}
|
|
]
|
|
},
|
|
"AgentBase": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "handoff_description"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "tools"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "mcp_servers"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.agent.AgentBase.<lambda>",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "mcp_config"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"get_all_tools": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_context"
|
|
}
|
|
]
|
|
},
|
|
"get_mcp_tools": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_context"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "handoff_description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tools"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mcp_servers"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mcp_config"
|
|
}
|
|
]
|
|
},
|
|
"AgentHookContext": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.usage.Usage",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "turn_input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "tool_input"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"approve_tool": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "approval_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "always_approve"
|
|
}
|
|
]
|
|
},
|
|
"get_approval_status": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "call_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_namespace"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "existing_pending"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_lookup_key"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "current_invocation"
|
|
}
|
|
]
|
|
},
|
|
"get_rejection_message": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "call_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_namespace"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "existing_pending"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_lookup_key"
|
|
}
|
|
]
|
|
},
|
|
"is_tool_approved": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "call_id"
|
|
}
|
|
]
|
|
},
|
|
"reject_tool": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "approval_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "always_reject"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "rejection_message"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "turn_input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_approvals"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_input"
|
|
}
|
|
]
|
|
},
|
|
"AgentOutputSchema": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "output_type"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"is_plain_text": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"is_strict_json_schema": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"json_schema": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"name": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"validate_json": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "json_str"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "strict_json_schema"
|
|
}
|
|
]
|
|
},
|
|
"AgentOutputSchemaBase": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"is_plain_text": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"is_strict_json_schema": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"json_schema": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"name": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"validate_json": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "json_str"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"AgentSpanData": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"export": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "handoffs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tools"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "metadata"
|
|
}
|
|
]
|
|
},
|
|
"AgentToolInvocation": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tool_call_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tool_arguments"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_call_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_arguments"
|
|
}
|
|
]
|
|
},
|
|
"AgentUpdatedStreamEvent": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "new_agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "agent_updated_stream_event"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "new_agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "agent_updated_stream_event"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"AgentsException": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_POSITIONAL",
|
|
"name": "args"
|
|
}
|
|
]
|
|
},
|
|
"ApplyPatchEditor": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"create_file": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "operation"
|
|
}
|
|
]
|
|
},
|
|
"delete_file": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "operation"
|
|
}
|
|
]
|
|
},
|
|
"update_file": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "operation"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_POSITIONAL",
|
|
"name": "args"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_KEYWORD",
|
|
"name": "kwargs"
|
|
}
|
|
]
|
|
},
|
|
"ApplyPatchOperation": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "diff"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "ctx_wrapper"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "move_to"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "diff"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "ctx_wrapper"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "move_to"
|
|
}
|
|
]
|
|
},
|
|
"ApplyPatchResult": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "status"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "output"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "status"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
}
|
|
]
|
|
},
|
|
"ApplyPatchTool": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "editor"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "apply_patch"
|
|
},
|
|
"init": true,
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"init": true,
|
|
"name": "needs_approval"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "on_approval"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "custom_data_extractor"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "allowed_callers"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "editor"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "apply_patch"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "needs_approval"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "on_approval"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "custom_data_extractor"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "allowed_callers"
|
|
}
|
|
]
|
|
},
|
|
"ApplyPatchToolCustomDataContext": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "run_context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tool"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "operations"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "status"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "raw_item"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "operations"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "status"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raw_item"
|
|
}
|
|
]
|
|
},
|
|
"AsyncComputer": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"click": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "x"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "y"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "button"
|
|
}
|
|
]
|
|
},
|
|
"double_click": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "x"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "y"
|
|
}
|
|
]
|
|
},
|
|
"drag": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
}
|
|
]
|
|
},
|
|
"keypress": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "keys"
|
|
}
|
|
]
|
|
},
|
|
"move": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "x"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "y"
|
|
}
|
|
]
|
|
},
|
|
"screenshot": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"scroll": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "x"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "y"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "scroll_x"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "scroll_y"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "text"
|
|
}
|
|
]
|
|
},
|
|
"wait": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"CodeInterpreterTool": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tool_config"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_config"
|
|
}
|
|
]
|
|
},
|
|
"CompactionItem": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "compaction_item"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"release_agent": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"to_input_item": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "compaction_item"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"Computer": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"click": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "x"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "y"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "button"
|
|
}
|
|
]
|
|
},
|
|
"double_click": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "x"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "y"
|
|
}
|
|
]
|
|
},
|
|
"drag": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
}
|
|
]
|
|
},
|
|
"keypress": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "keys"
|
|
}
|
|
]
|
|
},
|
|
"move": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "x"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "y"
|
|
}
|
|
]
|
|
},
|
|
"screenshot": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"scroll": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "x"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "y"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "scroll_x"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "scroll_y"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "text"
|
|
}
|
|
]
|
|
},
|
|
"wait": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"ComputerProvider": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "create"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "dispose"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "create"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dispose"
|
|
}
|
|
]
|
|
},
|
|
"ComputerTool": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "computer"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "on_safety_check"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "custom_data_extractor"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "computer"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "on_safety_check"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "custom_data_extractor"
|
|
}
|
|
]
|
|
},
|
|
"ComputerToolCustomDataContext": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "run_context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tool"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tool_call"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "raw_item"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_call"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raw_item"
|
|
}
|
|
]
|
|
},
|
|
"CustomSpanData": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"export": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
}
|
|
]
|
|
},
|
|
"CustomTool": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "on_invoke_tool"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "format"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"init": true,
|
|
"name": "needs_approval"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "on_approval"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"init": true,
|
|
"name": "defer_loading"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "custom_data_extractor"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "allowed_callers"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": false,
|
|
"name": "tool_config"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"runtime_needs_approval": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"runtime_on_approval": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "on_invoke_tool"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "format"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "needs_approval"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "on_approval"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "defer_loading"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "custom_data_extractor"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "allowed_callers"
|
|
}
|
|
]
|
|
},
|
|
"CustomToolCustomDataContext": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tool_context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tool"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "raw_item"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raw_item"
|
|
}
|
|
]
|
|
},
|
|
"FileSearchTool": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "vector_store_ids"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "max_num_results"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"init": true,
|
|
"name": "include_search_results"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "ranking_options"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "filters"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "vector_store_ids"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "max_num_results"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "include_search_results"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "ranking_options"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "filters"
|
|
}
|
|
]
|
|
},
|
|
"FunctionSpanData": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"export": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mcp_data"
|
|
}
|
|
]
|
|
},
|
|
"FunctionTool": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "params_json_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "on_invoke_tool"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"init": true,
|
|
"name": "strict_json_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"init": true,
|
|
"name": "is_enabled"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "tool_input_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "tool_output_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"init": true,
|
|
"name": "needs_approval"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "timeout_seconds"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "error_as_result"
|
|
},
|
|
"init": true,
|
|
"name": "timeout_behavior"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "timeout_error_function"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"init": true,
|
|
"name": "defer_loading"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "custom_data_extractor"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "allowed_callers"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "output_json_schema"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "params_json_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "on_invoke_tool"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "strict_json_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "is_enabled"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_input_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_output_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "needs_approval"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "timeout_seconds"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "error_as_result"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "timeout_behavior"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "timeout_error_function"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "defer_loading"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "custom_data_extractor"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "allowed_callers"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "output_json_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "_output_type_adapter"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "_failure_error_function"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "_use_default_failure_error_function"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "_is_agent_tool"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "_agent_tool_default_identity"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "_is_codex_tool"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "_agent_instance"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "_tool_namespace"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "_tool_namespace_description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "_mcp_title"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "_tool_origin"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "_emit_tool_origin"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "_mcp_tool_binding"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "_mcp_annotations"
|
|
}
|
|
]
|
|
},
|
|
"FunctionToolCustomDataContext": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tool_context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tool"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "raw_item"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raw_item"
|
|
}
|
|
]
|
|
},
|
|
"FunctionToolResult": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tool"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "run_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "interruptions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "agent_run_result"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "interruptions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent_run_result"
|
|
}
|
|
]
|
|
},
|
|
"GenerateDynamicPromptData": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "agent"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
}
|
|
]
|
|
},
|
|
"GenerationSpanData": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"export": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_config"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tools"
|
|
}
|
|
]
|
|
},
|
|
"GuardrailFunctionOutput": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "output_info"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tripwire_triggered"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_info"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tripwire_triggered"
|
|
}
|
|
]
|
|
},
|
|
"GuardrailSpanData": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"export": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "triggered"
|
|
}
|
|
]
|
|
},
|
|
"Handoff": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tool_description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "input_json_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "on_invoke_handoff"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "agent_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "input_filter"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "nest_handoff_history"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"init": true,
|
|
"name": "strict_json_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"init": true,
|
|
"name": "is_enabled"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "failure_error_function"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"default_tool_description": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
}
|
|
]
|
|
},
|
|
"default_tool_name": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
}
|
|
]
|
|
},
|
|
"get_transfer_message": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input_json_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "on_invoke_handoff"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input_filter"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "nest_handoff_history"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "strict_json_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "is_enabled"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "failure_error_function"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "_default_tool_identity"
|
|
}
|
|
]
|
|
},
|
|
"HandoffCallItem": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "handoff_call_item"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"release_agent": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"to_input_item": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "handoff_call_item"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"HandoffInputData": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "input_history"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "pre_handoff_items"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "new_items"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "run_context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "input_items"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"clone": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_KEYWORD",
|
|
"name": "kwargs"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input_history"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "pre_handoff_items"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "new_items"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input_items"
|
|
}
|
|
]
|
|
},
|
|
"HandoffOutputItem": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "source_agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "target_agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "handoff_output_item"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"release_agent": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"to_input_item": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "source_agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "target_agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "handoff_output_item"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"HandoffSpanData": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"export": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "from_agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "to_agent"
|
|
}
|
|
]
|
|
},
|
|
"HostedMCPTool": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tool_config"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "on_approval_request"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_config"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "on_approval_request"
|
|
}
|
|
]
|
|
},
|
|
"ImageGenerationTool": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tool_config"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_config"
|
|
}
|
|
]
|
|
},
|
|
"InputGuardrail": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "guardrail_function"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"init": true,
|
|
"name": "run_in_parallel"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"get_name": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"run": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "guardrail_function"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_in_parallel"
|
|
}
|
|
]
|
|
},
|
|
"InputGuardrailResult": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "guardrail"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "output"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "guardrail"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
}
|
|
]
|
|
},
|
|
"InputGuardrailTripwireTriggered": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "guardrail_result"
|
|
}
|
|
]
|
|
},
|
|
"InputItem": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "input_item"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.items.InputItem.<lambda>",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "input_id"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"release_agent": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"to_input_item": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "input_item"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input_id"
|
|
}
|
|
]
|
|
},
|
|
"ItemHelpers": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"copy_tool_call_caller": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_call"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_item"
|
|
}
|
|
]
|
|
},
|
|
"extract_last_content": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
}
|
|
]
|
|
},
|
|
"extract_last_text": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
}
|
|
]
|
|
},
|
|
"extract_refusal": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
}
|
|
]
|
|
},
|
|
"extract_text": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
}
|
|
]
|
|
},
|
|
"input_to_new_input_list": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
}
|
|
]
|
|
},
|
|
"text_message_output": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
}
|
|
]
|
|
},
|
|
"text_message_outputs": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "items"
|
|
}
|
|
]
|
|
},
|
|
"tool_call_output_item": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_call"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "output_json_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "output_type_adapter"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"LocalShellCommandRequest": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "ctx_wrapper"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "data"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "ctx_wrapper"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
}
|
|
]
|
|
},
|
|
"LocalShellTool": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "executor"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "executor"
|
|
}
|
|
]
|
|
},
|
|
"MCPApprovalRequestItem": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "mcp_approval_request_item"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"release_agent": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"to_input_item": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "mcp_approval_request_item"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"MCPApprovalResponseItem": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "mcp_approval_response_item"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"release_agent": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"to_input_item": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "mcp_approval_response_item"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"MCPListToolsItem": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "mcp_list_tools_item"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"release_agent": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"to_input_item": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "mcp_list_tools_item"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"MCPListToolsSpanData": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"export": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "server"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "result"
|
|
}
|
|
]
|
|
},
|
|
"MCPToolApprovalRequest": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "ctx_wrapper"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "data"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "ctx_wrapper"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
}
|
|
]
|
|
},
|
|
"MCPToolCancellationError": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
}
|
|
]
|
|
},
|
|
"MaxTurnsExceeded": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
}
|
|
]
|
|
},
|
|
"MessageOutputItem": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "message_output_item"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"release_agent": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"to_input_item": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "message_output_item"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"Model": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"close": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"get_default_model_settings": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"get_response": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "system_instructions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tools"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "handoffs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tracing"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "conversation_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "prompt"
|
|
}
|
|
]
|
|
},
|
|
"get_retry_advice": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "request"
|
|
}
|
|
]
|
|
},
|
|
"stream_response": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "system_instructions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tools"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "handoffs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tracing"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "conversation_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "prompt"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"ModelBehaviorError": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
}
|
|
]
|
|
},
|
|
"ModelProvider": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"aclose": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"get_model": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_name"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"ModelRefusalError": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "refusal"
|
|
}
|
|
]
|
|
},
|
|
"ModelResponse": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "request_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "raw_usage"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"to_input_items": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "request_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raw_usage"
|
|
}
|
|
]
|
|
},
|
|
"ModelRetryAdvice": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "suggested"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "retry_after"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "replay_safety"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "reason"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "normalized"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"init": true,
|
|
"name": "response_started"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "suggested"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "retry_after"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "replay_safety"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "reason"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "normalized"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "response_started"
|
|
}
|
|
]
|
|
},
|
|
"ModelRetryAdviceRequest": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "error"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "attempt"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "stream"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "conversation_id"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "error"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "attempt"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "stream"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "conversation_id"
|
|
}
|
|
]
|
|
},
|
|
"ModelRetryBackoffSettings": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "repr",
|
|
"type": "pydantic.fields.FieldInfo",
|
|
"value": "FieldInfo(annotation=NoneType, required=False, default=None, metadata=[Ge(ge=0)])"
|
|
},
|
|
"init": true,
|
|
"name": "initial_delay"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "repr",
|
|
"type": "pydantic.fields.FieldInfo",
|
|
"value": "FieldInfo(annotation=NoneType, required=False, default=None, metadata=[Ge(ge=0)])"
|
|
},
|
|
"init": true,
|
|
"name": "max_delay"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "repr",
|
|
"type": "pydantic.fields.FieldInfo",
|
|
"value": "FieldInfo(annotation=NoneType, required=False, default=None, metadata=[Ge(ge=0)])"
|
|
},
|
|
"init": true,
|
|
"name": "multiplier"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "jitter"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"to_json_dict": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "initial_delay"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "max_delay"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "multiplier"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "jitter"
|
|
}
|
|
]
|
|
},
|
|
"ModelRetryNormalizedError": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "status_code"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "error_code"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "request_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "retry_after"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"init": true,
|
|
"name": "is_abort"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"init": true,
|
|
"name": "is_network_error"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"init": true,
|
|
"name": "is_timeout"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"identity": "agents.retry._UNSET",
|
|
"kind": "sentinel"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "status_code"
|
|
},
|
|
{
|
|
"default": {
|
|
"identity": "agents.retry._UNSET",
|
|
"kind": "sentinel"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "error_code"
|
|
},
|
|
{
|
|
"default": {
|
|
"identity": "agents.retry._UNSET",
|
|
"kind": "sentinel"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
},
|
|
{
|
|
"default": {
|
|
"identity": "agents.retry._UNSET",
|
|
"kind": "sentinel"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "request_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"identity": "agents.retry._UNSET",
|
|
"kind": "sentinel"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "retry_after"
|
|
},
|
|
{
|
|
"default": {
|
|
"identity": "agents.retry._UNSET",
|
|
"kind": "sentinel"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "is_abort"
|
|
},
|
|
{
|
|
"default": {
|
|
"identity": "agents.retry._UNSET",
|
|
"kind": "sentinel"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "is_network_error"
|
|
},
|
|
{
|
|
"default": {
|
|
"identity": "agents.retry._UNSET",
|
|
"kind": "sentinel"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "is_timeout"
|
|
}
|
|
]
|
|
},
|
|
"ModelRetrySettings": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "max_retries"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "backoff"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "repr",
|
|
"type": "pydantic.fields.FieldInfo",
|
|
"value": "FieldInfo(annotation=NoneType, required=False, default=None, exclude=True, repr=False)"
|
|
},
|
|
"init": true,
|
|
"name": "policy"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"to_json_dict": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "max_retries"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "backoff"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "policy"
|
|
}
|
|
]
|
|
},
|
|
"ModelSettings": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "temperature"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "top_p"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "frequency_penalty"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "presence_penalty"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "tool_choice"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "parallel_tool_calls"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "truncation"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "max_tokens"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "reasoning"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "verbosity"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "metadata"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "store"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "prompt_cache_retention"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "include_usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "response_include"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "top_logprobs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "extra_query"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "extra_body"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "extra_headers"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "extra_args"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "retry"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "context_management"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "prompt_cache_options"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "preserve_raw_usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "timeout"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"resolve": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "override"
|
|
}
|
|
]
|
|
},
|
|
"to_json_dict": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"to_traceable_dict": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "temperature"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "top_p"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "frequency_penalty"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "presence_penalty"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_choice"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "parallel_tool_calls"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "truncation"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "max_tokens"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "reasoning"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "verbosity"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "metadata"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "store"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "prompt_cache_retention"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "include_usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "response_include"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "top_logprobs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "extra_query"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "extra_body"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "extra_headers"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "extra_args"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "retry"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context_management"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "prompt_cache_options"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "preserve_raw_usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "timeout"
|
|
}
|
|
]
|
|
},
|
|
"ModelTimeoutError": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "timeout_seconds"
|
|
}
|
|
]
|
|
},
|
|
"ModelTracing": {
|
|
"dataclass_fields": [],
|
|
"enum_members": [
|
|
{
|
|
"name": "DISABLED",
|
|
"value": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ENABLED",
|
|
"value": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 1
|
|
}
|
|
},
|
|
{
|
|
"name": "ENABLED_WITHOUT_DATA",
|
|
"value": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 2
|
|
}
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"include_data": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"is_disabled": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "value"
|
|
}
|
|
]
|
|
},
|
|
"MultiProvider": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"aclose": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"get_model": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_name"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "provider_map"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "openai_api_key"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "openai_base_url"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "openai_client"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "openai_organization"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "openai_project"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "openai_use_responses"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "openai_use_responses_websocket"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "openai_strict_feature_validation"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "openai_websocket_base_url"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "alias"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "openai_prefix_mode"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "error"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "unknown_prefix_mode"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "openai_agent_registration"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "openai_responses_websocket_options"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "openai_buffer_streamed_tool_calls"
|
|
}
|
|
]
|
|
},
|
|
"OpenAIAgentRegistrationConfig": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "harness_id"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "harness_id"
|
|
}
|
|
]
|
|
},
|
|
"OpenAIChatCompletionsModel": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"close": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"get_default_model_settings": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"get_response": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "system_instructions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tools"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "handoffs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tracing"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "conversation_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "prompt"
|
|
}
|
|
]
|
|
},
|
|
"get_retry_advice": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "request"
|
|
}
|
|
]
|
|
},
|
|
"stream_response": {
|
|
"binding": "instance",
|
|
"execution_kind": "async_generator",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "system_instructions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tools"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "handoffs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tracing"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "conversation_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "prompt"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "openai_client"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "should_replay_reasoning_content"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "strict_feature_validation"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "buffer_streamed_tool_calls"
|
|
}
|
|
]
|
|
},
|
|
"OpenAIConversationsSession": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"add_items": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "items"
|
|
}
|
|
]
|
|
},
|
|
"clear_session": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"get_items": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "limit"
|
|
}
|
|
]
|
|
},
|
|
"pop_item": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "conversation_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "openai_client"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session_settings"
|
|
}
|
|
]
|
|
},
|
|
"OpenAIProvider": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"aclose": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"get_model": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_name"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "api_key"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "base_url"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "websocket_base_url"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "openai_client"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "organization"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "project"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "use_responses"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "use_responses_websocket"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "strict_feature_validation"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "agent_registration"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "responses_websocket_options"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "buffer_streamed_tool_calls"
|
|
}
|
|
]
|
|
},
|
|
"OpenAIResponsesCompactionAwareSession": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"add_items": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "items"
|
|
}
|
|
]
|
|
},
|
|
"clear_session": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"get_items": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "limit"
|
|
}
|
|
]
|
|
},
|
|
"pop_item": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"run_compaction": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "args"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_POSITIONAL",
|
|
"name": "args"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_KEYWORD",
|
|
"name": "kwargs"
|
|
}
|
|
]
|
|
},
|
|
"OpenAIResponsesCompactionSession": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"add_items": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "items"
|
|
}
|
|
]
|
|
},
|
|
"clear_session": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"get_items": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "limit"
|
|
}
|
|
]
|
|
},
|
|
"pop_item": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"run_compaction": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "args"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "wrapper"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "underlying_session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "client"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "gpt-6-luna"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "model"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "auto"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "compaction_mode"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "should_trigger_compaction"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_rollback_items"
|
|
}
|
|
]
|
|
},
|
|
"OpenAIResponsesModel": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"close": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"get_default_model_settings": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"get_response": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "system_instructions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tools"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "handoffs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tracing"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "conversation_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "prompt"
|
|
}
|
|
]
|
|
},
|
|
"get_retry_advice": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "request"
|
|
}
|
|
]
|
|
},
|
|
"stream_response": {
|
|
"binding": "instance",
|
|
"execution_kind": "async_generator",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "system_instructions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tools"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "handoffs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tracing"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "conversation_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "prompt"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "openai_client"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "model_is_explicit"
|
|
}
|
|
]
|
|
},
|
|
"OpenAIResponsesWSModel": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"close": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"get_default_model_settings": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"get_response": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "system_instructions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tools"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "handoffs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tracing"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "conversation_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "prompt"
|
|
}
|
|
]
|
|
},
|
|
"get_retry_advice": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "request"
|
|
}
|
|
]
|
|
},
|
|
"stream_response": {
|
|
"binding": "instance",
|
|
"execution_kind": "async_generator",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "system_instructions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tools"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "handoffs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tracing"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "conversation_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "prompt"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "openai_client"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "model_is_explicit"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "websocket_options"
|
|
}
|
|
]
|
|
},
|
|
"OutputGuardrail": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "guardrail_function"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "name"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"get_name": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"run": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent_output"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "guardrail_function"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
}
|
|
]
|
|
},
|
|
"OutputGuardrailBlockedMessageArgs": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "default_message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "guardrail_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "run_context"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "default_message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "guardrail_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_context"
|
|
}
|
|
]
|
|
},
|
|
"OutputGuardrailResult": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "guardrail"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "agent_output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "output"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "guardrail"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent_output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
}
|
|
]
|
|
},
|
|
"OutputGuardrailTripwireTriggered": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "guardrail_result"
|
|
}
|
|
]
|
|
},
|
|
"ProgrammaticToolCallingTool": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": []
|
|
},
|
|
"RawResponsesStreamEvent": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "raw_response_event"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "raw_response_event"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"ReasoningItem": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "reasoning_item"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"release_agent": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"to_input_item": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "reasoning_item"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"ResponseSpanData": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"export": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "response"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "usage"
|
|
}
|
|
]
|
|
},
|
|
"ResponsesWebSocketSession": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "provider"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "run_config"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"aclose": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"run": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "starting_agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_KEYWORD",
|
|
"name": "kwargs"
|
|
}
|
|
]
|
|
},
|
|
"run_streamed": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "starting_agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_KEYWORD",
|
|
"name": "kwargs"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "provider"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_config"
|
|
}
|
|
]
|
|
},
|
|
"RetryDecision": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "retry"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "delay"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "reason"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"init": true,
|
|
"name": "approve_unsafe_replay"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "retry"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "delay"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "reason"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "approve_unsafe_replay"
|
|
}
|
|
]
|
|
},
|
|
"RetryPolicyContext": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "error"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "attempt"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "max_retries"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "stream"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "normalized"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "provider_advice"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "conversation_id"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "error"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "attempt"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "max_retries"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "stream"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "normalized"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "provider_advice"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "conversation_id"
|
|
}
|
|
]
|
|
},
|
|
"RunConfig": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "model"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.models.multi_provider.MultiProvider",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "model_provider"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "handoff_input_filter"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"init": true,
|
|
"name": "nest_handoff_history"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "handoff_history_mapper"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "input_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "output_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"init": true,
|
|
"name": "tracing_disabled"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "tracing"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.run_config._default_trace_include_sensitive_data",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "trace_include_sensitive_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "Agent workflow"
|
|
},
|
|
"init": true,
|
|
"name": "workflow_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "trace_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "group_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "trace_metadata"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "session_input_callback"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "call_model_input_filter"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "tool_error_formatter"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "session_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "reasoning_item_id_policy"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "sandbox"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "tool_execution"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "raise_error"
|
|
},
|
|
"init": true,
|
|
"name": "tool_not_found_behavior"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "warn"
|
|
},
|
|
"init": true,
|
|
"name": "tool_name_collision_policy"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "output_guardrail_blocked_message"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_provider"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "handoff_input_filter"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "nest_handoff_history"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "handoff_history_mapper"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tracing_disabled"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tracing"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace_include_sensitive_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "Agent workflow"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "workflow_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "group_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace_metadata"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session_input_callback"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "call_model_input_filter"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_error_formatter"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "reasoning_item_id_policy"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "sandbox"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_execution"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "raise_error"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_not_found_behavior"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "warn"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_name_collision_policy"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_guardrail_blocked_message"
|
|
}
|
|
]
|
|
},
|
|
"RunContextWrapper": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.usage.Usage",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "turn_input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "tool_input"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"approve_tool": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "approval_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "always_approve"
|
|
}
|
|
]
|
|
},
|
|
"get_approval_status": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "call_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_namespace"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "existing_pending"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_lookup_key"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "current_invocation"
|
|
}
|
|
]
|
|
},
|
|
"get_rejection_message": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "call_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_namespace"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "existing_pending"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_lookup_key"
|
|
}
|
|
]
|
|
},
|
|
"is_tool_approved": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "call_id"
|
|
}
|
|
]
|
|
},
|
|
"reject_tool": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "approval_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "always_reject"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "rejection_message"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "turn_input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_approvals"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_input"
|
|
}
|
|
]
|
|
},
|
|
"RunErrorData": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "new_items"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "history"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "raw_responses"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "last_agent"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "new_items"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "history"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raw_responses"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "last_agent"
|
|
}
|
|
]
|
|
},
|
|
"RunErrorDetails": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "new_items"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "raw_responses"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "last_agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "context_wrapper"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "input_guardrail_results"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "output_guardrail_results"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "tool_input_guardrail_results"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "tool_output_guardrail_results"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "new_items"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raw_responses"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "last_agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context_wrapper"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input_guardrail_results"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_guardrail_results"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_input_guardrail_results"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_output_guardrail_results"
|
|
}
|
|
]
|
|
},
|
|
"RunErrorHandlerInput": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "error"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "run_data"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "error"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_data"
|
|
}
|
|
]
|
|
},
|
|
"RunErrorHandlerResult": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "final_output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"init": true,
|
|
"name": "include_in_history"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "final_output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "include_in_history"
|
|
}
|
|
]
|
|
},
|
|
"RunItemStreamEvent": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "run_item_stream_event"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "run_item_stream_event"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"RunResult": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "new_items"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "raw_responses"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "final_output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "input_guardrail_results"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "output_guardrail_results"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tool_input_guardrail_results"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tool_output_guardrail_results"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "context_wrapper"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 10
|
|
},
|
|
"init": true,
|
|
"name": "max_turns"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "interruptions"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"final_output_as": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "cls"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raise_if_incorrect_type"
|
|
}
|
|
]
|
|
},
|
|
"release_agents": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "release_new_items"
|
|
}
|
|
]
|
|
},
|
|
"to_input_list": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "preserve_all"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "mode"
|
|
}
|
|
]
|
|
},
|
|
"to_state": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "new_items"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raw_responses"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "final_output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input_guardrail_results"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_guardrail_results"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_input_guardrail_results"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_output_guardrail_results"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context_wrapper"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_last_agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_last_processed_response"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_tool_use_tracker_snapshot"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 0
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_current_turn_persisted_item_count"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 0
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_current_turn"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_model_input_items"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_original_input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_conversation_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_auto_previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 10
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "max_turns"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "interruptions"
|
|
}
|
|
]
|
|
},
|
|
"RunResultStreaming": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "new_items"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "raw_responses"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "final_output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "input_guardrail_results"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "output_guardrail_results"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tool_input_guardrail_results"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tool_output_guardrail_results"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "context_wrapper"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "current_agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "current_turn"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "max_turns"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "trace"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"init": true,
|
|
"name": "is_complete"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "run_loop_task"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "interruptions"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"cancel": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "immediate"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mode"
|
|
}
|
|
]
|
|
},
|
|
"ensure_sandbox_cleanup_on_completion": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"final_output_as": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "cls"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raise_if_incorrect_type"
|
|
}
|
|
]
|
|
},
|
|
"release_agents": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "release_new_items"
|
|
}
|
|
]
|
|
},
|
|
"stream_events": {
|
|
"binding": "instance",
|
|
"execution_kind": "async_generator",
|
|
"parameters": []
|
|
},
|
|
"to_input_list": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "preserve_all"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "mode"
|
|
}
|
|
]
|
|
},
|
|
"to_state": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "new_items"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raw_responses"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "final_output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input_guardrail_results"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_guardrail_results"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_input_guardrail_results"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_output_guardrail_results"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context_wrapper"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "current_agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "current_turn"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "max_turns"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_current_agent_output_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "is_complete"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_model_input_items"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_event_queue"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_input_guardrail_queue"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_loop_task"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_input_guardrails_task"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_triggered_input_guardrail_result"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_output_guardrails_task"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_stored_exception"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "none"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_cancel_mode"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_last_processed_response"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "interruptions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_waiting_on_event_queue"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 0
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_current_turn_persisted_item_count"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_stream_input_persisted"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_original_input_for_persistence"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_max_turns_handled"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_original_input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_tool_use_tracker_snapshot"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_state"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_conversation_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_auto_previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "_run_impl_task"
|
|
}
|
|
]
|
|
},
|
|
"RunState": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"add_input": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
}
|
|
]
|
|
},
|
|
"approve": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "approval_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "always_approve"
|
|
}
|
|
]
|
|
},
|
|
"clear_pending_input": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"from_json": {
|
|
"binding": "static",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "initial_agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "state_json"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "context_override"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "context_deserializer"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "strict_context"
|
|
}
|
|
]
|
|
},
|
|
"from_string": {
|
|
"binding": "static",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "initial_agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "state_string"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "context_override"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "context_deserializer"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "strict_context"
|
|
}
|
|
]
|
|
},
|
|
"get_interruptions": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"get_tool_use_tracker_snapshot": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"reject": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "approval_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "always_reject"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "rejection_message"
|
|
}
|
|
]
|
|
},
|
|
"set_reasoning_item_id_policy": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "policy"
|
|
}
|
|
]
|
|
},
|
|
"set_tool_use_tracker_snapshot": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "snapshot"
|
|
}
|
|
]
|
|
},
|
|
"set_trace": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace"
|
|
}
|
|
]
|
|
},
|
|
"to_json": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "context_serializer"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "strict_context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "include_tracing_api_key"
|
|
}
|
|
]
|
|
},
|
|
"to_string": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "context_serializer"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "strict_context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "include_tracing_api_key"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "original_input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "starting_agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 10
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "max_turns"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "conversation_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "auto_previous_response_id"
|
|
}
|
|
]
|
|
},
|
|
"Runner": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"run": {
|
|
"binding": "class",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "starting_agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 10
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_turns"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "hooks"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "run_config"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "error_handlers"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "auto_previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "conversation_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session"
|
|
}
|
|
]
|
|
},
|
|
"run_streamed": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "starting_agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 10
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "max_turns"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "hooks"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_config"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "auto_previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "conversation_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "error_handlers"
|
|
}
|
|
]
|
|
},
|
|
"run_sync": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "starting_agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 10
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_turns"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "hooks"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "run_config"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "error_handlers"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "auto_previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "conversation_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"SQLiteSession": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"add_items": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "items"
|
|
}
|
|
]
|
|
},
|
|
"clear_session": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"close": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"get_items": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "limit"
|
|
}
|
|
]
|
|
},
|
|
"pop_item": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": ":memory:"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "db_path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "agent_sessions"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "sessions_table"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "agent_messages"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "messages_table"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session_settings"
|
|
}
|
|
]
|
|
},
|
|
"Session": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"add_items": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "items"
|
|
}
|
|
]
|
|
},
|
|
"clear_session": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"get_items": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "limit"
|
|
}
|
|
]
|
|
},
|
|
"pop_item": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_POSITIONAL",
|
|
"name": "args"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_KEYWORD",
|
|
"name": "kwargs"
|
|
}
|
|
]
|
|
},
|
|
"SessionABC": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"add_items": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "items"
|
|
}
|
|
]
|
|
},
|
|
"clear_session": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"get_items": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "limit"
|
|
}
|
|
]
|
|
},
|
|
"pop_item": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"SessionSettings": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "limit"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"resolve": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "override"
|
|
}
|
|
]
|
|
},
|
|
"to_dict": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "limit"
|
|
}
|
|
]
|
|
},
|
|
"ShellActionRequest": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "commands"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "timeout_ms"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "max_output_length"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "commands"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "timeout_ms"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "max_output_length"
|
|
}
|
|
]
|
|
},
|
|
"ShellCallData": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "call_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "action"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "status"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "raw"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "call_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "action"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "status"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raw"
|
|
}
|
|
]
|
|
},
|
|
"ShellCallOutcome": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "exit_code"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "exit_code"
|
|
}
|
|
]
|
|
},
|
|
"ShellCommandOutput": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": ""
|
|
},
|
|
"init": true,
|
|
"name": "stdout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": ""
|
|
},
|
|
"init": true,
|
|
"name": "stderr"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.tool.ShellCommandOutput.<lambda>",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "outcome"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "command"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "provider_data"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": ""
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "stdout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": ""
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "stderr"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "outcome"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "command"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "provider_data"
|
|
}
|
|
]
|
|
},
|
|
"ShellCommandRequest": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "ctx_wrapper"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "data"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "ctx_wrapper"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
}
|
|
]
|
|
},
|
|
"ShellResult": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "max_output_length"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "provider_data"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "max_output_length"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "provider_data"
|
|
}
|
|
]
|
|
},
|
|
"ShellTool": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "executor"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "shell"
|
|
},
|
|
"init": true,
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"init": true,
|
|
"name": "needs_approval"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "on_approval"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "environment"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "allowed_callers"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "executor"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "shell"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "needs_approval"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "on_approval"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "environment"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "allowed_callers"
|
|
}
|
|
]
|
|
},
|
|
"Span": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"export": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"finish": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "reset_current"
|
|
}
|
|
]
|
|
},
|
|
"set_error": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "error"
|
|
}
|
|
]
|
|
},
|
|
"start": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mark_as_current"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"SpanData": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"export": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"SpeechGroupSpanData": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"export": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
}
|
|
]
|
|
},
|
|
"SpeechSpanData": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"export": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "pcm"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_format"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_config"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "first_content_at"
|
|
}
|
|
]
|
|
},
|
|
"TaskSpanData": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"export": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "metadata"
|
|
}
|
|
]
|
|
},
|
|
"ToolApprovalItem": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "tool_approval_item"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "tool_namespace"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "tool_origin"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "tool_lookup_key"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"release_agent": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"to_input_item": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "tool_approval_item"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_namespace"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_origin"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "_allow_bare_name_alias"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_lookup_key"
|
|
}
|
|
]
|
|
},
|
|
"ToolCallItem": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "tool_call_item"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "title"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "tool_origin"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"release_agent": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"to_input_item": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "tool_call_item"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "title"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_origin"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "_resolved_tool_name"
|
|
}
|
|
]
|
|
},
|
|
"ToolCallOutputItem": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "tool_call_output_item"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "tool_origin"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "custom_data"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"release_agent": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"to_input_item": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "tool_call_output_item"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_origin"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "custom_data"
|
|
}
|
|
]
|
|
},
|
|
"ToolErrorFormatterArgs": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "kind"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tool_type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "call_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "default_message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "run_context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "error"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "kind"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "call_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "default_message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "error"
|
|
}
|
|
]
|
|
},
|
|
"ToolExecutionConfig": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "max_function_tool_concurrency"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"init": true,
|
|
"name": "pre_approval_tool_input_guardrails"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "max_function_tool_concurrency"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "pre_approval_tool_input_guardrails"
|
|
}
|
|
]
|
|
},
|
|
"ToolGuardrailFunctionOutput": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "output_info"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.tool_guardrails.ToolGuardrailFunctionOutput.<lambda>",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "behavior"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"allow": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_info"
|
|
}
|
|
]
|
|
},
|
|
"raise_exception": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_info"
|
|
}
|
|
]
|
|
},
|
|
"reject_content": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_info"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_info"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "behavior"
|
|
}
|
|
]
|
|
},
|
|
"ToolInputGuardrail": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "guardrail_function"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "name"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"get_name": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"run": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "guardrail_function"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
}
|
|
]
|
|
},
|
|
"ToolInputGuardrailData": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "agent"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
}
|
|
]
|
|
},
|
|
"ToolInputGuardrailResult": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "guardrail"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "output"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "guardrail"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
}
|
|
]
|
|
},
|
|
"ToolInputGuardrailTripwireTriggered": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "guardrail"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
}
|
|
]
|
|
},
|
|
"ToolOrigin": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "mcp_server_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "agent_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "agent_tool_name"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"from_json_dict": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
}
|
|
]
|
|
},
|
|
"to_json_dict": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mcp_server_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent_tool_name"
|
|
}
|
|
]
|
|
},
|
|
"ToolOriginType": {
|
|
"dataclass_fields": [],
|
|
"enum_members": [
|
|
{
|
|
"name": "FUNCTION",
|
|
"value": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "function"
|
|
}
|
|
},
|
|
{
|
|
"name": "MCP",
|
|
"value": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "mcp"
|
|
}
|
|
},
|
|
{
|
|
"name": "AGENT_AS_TOOL",
|
|
"value": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "agent_as_tool"
|
|
}
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "value"
|
|
}
|
|
]
|
|
},
|
|
"ToolOutputFileContent": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"check_at_least_one_required_field": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "file"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "file_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "file_url"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "file_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "filename"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "file"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "file_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "file_url"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "file_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "filename"
|
|
}
|
|
]
|
|
},
|
|
"ToolOutputGuardrail": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "guardrail_function"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "name"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"get_name": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"run": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "guardrail_function"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
}
|
|
]
|
|
},
|
|
"ToolOutputGuardrailData": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "output"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
}
|
|
]
|
|
},
|
|
"ToolOutputGuardrailResult": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "guardrail"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "output"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "guardrail"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
}
|
|
]
|
|
},
|
|
"ToolOutputGuardrailTripwireTriggered": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "guardrail"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
}
|
|
]
|
|
},
|
|
"ToolOutputImage": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"check_at_least_one_required_field": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "image"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "image_url"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "file_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "detail"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "image"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "image_url"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "file_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "detail"
|
|
}
|
|
]
|
|
},
|
|
"ToolOutputText": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "text"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "text"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "text"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "text"
|
|
}
|
|
]
|
|
},
|
|
"ToolSearchCallItem": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "tool_search_call_item"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"release_agent": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"to_input_item": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "tool_search_call_item"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"ToolSearchOutputItem": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "tool_search_output_item"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"release_agent": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"to_input_item": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raw_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "tool_search_output_item"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"ToolSearchTool": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "execution"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "parameters"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "execution"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "parameters"
|
|
}
|
|
]
|
|
},
|
|
"ToolTimeoutError": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "timeout_seconds"
|
|
}
|
|
]
|
|
},
|
|
"ToolsToFinalOutputResult": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "is_final_output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "final_output"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "is_final_output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "final_output"
|
|
}
|
|
]
|
|
},
|
|
"Trace": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"export": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"finish": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "reset_current"
|
|
}
|
|
]
|
|
},
|
|
"start": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mark_as_current"
|
|
}
|
|
]
|
|
},
|
|
"to_json": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "include_tracing_api_key"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"TracingProcessor": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"force_flush": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"on_span_end": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "span"
|
|
}
|
|
]
|
|
},
|
|
"on_span_start": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "span"
|
|
}
|
|
]
|
|
},
|
|
"on_trace_end": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace"
|
|
}
|
|
]
|
|
},
|
|
"on_trace_start": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace"
|
|
}
|
|
]
|
|
},
|
|
"shutdown": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"TranscriptionSpanData": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"export": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "pcm"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input_format"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_config"
|
|
}
|
|
]
|
|
},
|
|
"TurnSpanData": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"export": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "turn"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "metadata"
|
|
}
|
|
]
|
|
},
|
|
"Usage": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 0
|
|
},
|
|
"init": true,
|
|
"name": "requests"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 0
|
|
},
|
|
"init": true,
|
|
"name": "input_tokens"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.usage._make_input_tokens_details",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "input_tokens_details"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 0
|
|
},
|
|
"init": true,
|
|
"name": "output_tokens"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.usage.Usage.<lambda>",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "output_tokens_details"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 0
|
|
},
|
|
"init": true,
|
|
"name": "total_tokens"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "request_usage_entries"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"add": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "other"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 0
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "requests"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 0
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input_tokens"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input_tokens_details"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 0
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_tokens"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_tokens_details"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 0
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "total_tokens"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "request_usage_entries"
|
|
}
|
|
]
|
|
},
|
|
"UserError": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
}
|
|
]
|
|
},
|
|
"WebSearchTool": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "user_location"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "filters"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "medium"
|
|
},
|
|
"init": true,
|
|
"name": "search_context_size"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "external_web_access"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "search_content_types"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "image_settings"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "user_location"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "filters"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "medium"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "search_context_size"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "external_web_access"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "search_content_types"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "image_settings"
|
|
}
|
|
]
|
|
},
|
|
"add_trace_processor": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "span_processor"
|
|
}
|
|
]
|
|
},
|
|
"agent_span": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "handoffs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tools"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "span_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "parent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "disabled"
|
|
}
|
|
]
|
|
},
|
|
"agents.extensions.handoff_prompt.prompt_with_handoff_instructions": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "prompt"
|
|
}
|
|
]
|
|
},
|
|
"agents.extensions.memory.AdvancedSQLiteSession": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"add_items": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "items"
|
|
}
|
|
]
|
|
},
|
|
"clear_session": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"close": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"create_branch_from_content": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "search_term"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "branch_name"
|
|
}
|
|
]
|
|
},
|
|
"create_branch_from_turn": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "turn_number"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "branch_name"
|
|
}
|
|
]
|
|
},
|
|
"delete_branch": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "branch_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "force"
|
|
}
|
|
]
|
|
},
|
|
"find_turns_by_content": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "search_term"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "branch_id"
|
|
}
|
|
]
|
|
},
|
|
"get_conversation_by_turns": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "branch_id"
|
|
}
|
|
]
|
|
},
|
|
"get_conversation_turns": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "branch_id"
|
|
}
|
|
]
|
|
},
|
|
"get_items": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "limit"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "branch_id"
|
|
}
|
|
]
|
|
},
|
|
"get_session_usage": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "branch_id"
|
|
}
|
|
]
|
|
},
|
|
"get_tool_usage": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "branch_id"
|
|
}
|
|
]
|
|
},
|
|
"get_turn_usage": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "user_turn_number"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "branch_id"
|
|
}
|
|
]
|
|
},
|
|
"list_branches": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"pop_item": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"store_run_usage": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "result"
|
|
}
|
|
]
|
|
},
|
|
"switch_to_branch": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "branch_id"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": ":memory:"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "db_path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "create_tables"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "logger"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_KEYWORD",
|
|
"name": "kwargs"
|
|
}
|
|
]
|
|
},
|
|
"agents.extensions.memory.EncryptedSession": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"add_items": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "items"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "wrapper"
|
|
}
|
|
]
|
|
},
|
|
"clear_session": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "wrapper"
|
|
}
|
|
]
|
|
},
|
|
"get_items": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "limit"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "wrapper"
|
|
}
|
|
]
|
|
},
|
|
"pop_item": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "wrapper"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "underlying_session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "encryption_key"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 600
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "ttl"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "max_scan_items"
|
|
}
|
|
]
|
|
},
|
|
"agents.extensions.sandbox.BlaxelDriveMountStrategy": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"activate": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
},
|
|
"build_docker_volume_driver_config": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
}
|
|
]
|
|
},
|
|
"deactivate": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
},
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"restore_after_snapshot": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
}
|
|
]
|
|
},
|
|
"supports_native_snapshot_detach": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
}
|
|
]
|
|
},
|
|
"teardown_for_snapshot": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
}
|
|
]
|
|
},
|
|
"validate_mount": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "blaxel_drive"
|
|
},
|
|
"name": "type"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "blaxel_drive"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"agents.extensions.sandbox.BlaxelSandboxClient": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"close": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"create": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "options"
|
|
}
|
|
]
|
|
},
|
|
"delete": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
}
|
|
]
|
|
},
|
|
"deserialize_session_state": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"resume": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "state"
|
|
}
|
|
]
|
|
},
|
|
"serialize_session_state": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "state"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "token"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "instrumentation"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "dependencies"
|
|
}
|
|
]
|
|
},
|
|
"agents.extensions.sandbox.BlaxelSandboxClientOptions": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "image"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "memory"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "region"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "ports"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "env_vars"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "labels"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "ttl"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"init": true,
|
|
"name": "pause_on_exit"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "timeouts"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"init": true,
|
|
"name": "exposed_port_public"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 3600
|
|
},
|
|
"init": true,
|
|
"name": "exposed_port_url_ttl_s"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "image"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "memory"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "region"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "ports"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "env_vars"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "labels"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "ttl"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "pause_on_exit"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "timeouts"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "exposed_port_public"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 3600
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "exposed_port_url_ttl_s"
|
|
}
|
|
]
|
|
},
|
|
"agents.extensions.sandbox.DaytonaCloudBucketMountStrategy": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"activate": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
},
|
|
"build_docker_volume_driver_config": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
}
|
|
]
|
|
},
|
|
"deactivate": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
},
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"restore_after_snapshot": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
}
|
|
]
|
|
},
|
|
"supports_native_snapshot_detach": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
}
|
|
]
|
|
},
|
|
"teardown_for_snapshot": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
}
|
|
]
|
|
},
|
|
"validate_mount": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "daytona_cloud_bucket"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "model",
|
|
"type": "agents.sandbox.entries.mounts.patterns.RcloneMountPattern",
|
|
"value": {
|
|
"items": [
|
|
[
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "type"
|
|
},
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "rclone"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "mode"
|
|
},
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "fuse"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "remote_name"
|
|
},
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "extra_args"
|
|
},
|
|
{
|
|
"items": [],
|
|
"kind": "sequence",
|
|
"type": "builtins.list"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "nfs_addr"
|
|
},
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "nfs_mount_options"
|
|
},
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "config_file_path"
|
|
},
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
}
|
|
]
|
|
],
|
|
"kind": "mapping",
|
|
"type": "builtins.dict"
|
|
}
|
|
},
|
|
"name": "pattern"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "daytona_cloud_bucket"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "model",
|
|
"type": "agents.sandbox.entries.mounts.patterns.RcloneMountPattern",
|
|
"value": {
|
|
"items": [
|
|
[
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "type"
|
|
},
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "rclone"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "mode"
|
|
},
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "fuse"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "remote_name"
|
|
},
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "extra_args"
|
|
},
|
|
{
|
|
"items": [],
|
|
"kind": "sequence",
|
|
"type": "builtins.list"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "nfs_addr"
|
|
},
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "nfs_mount_options"
|
|
},
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "config_file_path"
|
|
},
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
}
|
|
]
|
|
],
|
|
"kind": "mapping",
|
|
"type": "builtins.dict"
|
|
}
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "pattern"
|
|
}
|
|
]
|
|
},
|
|
"agents.extensions.sandbox.DaytonaSandboxClient": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"close": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"create": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "options"
|
|
}
|
|
]
|
|
},
|
|
"delete": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
}
|
|
]
|
|
},
|
|
"deserialize_session_state": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"resume": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "state"
|
|
}
|
|
]
|
|
},
|
|
"serialize_session_state": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "state"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "api_key"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "api_url"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "instrumentation"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "dependencies"
|
|
}
|
|
]
|
|
},
|
|
"agents.extensions.sandbox.DaytonaSandboxClientOptions": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "daytona"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "sandbox_snapshot_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "image"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "resources"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "env_vars"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"name": "pause_on_exit"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 60
|
|
},
|
|
"name": "create_timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 60
|
|
},
|
|
"name": "start_timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 0
|
|
},
|
|
"name": "auto_stop_interval"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "timeouts"
|
|
},
|
|
{
|
|
"default": {
|
|
"items": [],
|
|
"kind": "sequence",
|
|
"type": "builtins.tuple"
|
|
},
|
|
"name": "exposed_ports"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 3600
|
|
},
|
|
"name": "exposed_port_url_ttl_s"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "sandbox_snapshot_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "image"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "resources"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "env_vars"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "pause_on_exit"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 60
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "create_timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 60
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "start_timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 0
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "auto_stop_interval"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "timeouts"
|
|
},
|
|
{
|
|
"default": {
|
|
"items": [],
|
|
"kind": "sequence",
|
|
"type": "builtins.tuple"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "exposed_ports"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 3600
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "exposed_port_url_ttl_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "daytona"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"agents.extensions.sandbox.DaytonaSandboxSessionState": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"assert_path_grants_rebound": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"model_post_init": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_ONLY",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"model_validate_json": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "json_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "strict"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "extra"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "by_alias"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "by_name"
|
|
}
|
|
]
|
|
},
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"rebind_persisted_mount_authority": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trusted_manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "provider_backend_id"
|
|
}
|
|
]
|
|
},
|
|
"rebind_persisted_path_grants": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trusted_manifest"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "daytona"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "uuid.uuid4",
|
|
"kind": "factory"
|
|
},
|
|
"name": "session_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "snapshot"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.tuple",
|
|
"kind": "factory"
|
|
},
|
|
"name": "exposed_ports"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "snapshot_fingerprint"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "snapshot_fingerprint_version"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"name": "workspace_root_ready"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "sandbox_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "sandbox_snapshot_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "image"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.dict",
|
|
"kind": "factory"
|
|
},
|
|
"name": "base_env_vars"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"name": "pause_on_exit"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 60
|
|
},
|
|
"name": "create_timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 60
|
|
},
|
|
"name": "start_timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "resources"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 0
|
|
},
|
|
"name": "auto_stop_interval"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.extensions.sandbox.daytona.sandbox.DaytonaSandboxTimeouts",
|
|
"kind": "factory"
|
|
},
|
|
"name": "timeouts"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 3600
|
|
},
|
|
"name": "exposed_port_url_ttl_s"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "daytona"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "exposed_ports"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot_fingerprint"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot_fingerprint_version"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "workspace_root_ready"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "sandbox_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "sandbox_snapshot_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "image"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "base_env_vars"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "pause_on_exit"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 60
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "create_timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 60
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "start_timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "resources"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 0
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "auto_stop_interval"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "timeouts"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 3600
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "exposed_port_url_ttl_s"
|
|
}
|
|
]
|
|
},
|
|
"agents.extensions.sandbox.E2BSandboxClient": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"create": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "options"
|
|
}
|
|
]
|
|
},
|
|
"delete": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
}
|
|
]
|
|
},
|
|
"deserialize_session_state": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"resume": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "state"
|
|
}
|
|
]
|
|
},
|
|
"serialize_session_state": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "state"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "instrumentation"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "dependencies"
|
|
}
|
|
]
|
|
},
|
|
"agents.extensions.sandbox.E2BSandboxClientOptions": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "e2b"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "sandbox_type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "template"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "metadata"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "envs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "secure"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "allow_internet_access"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "timeouts"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"name": "pause_on_exit"
|
|
},
|
|
{
|
|
"default": {
|
|
"items": [],
|
|
"kind": "sequence",
|
|
"type": "builtins.tuple"
|
|
},
|
|
"name": "exposed_ports"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "tar"
|
|
},
|
|
"name": "workspace_persistence"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "pause"
|
|
},
|
|
"name": "on_timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "auto_resume"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "mcp"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "sandbox_type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "template"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "metadata"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "envs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "secure"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "allow_internet_access"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "timeouts"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "pause_on_exit"
|
|
},
|
|
{
|
|
"default": {
|
|
"items": [],
|
|
"kind": "sequence",
|
|
"type": "builtins.tuple"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "exposed_ports"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "tar"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "workspace_persistence"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "pause"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "on_timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "auto_resume"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mcp"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "e2b"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"agents.extensions.sandbox.E2BSandboxSessionState": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"assert_path_grants_rebound": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"model_post_init": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_ONLY",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"model_validate_json": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "json_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "strict"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "extra"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "by_alias"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "by_name"
|
|
}
|
|
]
|
|
},
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"rebind_persisted_mount_authority": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trusted_manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "provider_backend_id"
|
|
}
|
|
]
|
|
},
|
|
"rebind_persisted_path_grants": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trusted_manifest"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "e2b"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "uuid.uuid4",
|
|
"kind": "factory"
|
|
},
|
|
"name": "session_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "snapshot"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.tuple",
|
|
"kind": "factory"
|
|
},
|
|
"name": "exposed_ports"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "snapshot_fingerprint"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "snapshot_fingerprint_version"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"name": "workspace_root_ready"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "sandbox_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "agents.extensions.sandbox.e2b.sandbox.E2BSandboxType",
|
|
"value": "e2b"
|
|
},
|
|
"name": "sandbox_type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "template"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "sandbox_timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "metadata"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.dict",
|
|
"kind": "factory"
|
|
},
|
|
"name": "base_envs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "secure"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "allow_internet_access"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.extensions.sandbox.e2b.sandbox.E2BSandboxTimeouts",
|
|
"kind": "factory"
|
|
},
|
|
"name": "timeouts"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"name": "pause_on_exit"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "tar"
|
|
},
|
|
"name": "workspace_persistence"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "pause"
|
|
},
|
|
"name": "on_timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "auto_resume"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "mcp"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "e2b"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "exposed_ports"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot_fingerprint"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot_fingerprint_version"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "workspace_root_ready"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "sandbox_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "agents.extensions.sandbox.e2b.sandbox.E2BSandboxType",
|
|
"value": "e2b"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "sandbox_type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "template"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "sandbox_timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "metadata"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "base_envs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "secure"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "allow_internet_access"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "timeouts"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "pause_on_exit"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "tar"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "workspace_persistence"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "pause"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "on_timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "auto_resume"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "mcp"
|
|
}
|
|
]
|
|
},
|
|
"agents.extensions.sandbox.E2BSandboxType": {
|
|
"dataclass_fields": [],
|
|
"enum_members": [
|
|
{
|
|
"name": "CODE_INTERPRETER",
|
|
"value": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "e2b_code_interpreter"
|
|
}
|
|
},
|
|
{
|
|
"name": "E2B",
|
|
"value": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "e2b"
|
|
}
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "value"
|
|
}
|
|
]
|
|
},
|
|
"agents.extensions.sandbox.ModalCloudBucketMountStrategy": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"activate": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
},
|
|
"build_docker_volume_driver_config": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
}
|
|
]
|
|
},
|
|
"deactivate": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
},
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"restore_after_snapshot": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
}
|
|
]
|
|
},
|
|
"supports_native_snapshot_detach": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
}
|
|
]
|
|
},
|
|
"teardown_for_snapshot": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
}
|
|
]
|
|
},
|
|
"validate_mount": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "modal_cloud_bucket"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "secret_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "secret_environment_name"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "modal_cloud_bucket"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "secret_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "secret_environment_name"
|
|
}
|
|
]
|
|
},
|
|
"agents.extensions.sandbox.ModalSandboxClient": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"create": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "options"
|
|
}
|
|
]
|
|
},
|
|
"delete": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
}
|
|
]
|
|
},
|
|
"deserialize_session_state": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"resume": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "state"
|
|
}
|
|
]
|
|
},
|
|
"serialize_session_state": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "state"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "image"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "sandbox"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "instrumentation"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "dependencies"
|
|
}
|
|
]
|
|
},
|
|
"agents.extensions.sandbox.ModalSandboxClientOptions": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "modal"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "app_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "sandbox_create_timeout_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "tar"
|
|
},
|
|
"name": "workspace_persistence"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "snapshot_filesystem_timeout_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "snapshot_filesystem_restore_timeout_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"items": [],
|
|
"kind": "sequence",
|
|
"type": "builtins.tuple"
|
|
},
|
|
"name": "exposed_ports"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "gpu"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 300
|
|
},
|
|
"name": "timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "use_sleep_cmd"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "2025.06"
|
|
},
|
|
"name": "image_builder_version"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "idle_timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "cpu"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "memory"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "app_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "sandbox_create_timeout_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "tar"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "workspace_persistence"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "snapshot_filesystem_timeout_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "snapshot_filesystem_restore_timeout_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"items": [],
|
|
"kind": "sequence",
|
|
"type": "builtins.tuple"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "exposed_ports"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "gpu"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 300
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "use_sleep_cmd"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "2025.06"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "image_builder_version"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "idle_timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "cpu"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "memory"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "modal"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"agents.extensions.sandbox.ModalSandboxSession": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"aclose": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"apply_manifest": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "only_ephemeral"
|
|
}
|
|
]
|
|
},
|
|
"apply_patch": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "operations"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "v4a"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "patch_format"
|
|
}
|
|
]
|
|
},
|
|
"describe": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"exec": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_POSITIONAL",
|
|
"name": "command"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "shell"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"extract": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "compression_scheme"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "archive_limits"
|
|
}
|
|
]
|
|
},
|
|
"from_state": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "state"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "image"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "sandbox"
|
|
}
|
|
]
|
|
},
|
|
"hydrate_workspace": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
}
|
|
]
|
|
},
|
|
"ls": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"mkdir": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "parents"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"mv": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "source"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "destination"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"normalize_path": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "for_write"
|
|
}
|
|
]
|
|
},
|
|
"persist_workspace": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"provision_manifest_accounts": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"pty_exec_start": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_POSITIONAL",
|
|
"name": "command"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "shell"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tty"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "yield_time_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_output_tokens"
|
|
}
|
|
]
|
|
},
|
|
"pty_terminate_all": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"pty_write_stdin": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "chars"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "yield_time_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_output_tokens"
|
|
}
|
|
]
|
|
},
|
|
"read": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"read_bounded": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_bytes"
|
|
}
|
|
]
|
|
},
|
|
"register_persist_workspace_skip_path": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
}
|
|
]
|
|
},
|
|
"register_pre_stop_hook": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "hook"
|
|
}
|
|
]
|
|
},
|
|
"resolve_exposed_port": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "port"
|
|
}
|
|
]
|
|
},
|
|
"rm": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "recursive"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"run_pre_stop_hooks": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"running": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"same_file": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "left"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "right"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "follow_symlinks"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"set_dependencies": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dependencies"
|
|
}
|
|
]
|
|
},
|
|
"should_provision_manifest_accounts_on_resume": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"shutdown": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"snapshot_filesystem": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"start": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"stop": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"supports_docker_volume_mounts": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"supports_pty": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"write": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "state"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "image"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "sandbox"
|
|
}
|
|
]
|
|
},
|
|
"agents.extensions.sandbox.ModalSandboxSessionState": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"assert_path_grants_rebound": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"model_post_init": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_ONLY",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"model_validate_json": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "json_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "strict"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "extra"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "by_alias"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "by_name"
|
|
}
|
|
]
|
|
},
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"rebind_persisted_mount_authority": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trusted_manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "provider_backend_id"
|
|
}
|
|
]
|
|
},
|
|
"rebind_persisted_path_grants": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trusted_manifest"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "modal"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "uuid.uuid4",
|
|
"kind": "factory"
|
|
},
|
|
"name": "session_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "snapshot"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.tuple",
|
|
"kind": "factory"
|
|
},
|
|
"name": "exposed_ports"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "snapshot_fingerprint"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "snapshot_fingerprint_version"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"name": "workspace_root_ready"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "app_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "image_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "image_tag"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.float",
|
|
"value": 30.0
|
|
},
|
|
"name": "sandbox_create_timeout_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "sandbox_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "tar"
|
|
},
|
|
"name": "workspace_persistence"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.float",
|
|
"value": 60.0
|
|
},
|
|
"name": "snapshot_filesystem_timeout_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.float",
|
|
"value": 60.0
|
|
},
|
|
"name": "snapshot_filesystem_restore_timeout_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "gpu"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 300
|
|
},
|
|
"name": "timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "use_sleep_cmd"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "2025.06"
|
|
},
|
|
"name": "image_builder_version"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "idle_timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "cpu"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "memory"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "modal"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "exposed_ports"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot_fingerprint"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot_fingerprint_version"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "workspace_root_ready"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "app_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "image_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "image_tag"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.float",
|
|
"value": 30.0
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "sandbox_create_timeout_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "sandbox_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "tar"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "workspace_persistence"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.float",
|
|
"value": 60.0
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot_filesystem_timeout_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.float",
|
|
"value": 60.0
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot_filesystem_restore_timeout_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "gpu"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 300
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "use_sleep_cmd"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "2025.06"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "image_builder_version"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "idle_timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "cpu"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "memory"
|
|
}
|
|
]
|
|
},
|
|
"agents.extensions.sandbox.VercelCloudBucketMountStrategy": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"activate": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
},
|
|
"build_docker_volume_driver_config": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
}
|
|
]
|
|
},
|
|
"deactivate": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
},
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"restore_after_snapshot": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
}
|
|
]
|
|
},
|
|
"supports_native_snapshot_detach": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
}
|
|
]
|
|
},
|
|
"teardown_for_snapshot": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
}
|
|
]
|
|
},
|
|
"validate_mount": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "vercel_cloud_bucket"
|
|
},
|
|
"name": "type"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "vercel_cloud_bucket"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"agents.extensions.sandbox.VercelSandboxClient": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"create": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "options"
|
|
}
|
|
]
|
|
},
|
|
"delete": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
}
|
|
]
|
|
},
|
|
"deserialize_session_state": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"resume": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "state"
|
|
}
|
|
]
|
|
},
|
|
"serialize_session_state": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "state"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "token"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "project_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "team_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "instrumentation"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "dependencies"
|
|
}
|
|
]
|
|
},
|
|
"agents.extensions.sandbox.VercelSandboxClientOptions": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "vercel"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "project_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "team_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 270000
|
|
},
|
|
"name": "timeout_ms"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "runtime"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "resources"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "env"
|
|
},
|
|
{
|
|
"default": {
|
|
"items": [],
|
|
"kind": "sequence",
|
|
"type": "builtins.tuple"
|
|
},
|
|
"name": "exposed_ports"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"name": "interactive"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "tar"
|
|
},
|
|
"name": "workspace_persistence"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "snapshot_expiration_ms"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "network_policy"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"name": "allow_s3_credential_exposure"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "project_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "team_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 270000
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "timeout_ms"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "runtime"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "resources"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "env"
|
|
},
|
|
{
|
|
"default": {
|
|
"items": [],
|
|
"kind": "sequence",
|
|
"type": "builtins.tuple"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "exposed_ports"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "interactive"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "tar"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "workspace_persistence"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "snapshot_expiration_ms"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "network_policy"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "allow_s3_credential_exposure"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "vercel"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"agents.extensions.sandbox.VercelSandboxSession": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"aclose": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"apply_manifest": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "only_ephemeral"
|
|
}
|
|
]
|
|
},
|
|
"apply_patch": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "operations"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "v4a"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "patch_format"
|
|
}
|
|
]
|
|
},
|
|
"describe": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"exec": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_POSITIONAL",
|
|
"name": "command"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "shell"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"extract": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "compression_scheme"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "archive_limits"
|
|
}
|
|
]
|
|
},
|
|
"from_state": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "state"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "sandbox"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "token"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "allow_s3_credential_exposure"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "trusted_s3_mounts"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "trusted_manifest"
|
|
}
|
|
]
|
|
},
|
|
"hydrate_workspace": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
}
|
|
]
|
|
},
|
|
"ls": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"mkdir": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "parents"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"mv": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "source"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "destination"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"normalize_path": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "for_write"
|
|
}
|
|
]
|
|
},
|
|
"persist_workspace": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"provision_manifest_accounts": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"pty_exec_start": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_POSITIONAL",
|
|
"name": "command"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "shell"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tty"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "yield_time_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_output_tokens"
|
|
}
|
|
]
|
|
},
|
|
"pty_terminate_all": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"pty_write_stdin": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "chars"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "yield_time_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_output_tokens"
|
|
}
|
|
]
|
|
},
|
|
"read": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"read_bounded": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_bytes"
|
|
}
|
|
]
|
|
},
|
|
"register_persist_workspace_skip_path": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
}
|
|
]
|
|
},
|
|
"register_pre_stop_hook": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "hook"
|
|
}
|
|
]
|
|
},
|
|
"resolve_exposed_port": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "port"
|
|
}
|
|
]
|
|
},
|
|
"rm": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "recursive"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"run_pre_stop_hooks": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"running": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"same_file": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "left"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "right"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "follow_symlinks"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"set_dependencies": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dependencies"
|
|
}
|
|
]
|
|
},
|
|
"should_provision_manifest_accounts_on_resume": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"shutdown": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"start": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"stop": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"supports_docker_volume_mounts": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"supports_pty": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"write": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "state"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "sandbox"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "token"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "allow_s3_credential_exposure"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "trusted_s3_mounts"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "trusted_manifest"
|
|
}
|
|
]
|
|
},
|
|
"agents.extensions.sandbox.VercelSandboxSessionState": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"assert_path_grants_rebound": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"model_post_init": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_ONLY",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"model_validate_json": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "json_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "strict"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "extra"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "by_alias"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "by_name"
|
|
}
|
|
]
|
|
},
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"rebind_persisted_mount_authority": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trusted_manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "provider_backend_id"
|
|
}
|
|
]
|
|
},
|
|
"rebind_persisted_path_grants": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trusted_manifest"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "vercel"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "uuid.uuid4",
|
|
"kind": "factory"
|
|
},
|
|
"name": "session_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "snapshot"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.tuple",
|
|
"kind": "factory"
|
|
},
|
|
"name": "exposed_ports"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "snapshot_fingerprint"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "snapshot_fingerprint_version"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"name": "workspace_root_ready"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "sandbox_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "project_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "team_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "timeout_ms"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "runtime"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "resources"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "env"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"name": "interactive"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "tar"
|
|
},
|
|
"name": "workspace_persistence"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "snapshot_expiration_ms"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "network_policy"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"name": "s3_mounts_non_resumable"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "sandbox_name"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "vercel"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "exposed_ports"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot_fingerprint"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot_fingerprint_version"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "workspace_root_ready"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "sandbox_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "project_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "team_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "timeout_ms"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "runtime"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "resources"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "env"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "interactive"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "tar"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "workspace_persistence"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot_expiration_ms"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "network_policy"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "s3_mounts_non_resumable"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "sandbox_name"
|
|
}
|
|
]
|
|
},
|
|
"agents.lifecycle.RunHooksBase": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"on_agent_end": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
}
|
|
]
|
|
},
|
|
"on_agent_start": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
}
|
|
]
|
|
},
|
|
"on_handoff": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "from_agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "to_agent"
|
|
}
|
|
]
|
|
},
|
|
"on_llm_end": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "response"
|
|
}
|
|
]
|
|
},
|
|
"on_llm_start": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "system_prompt"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input_items"
|
|
}
|
|
]
|
|
},
|
|
"on_tool_end": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "result"
|
|
}
|
|
]
|
|
},
|
|
"on_tool_start": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"agents.mcp.MCPServer": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"call_tool": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "arguments"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "meta"
|
|
}
|
|
]
|
|
},
|
|
"cleanup": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"connect": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"get_prompt": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "arguments"
|
|
}
|
|
]
|
|
},
|
|
"list_prompts": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"list_resource_templates": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "cursor"
|
|
}
|
|
]
|
|
},
|
|
"list_resources": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "cursor"
|
|
}
|
|
]
|
|
},
|
|
"list_tools": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
}
|
|
]
|
|
},
|
|
"read_resource": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "uri"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "use_structured_content"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "require_approval"
|
|
},
|
|
{
|
|
"default": {
|
|
"identity": "agents.mcp.server._UNSET",
|
|
"kind": "sentinel"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "failure_error_function"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_meta_resolver"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "custom_data_extractor"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_input_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_output_guardrails"
|
|
}
|
|
]
|
|
},
|
|
"agents.mcp.MCPServerManager": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"cleanup_all": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"connect_all": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"reconnect": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "failed_only"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "servers"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.float",
|
|
"value": 10.0
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "connect_timeout_seconds"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.float",
|
|
"value": 10.0
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "cleanup_timeout_seconds"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "drop_failed_servers"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "strict"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "suppress_cancelled_error"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "connect_in_parallel"
|
|
}
|
|
]
|
|
},
|
|
"agents.mcp.MCPServerSse": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"call_tool": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "arguments"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "meta"
|
|
}
|
|
]
|
|
},
|
|
"cleanup": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"connect": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"create_streams": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"get_prompt": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "arguments"
|
|
}
|
|
]
|
|
},
|
|
"invalidate_tools_cache": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"list_prompts": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"list_resource_templates": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "cursor"
|
|
}
|
|
]
|
|
},
|
|
"list_resources": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "cursor"
|
|
}
|
|
]
|
|
},
|
|
"list_tools": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
}
|
|
]
|
|
},
|
|
"read_resource": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "uri"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "params"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "cache_tools_list"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 5
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "client_session_timeout_seconds"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_filter"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "use_structured_content"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 0
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "max_retry_attempts"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.float",
|
|
"value": 1.0
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "retry_backoff_seconds_base"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message_handler"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "require_approval"
|
|
},
|
|
{
|
|
"default": {
|
|
"identity": "agents.mcp.server._UNSET",
|
|
"kind": "sentinel"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "failure_error_function"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_meta_resolver"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "custom_data_extractor"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "retry_backoff_seconds_max"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_input_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_output_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_list_pages"
|
|
}
|
|
]
|
|
},
|
|
"agents.mcp.MCPServerStdio": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"call_tool": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "arguments"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "meta"
|
|
}
|
|
]
|
|
},
|
|
"cleanup": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"connect": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"create_streams": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"get_prompt": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "arguments"
|
|
}
|
|
]
|
|
},
|
|
"invalidate_tools_cache": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"list_prompts": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"list_resource_templates": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "cursor"
|
|
}
|
|
]
|
|
},
|
|
"list_resources": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "cursor"
|
|
}
|
|
]
|
|
},
|
|
"list_tools": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
}
|
|
]
|
|
},
|
|
"read_resource": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "uri"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "params"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "cache_tools_list"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 5
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "client_session_timeout_seconds"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_filter"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "use_structured_content"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 0
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "max_retry_attempts"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.float",
|
|
"value": 1.0
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "retry_backoff_seconds_base"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message_handler"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "require_approval"
|
|
},
|
|
{
|
|
"default": {
|
|
"identity": "agents.mcp.server._UNSET",
|
|
"kind": "sentinel"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "failure_error_function"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_meta_resolver"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "custom_data_extractor"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "retry_backoff_seconds_max"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_input_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_output_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_list_pages"
|
|
}
|
|
]
|
|
},
|
|
"agents.mcp.MCPServerStreamableHttp": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"call_tool": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "arguments"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "meta"
|
|
}
|
|
]
|
|
},
|
|
"cleanup": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"connect": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"create_streams": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"get_prompt": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "arguments"
|
|
}
|
|
]
|
|
},
|
|
"invalidate_tools_cache": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"list_prompts": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"list_resource_templates": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "cursor"
|
|
}
|
|
]
|
|
},
|
|
"list_resources": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "cursor"
|
|
}
|
|
]
|
|
},
|
|
"list_tools": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
}
|
|
]
|
|
},
|
|
"read_resource": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "uri"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "params"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "cache_tools_list"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 5
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "client_session_timeout_seconds"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_filter"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "use_structured_content"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 0
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "max_retry_attempts"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.float",
|
|
"value": 1.0
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "retry_backoff_seconds_base"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message_handler"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "require_approval"
|
|
},
|
|
{
|
|
"default": {
|
|
"identity": "agents.mcp.server._UNSET",
|
|
"kind": "sentinel"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "failure_error_function"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_meta_resolver"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "custom_data_extractor"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "retry_backoff_seconds_max"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_input_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_output_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_list_pages"
|
|
}
|
|
]
|
|
},
|
|
"agents.mcp.util.MCPUtil": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"get_all_function_tools": {
|
|
"binding": "class",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "servers"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "convert_schemas_to_strict"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"identity": "agents.tool.default_tool_error_function",
|
|
"kind": "callable"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "failure_error_function"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "include_server_in_tool_names"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "reserved_tool_names"
|
|
}
|
|
]
|
|
},
|
|
"get_function_tools": {
|
|
"binding": "class",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "server"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "convert_schemas_to_strict"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"identity": "agents.tool.default_tool_error_function",
|
|
"kind": "callable"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "failure_error_function"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "include_server_in_tool_names"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_name_override"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "reserved_tool_names"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 0
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "server_index"
|
|
}
|
|
]
|
|
},
|
|
"invoke_mcp_tool": {
|
|
"binding": "class",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "server"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input_json"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "meta"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_display_name"
|
|
}
|
|
]
|
|
},
|
|
"to_function_tool": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "server"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "convert_schemas_to_strict"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"identity": "agents.tool.default_tool_error_function",
|
|
"kind": "callable"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "failure_error_function"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_name_override"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"agents.mcp.util.create_static_tool_filter": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "allowed_tool_names"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "blocked_tool_names"
|
|
}
|
|
]
|
|
},
|
|
"agents.memory.await_session_mutation": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "coroutine",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "awaitable"
|
|
}
|
|
]
|
|
},
|
|
"agents.memory.coerce_session_settings": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "value"
|
|
}
|
|
]
|
|
},
|
|
"agents.memory.resolve_session_limit": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "explicit_limit"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "settings"
|
|
}
|
|
]
|
|
},
|
|
"agents.model_settings.MCPToolChoice": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "server_label"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "name"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "server_label"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
}
|
|
]
|
|
},
|
|
"agents.models.is_gpt_5_default": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": []
|
|
},
|
|
"agents.realtime.RealtimeAgent": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "handoff_description"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "tools"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "mcp_servers"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.agent.AgentBase.<lambda>",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "mcp_config"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "instructions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "prompt"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "handoffs"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "output_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "hooks"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"clone": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_KEYWORD",
|
|
"name": "kwargs"
|
|
}
|
|
]
|
|
},
|
|
"get_all_tools": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_context"
|
|
}
|
|
]
|
|
},
|
|
"get_mcp_tools": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_context"
|
|
}
|
|
]
|
|
},
|
|
"get_system_prompt": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_context"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "handoff_description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tools"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mcp_servers"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mcp_config"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "instructions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "prompt"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "handoffs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "hooks"
|
|
}
|
|
]
|
|
},
|
|
"agents.realtime.RealtimeModelEndOfStreamEvent": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "end_of_stream"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "end_of_stream"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"agents.realtime.RealtimePlaybackTracker": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"get_state": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"on_interrupted": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"on_play_bytes": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "item_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "item_content_index"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "bytes"
|
|
}
|
|
]
|
|
},
|
|
"on_play_ms": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "item_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "item_content_index"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "ms"
|
|
}
|
|
]
|
|
},
|
|
"set_audio_format": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "format"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"agents.realtime.RealtimeRunner": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"run": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "model_config"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "starting_agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "model"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "config"
|
|
}
|
|
]
|
|
},
|
|
"agents.realtime.RealtimeSession": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"approve_tool_call": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "call_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "always"
|
|
}
|
|
]
|
|
},
|
|
"close": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"enter": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"interrupt": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"on_event": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "event"
|
|
}
|
|
]
|
|
},
|
|
"reject_tool_call": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "call_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "always"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "rejection_message"
|
|
}
|
|
]
|
|
},
|
|
"send_audio": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "audio"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "commit"
|
|
}
|
|
]
|
|
},
|
|
"send_message": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
}
|
|
]
|
|
},
|
|
"update_agent": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_config"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_config"
|
|
}
|
|
]
|
|
},
|
|
"agents.realtime.items.AssistantAudio": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "audio"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "audio"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "transcript"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "audio"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "audio"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "transcript"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_KEYWORD",
|
|
"name": "extra_data"
|
|
}
|
|
]
|
|
},
|
|
"agents.realtime.items.AssistantMessageItem": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "item_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "previous_item_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "message"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "assistant"
|
|
},
|
|
"name": "role"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "status"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "content"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "item_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "previous_item_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "message"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "assistant"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "role"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "status"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "content"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_KEYWORD",
|
|
"name": "extra_data"
|
|
}
|
|
]
|
|
},
|
|
"agents.realtime.items.AssistantText": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "text"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "text"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "text"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "text"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_KEYWORD",
|
|
"name": "extra_data"
|
|
}
|
|
]
|
|
},
|
|
"agents.realtime.items.InputText": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "input_text"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "text"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "input_text"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "text"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_KEYWORD",
|
|
"name": "extra_data"
|
|
}
|
|
]
|
|
},
|
|
"agents.realtime.items.UserMessageItem": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "item_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "previous_item_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "message"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "user"
|
|
},
|
|
"name": "role"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "content"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "item_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "previous_item_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "message"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "user"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "role"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "content"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_KEYWORD",
|
|
"name": "extra_data"
|
|
}
|
|
]
|
|
},
|
|
"agents.realtime.model_events.RealtimeModelItemUpdatedEvent": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "item_updated"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "item_updated"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"agents.realtime.model_events.RealtimeModelRawServerEvent": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "raw_server_event"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "raw_server_event"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"agents.realtime.model_events.RealtimeModelUsageEvent": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "input_tokens_details"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "output_tokens_details"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "usage"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input_tokens_details"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_tokens_details"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "usage"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"agents.realtime.model_inputs.RealtimeModelSendRawMessage": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "message"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
}
|
|
]
|
|
},
|
|
"agents.realtime.openai_realtime.OpenAIRealtimeSIPModel": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"add_listener": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "listener"
|
|
}
|
|
]
|
|
},
|
|
"build_initial_session_payload": {
|
|
"binding": "static",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "model_config"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "run_config"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "overrides"
|
|
}
|
|
]
|
|
},
|
|
"close": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"connect": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "options"
|
|
}
|
|
]
|
|
},
|
|
"remove_listener": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "listener"
|
|
}
|
|
]
|
|
},
|
|
"send_event": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "event"
|
|
}
|
|
]
|
|
},
|
|
"send_event_if": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "event"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "send_if"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "transport_config"
|
|
}
|
|
]
|
|
},
|
|
"agents.realtime.realtime_handoff": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_name_override"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_description_override"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "on_handoff"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input_type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "is_enabled"
|
|
}
|
|
]
|
|
},
|
|
"agents.realtime.runner.RealtimeRunner": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"run": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "model_config"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "starting_agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "model"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "config"
|
|
}
|
|
]
|
|
},
|
|
"agents.realtime.testing.RealtimeStep": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "expect"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.tuple",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "emit"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "error"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "expect"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "emit"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "error"
|
|
}
|
|
]
|
|
},
|
|
"agents.realtime.testing.ScriptedRealtimeModel": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"add_listener": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "listener"
|
|
}
|
|
]
|
|
},
|
|
"assert_complete": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"close": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"connect": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "options"
|
|
}
|
|
]
|
|
},
|
|
"emit": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_POSITIONAL",
|
|
"name": "events"
|
|
}
|
|
]
|
|
},
|
|
"remove_listener": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "listener"
|
|
}
|
|
]
|
|
},
|
|
"send_event": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "event"
|
|
}
|
|
]
|
|
},
|
|
"send_event_if": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "event"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "send_if"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"items": [],
|
|
"kind": "sequence",
|
|
"type": "builtins.tuple"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "steps"
|
|
},
|
|
{
|
|
"default": {
|
|
"items": [],
|
|
"kind": "sequence",
|
|
"type": "builtins.tuple"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "connect_events"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "connect_error"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "close_error"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "strict"
|
|
}
|
|
]
|
|
},
|
|
"agents.realtime.testing.UnconsumedRealtimeSteps": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "remaining_steps"
|
|
}
|
|
]
|
|
},
|
|
"agents.realtime.testing.UnexpectedRealtimeSend": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "actual"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "expected"
|
|
}
|
|
]
|
|
},
|
|
"agents.run.OutputGuardrailBlockedMessageArgs": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "default_message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "guardrail_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "run_context"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "default_message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "guardrail_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_context"
|
|
}
|
|
]
|
|
},
|
|
"agents.run_config.OutputGuardrailBlockedMessageArgs": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "default_message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "guardrail_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "run_context"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "default_message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "guardrail_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_context"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.Capability": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"bind": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
}
|
|
]
|
|
},
|
|
"bind_run_as": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"bind_workspace_scope": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "scope"
|
|
}
|
|
]
|
|
},
|
|
"clone": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"instructions": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "manifest"
|
|
}
|
|
]
|
|
},
|
|
"process_context": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"process_manifest": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "manifest"
|
|
}
|
|
]
|
|
},
|
|
"required_capability_types": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"sampling_params": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "sampling_params"
|
|
}
|
|
]
|
|
},
|
|
"tools": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "run_as"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.workspace_paths.SandboxWorkspaceScope",
|
|
"kind": "factory"
|
|
},
|
|
"name": "workspace_scope"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "run_as"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "workspace_scope"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.ExecTimeoutError": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "error_code"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "op"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "cause"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "retryable"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "command"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "timeout_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "cause"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.LocalFile": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"apply": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
},
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"registered_types": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "local_file"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"name": "ephemeral"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "group"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"name": "is_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.entries.base.BaseEntry.<lambda>",
|
|
"kind": "factory"
|
|
},
|
|
"name": "permissions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "src"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "local_file"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "ephemeral"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "group"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "is_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "permissions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "src"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.LocalSnapshotSpec": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"build": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "snapshot_id"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "local"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "base_path"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "local"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "base_path"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.Manifest": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"describe": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 1
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "depth"
|
|
}
|
|
]
|
|
},
|
|
"ephemeral_entry_paths": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 1
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "depth"
|
|
}
|
|
]
|
|
},
|
|
"ephemeral_mount_targets": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"ephemeral_persistence_paths": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 1
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "depth"
|
|
}
|
|
]
|
|
},
|
|
"iter_entries": {
|
|
"binding": "instance",
|
|
"execution_kind": "generator",
|
|
"parameters": []
|
|
},
|
|
"model_post_init": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_ONLY",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"mount_targets": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"validated_entries": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"with_in_container_mount_broad_credential_exposure_acknowledged": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_POSITIONAL",
|
|
"name": "mount_paths"
|
|
}
|
|
]
|
|
},
|
|
"with_in_container_mount_credential_exposure_acknowledged": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_POSITIONAL",
|
|
"name": "mount_paths"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 1
|
|
},
|
|
"name": "version"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "/workspace"
|
|
},
|
|
"name": "root"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.dict",
|
|
"kind": "factory"
|
|
},
|
|
"name": "entries"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.manifest.Environment",
|
|
"kind": "factory"
|
|
},
|
|
"name": "environment"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"name": "users"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"name": "groups"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.tuple",
|
|
"kind": "factory"
|
|
},
|
|
"name": "extra_path_grants"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.manifest.Manifest.<lambda>",
|
|
"kind": "factory"
|
|
},
|
|
"name": "remote_mount_command_allowlist"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 1
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "version"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "/workspace"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "root"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "entries"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "environment"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "users"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "groups"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "extra_path_grants"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "remote_mount_command_allowlist"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.MemoryGenerateConfig": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 256
|
|
},
|
|
"init": true,
|
|
"name": "max_raw_memories_for_consolidation"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "gpt-5.4-mini"
|
|
},
|
|
"init": true,
|
|
"name": "phase_one_model"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.config._default_memory_phase_one_model_settings",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "phase_one_model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "gpt-5.5"
|
|
},
|
|
"init": true,
|
|
"name": "phase_two_model"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.config._default_memory_phase_two_model_settings",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "phase_two_model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "extra_prompt"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 500
|
|
},
|
|
"init": true,
|
|
"name": "phase_two_max_turns"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 256
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "max_raw_memories_for_consolidation"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "gpt-5.4-mini"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "phase_one_model"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "phase_one_model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "gpt-5.5"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "phase_two_model"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "phase_two_model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "extra_prompt"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 500
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "phase_two_max_turns"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.MemoryLayoutConfig": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "memories"
|
|
},
|
|
"init": true,
|
|
"name": "memories_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "sessions"
|
|
},
|
|
"init": true,
|
|
"name": "sessions_dir"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "memories"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "memories_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "sessions"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "sessions_dir"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.RemoteSnapshotSpec": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"build": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "snapshot_id"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "remote"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "client_dependency_key"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "remote"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "client_dependency_key"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.SandboxAgent": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "handoff_description"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "tools"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "mcp_servers"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.agent.AgentBase.<lambda>",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "mcp_config"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "instructions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "prompt"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "handoffs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "model"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.models.default_models.get_default_model_settings",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "input_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "output_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "output_type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "hooks"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "run_llm_again"
|
|
},
|
|
"init": true,
|
|
"name": "tool_use_behavior"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"init": true,
|
|
"name": "reset_tool_choice"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "default_manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "base_instructions"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.capabilities.capabilities.Capabilities.default",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "capabilities"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "run_as"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"as_tool": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "custom_output_extractor"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "is_enabled"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "on_stream"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_config"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "max_turns"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "hooks"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "conversation_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"identity": "agents.tool.default_tool_error_function",
|
|
"kind": "callable"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "failure_error_function"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "needs_approval"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "parameters"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input_builder"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "include_input_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 1024
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "on_stream_max_pending_events"
|
|
}
|
|
]
|
|
},
|
|
"clone": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_KEYWORD",
|
|
"name": "kwargs"
|
|
}
|
|
]
|
|
},
|
|
"get_all_tools": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_context"
|
|
}
|
|
]
|
|
},
|
|
"get_mcp_tools": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_context"
|
|
}
|
|
]
|
|
},
|
|
"get_prompt": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_context"
|
|
}
|
|
]
|
|
},
|
|
"get_system_prompt": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_context"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "handoff_description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tools"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mcp_servers"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mcp_config"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "instructions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "prompt"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "handoffs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "hooks"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "run_llm_again"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_use_behavior"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "reset_tool_choice"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "default_manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_instructions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "capabilities"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "run_as"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.SandboxPathGrant": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"name": "read_only"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "host_path"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "read_only"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "host_path"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.SandboxRunConfig": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "client"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "options"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "session_state"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "snapshot"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.run_config.SandboxConcurrencyLimits",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "concurrency_limits"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "archive_limits"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "cwd"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "client"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "options"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session_state"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "snapshot"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "concurrency_limits"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "archive_limits"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "cwd"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.SandboxWorkspaceScope": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "cwd"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"anchor": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
}
|
|
]
|
|
},
|
|
"display_path": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "original_path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "workspace_relative_path"
|
|
}
|
|
]
|
|
},
|
|
"from_cwd": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "cwd"
|
|
}
|
|
]
|
|
},
|
|
"model_path": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "workspace_relative_path"
|
|
}
|
|
]
|
|
},
|
|
"model_resource_path": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "workspace_root"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "workspace_relative_path"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "cwd"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.WorkspaceReadNotFoundError": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "error_code"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "op"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "cause"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "retryable"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "cause"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.capabilities.Capabilities": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"default": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"agents.sandbox.capabilities.Filesystem": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"bind": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
}
|
|
]
|
|
},
|
|
"bind_run_as": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"bind_workspace_scope": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "scope"
|
|
}
|
|
]
|
|
},
|
|
"clone": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"instructions": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "manifest"
|
|
}
|
|
]
|
|
},
|
|
"process_context": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"process_manifest": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "manifest"
|
|
}
|
|
]
|
|
},
|
|
"required_capability_types": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"sampling_params": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "sampling_params"
|
|
}
|
|
]
|
|
},
|
|
"tools": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "filesystem"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "run_as"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.workspace_paths.SandboxWorkspaceScope",
|
|
"kind": "factory"
|
|
},
|
|
"name": "workspace_scope"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "configure_tools"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "filesystem"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "run_as"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "workspace_scope"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "configure_tools"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.capabilities.FilesystemToolSet": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "view_image"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "apply_patch"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.workspace_paths.SandboxWorkspaceScope",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "workspace_scope"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "view_image"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "apply_patch"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "workspace_scope"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.capabilities.LocalDirLazySkillSource": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"list_skill_metadata": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "skills_path"
|
|
},
|
|
{
|
|
"default": {
|
|
"items": [],
|
|
"kind": "sequence",
|
|
"type": "builtins.tuple"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "source_grants"
|
|
}
|
|
]
|
|
},
|
|
"load_skill": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "skill_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "skills_path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "source"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "source"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.capabilities.Memory": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"bind": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
}
|
|
]
|
|
},
|
|
"bind_run_as": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"bind_workspace_scope": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "scope"
|
|
}
|
|
]
|
|
},
|
|
"clone": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"instructions": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "manifest"
|
|
}
|
|
]
|
|
},
|
|
"model_post_init": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_ONLY",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"process_context": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"process_manifest": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "manifest"
|
|
}
|
|
]
|
|
},
|
|
"required_capability_types": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"sampling_params": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "sampling_params"
|
|
}
|
|
]
|
|
},
|
|
"tools": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "memory"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "run_as"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.workspace_paths.SandboxWorkspaceScope",
|
|
"kind": "factory"
|
|
},
|
|
"name": "workspace_scope"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.config.MemoryLayoutConfig",
|
|
"kind": "factory"
|
|
},
|
|
"name": "layout"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.config.MemoryReadConfig",
|
|
"kind": "factory"
|
|
},
|
|
"name": "read"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.config.MemoryGenerateConfig",
|
|
"kind": "factory"
|
|
},
|
|
"name": "generate"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "memory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "run_as"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "workspace_scope"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "layout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "read"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "generate"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.capabilities.Shell": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"bind": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
}
|
|
]
|
|
},
|
|
"bind_run_as": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"bind_workspace_scope": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "scope"
|
|
}
|
|
]
|
|
},
|
|
"clone": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"instructions": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "manifest"
|
|
}
|
|
]
|
|
},
|
|
"process_context": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"process_manifest": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "manifest"
|
|
}
|
|
]
|
|
},
|
|
"required_capability_types": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"sampling_params": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "sampling_params"
|
|
}
|
|
]
|
|
},
|
|
"tools": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "shell"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "run_as"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.workspace_paths.SandboxWorkspaceScope",
|
|
"kind": "factory"
|
|
},
|
|
"name": "workspace_scope"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "configure_tools"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "shell"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "run_as"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "workspace_scope"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "configure_tools"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.capabilities.Skills": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"bind": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
}
|
|
]
|
|
},
|
|
"bind_run_as": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"bind_workspace_scope": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "scope"
|
|
}
|
|
]
|
|
},
|
|
"clone": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"instructions": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "manifest"
|
|
}
|
|
]
|
|
},
|
|
"load_skill": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "skill_name"
|
|
}
|
|
]
|
|
},
|
|
"model_post_init": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_ONLY",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"process_context": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"process_manifest": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "manifest"
|
|
}
|
|
]
|
|
},
|
|
"required_capability_types": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"sampling_params": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "sampling_params"
|
|
}
|
|
]
|
|
},
|
|
"tools": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "skills"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "run_as"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.workspace_paths.SandboxWorkspaceScope",
|
|
"kind": "factory"
|
|
},
|
|
"name": "workspace_scope"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"name": "skills"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "from_"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "lazy_from"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": ".agents"
|
|
},
|
|
"name": "skills_path"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "skills"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "run_as"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "workspace_scope"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "skills"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "from_"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "lazy_from"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": ".agents"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "skills_path"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.capabilities.capabilities.Capabilities": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"default": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"agents.sandbox.capabilities.compaction.Compaction": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"bind": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
}
|
|
]
|
|
},
|
|
"bind_run_as": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"bind_workspace_scope": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "scope"
|
|
}
|
|
]
|
|
},
|
|
"clone": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"instructions": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "manifest"
|
|
}
|
|
]
|
|
},
|
|
"process_context": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"process_manifest": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "manifest"
|
|
}
|
|
]
|
|
},
|
|
"required_capability_types": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"sampling_params": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "sampling_params"
|
|
}
|
|
]
|
|
},
|
|
"tools": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "compaction"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "run_as"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.workspace_paths.SandboxWorkspaceScope",
|
|
"kind": "factory"
|
|
},
|
|
"name": "workspace_scope"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "policy"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "compaction"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "run_as"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "workspace_scope"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "policy"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.capabilities.memory.Memory": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"bind": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
}
|
|
]
|
|
},
|
|
"bind_run_as": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"bind_workspace_scope": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "scope"
|
|
}
|
|
]
|
|
},
|
|
"clone": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"instructions": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "manifest"
|
|
}
|
|
]
|
|
},
|
|
"model_post_init": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_ONLY",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"process_context": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"process_manifest": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "manifest"
|
|
}
|
|
]
|
|
},
|
|
"required_capability_types": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"sampling_params": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "sampling_params"
|
|
}
|
|
]
|
|
},
|
|
"tools": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "memory"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "run_as"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.workspace_paths.SandboxWorkspaceScope",
|
|
"kind": "factory"
|
|
},
|
|
"name": "workspace_scope"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.config.MemoryLayoutConfig",
|
|
"kind": "factory"
|
|
},
|
|
"name": "layout"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.config.MemoryReadConfig",
|
|
"kind": "factory"
|
|
},
|
|
"name": "read"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.config.MemoryGenerateConfig",
|
|
"kind": "factory"
|
|
},
|
|
"name": "generate"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "memory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "run_as"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "workspace_scope"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "layout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "read"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "generate"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.capabilities.shell.Shell": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"bind": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
}
|
|
]
|
|
},
|
|
"bind_run_as": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"bind_workspace_scope": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "scope"
|
|
}
|
|
]
|
|
},
|
|
"clone": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"instructions": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "manifest"
|
|
}
|
|
]
|
|
},
|
|
"process_context": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"process_manifest": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "manifest"
|
|
}
|
|
]
|
|
},
|
|
"required_capability_types": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"sampling_params": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "sampling_params"
|
|
}
|
|
]
|
|
},
|
|
"tools": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "shell"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "run_as"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.workspace_paths.SandboxWorkspaceScope",
|
|
"kind": "factory"
|
|
},
|
|
"name": "workspace_scope"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "configure_tools"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "shell"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "run_as"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "workspace_scope"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "configure_tools"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.config.MemoryGenerateConfig": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 256
|
|
},
|
|
"init": true,
|
|
"name": "max_raw_memories_for_consolidation"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "gpt-5.4-mini"
|
|
},
|
|
"init": true,
|
|
"name": "phase_one_model"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.config._default_memory_phase_one_model_settings",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "phase_one_model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "gpt-5.5"
|
|
},
|
|
"init": true,
|
|
"name": "phase_two_model"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.config._default_memory_phase_two_model_settings",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "phase_two_model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "extra_prompt"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 500
|
|
},
|
|
"init": true,
|
|
"name": "phase_two_max_turns"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 256
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "max_raw_memories_for_consolidation"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "gpt-5.4-mini"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "phase_one_model"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "phase_one_model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "gpt-5.5"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "phase_two_model"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "phase_two_model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "extra_prompt"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 500
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "phase_two_max_turns"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.config.MemoryReadConfig": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"init": true,
|
|
"name": "live_update"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "live_update"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.entries.AzureBlobMount": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"apply": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
},
|
|
"build_docker_volume_driver_config": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "strategy"
|
|
}
|
|
]
|
|
},
|
|
"build_in_container_mount_config": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "pattern"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "include_config_text"
|
|
}
|
|
]
|
|
},
|
|
"docker_volume_adapter": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"in_container_adapter": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"model_post_init": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_ONLY",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"registered_types": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"supported_docker_volume_drivers": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"supported_in_container_patterns": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"unmount": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "azure_blob_mount"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "ephemeral"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "group"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "is_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.entries.base.BaseEntry.<lambda>",
|
|
"kind": "factory"
|
|
},
|
|
"name": "permissions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "mount_path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "read_only"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "mount_strategy"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "account"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "container"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "endpoint"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "identity_client_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "account_key"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "azure_blob_mount"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "ephemeral"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "group"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "is_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "permissions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "mount_path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "read_only"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "mount_strategy"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "account"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "container"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "endpoint"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "identity_client_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "account_key"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.entries.Dir": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"apply": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
},
|
|
"model_post_init": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_ONLY",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"registered_types": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "dir"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"name": "ephemeral"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "group"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "is_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.entries.base.BaseEntry.<lambda>",
|
|
"kind": "factory"
|
|
},
|
|
"name": "permissions"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.dict",
|
|
"kind": "factory"
|
|
},
|
|
"name": "children"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "dir"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "ephemeral"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "group"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "is_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "permissions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "children"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.entries.DockerVolumeMountStrategy": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"activate": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
},
|
|
"build_docker_volume_driver_config": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
}
|
|
]
|
|
},
|
|
"deactivate": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
},
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"restore_after_snapshot": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
}
|
|
]
|
|
},
|
|
"supports_native_snapshot_detach": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
}
|
|
]
|
|
},
|
|
"teardown_for_snapshot": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
}
|
|
]
|
|
},
|
|
"validate_mount": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "docker_volume"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "driver"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.dict",
|
|
"kind": "factory"
|
|
},
|
|
"name": "driver_options"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "docker_volume"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "driver"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "driver_options"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.entries.File": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"apply": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
},
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"registered_types": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "file"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"name": "ephemeral"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "group"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"name": "is_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.entries.base.BaseEntry.<lambda>",
|
|
"kind": "factory"
|
|
},
|
|
"name": "permissions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "content"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "file"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "ephemeral"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "group"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "is_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "permissions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "content"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.entries.FuseMountPattern": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"apply": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "config"
|
|
}
|
|
]
|
|
},
|
|
"model_post_init": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_ONLY",
|
|
"name": "_FuseMountPattern__context"
|
|
}
|
|
]
|
|
},
|
|
"unapply": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "config"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "fuse"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "allow_other"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "syslog"
|
|
},
|
|
"name": "log_type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "log_debug"
|
|
},
|
|
"name": "log_level"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "block_cache"
|
|
},
|
|
"name": "cache_type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "cache_path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "cache_size_mb"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 16
|
|
},
|
|
"name": "block_cache_block_size_mb"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 3600
|
|
},
|
|
"name": "block_cache_disk_timeout_sec"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 120
|
|
},
|
|
"name": "file_cache_timeout_sec"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "file_cache_max_size_mb"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "attr_cache_timeout_sec"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "entry_cache_timeout_sec"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "negative_entry_cache_timeout_sec"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "fuse"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "allow_other"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "syslog"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "log_type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "log_debug"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "log_level"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "block_cache"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "cache_type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "cache_path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "cache_size_mb"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 16
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "block_cache_block_size_mb"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 3600
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "block_cache_disk_timeout_sec"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 120
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "file_cache_timeout_sec"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "file_cache_max_size_mb"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "attr_cache_timeout_sec"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "entry_cache_timeout_sec"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "negative_entry_cache_timeout_sec"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.entries.GCSMount": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"apply": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
},
|
|
"build_docker_volume_driver_config": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "strategy"
|
|
}
|
|
]
|
|
},
|
|
"build_in_container_mount_config": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "pattern"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "include_config_text"
|
|
}
|
|
]
|
|
},
|
|
"docker_volume_adapter": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"in_container_adapter": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"model_post_init": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_ONLY",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"registered_types": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"supported_docker_volume_drivers": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"supported_in_container_patterns": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"unmount": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "gcs_mount"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "ephemeral"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "group"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "is_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.entries.base.BaseEntry.<lambda>",
|
|
"kind": "factory"
|
|
},
|
|
"name": "permissions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "mount_path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "read_only"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "mount_strategy"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "bucket"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "access_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "secret_access_key"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "prefix"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "region"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "endpoint_url"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "service_account_file"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "service_account_credentials"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "access_token"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "gcs_mount"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "ephemeral"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "group"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "is_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "permissions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "mount_path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "read_only"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "mount_strategy"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "bucket"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "access_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "secret_access_key"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "prefix"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "region"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "endpoint_url"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "service_account_file"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "service_account_credentials"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "access_token"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.entries.GitRepo": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"apply": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
},
|
|
"model_post_init": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_ONLY",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"registered_types": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "git_repo"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"name": "ephemeral"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "group"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "is_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.entries.base.BaseEntry.<lambda>",
|
|
"kind": "factory"
|
|
},
|
|
"name": "permissions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "github.com"
|
|
},
|
|
"name": "host"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "repo"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "ref"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "subpath"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "git_repo"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "ephemeral"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "group"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "is_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "permissions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "github.com"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "host"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "repo"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "ref"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "subpath"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.entries.InContainerMountStrategy": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"activate": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
},
|
|
"build_docker_volume_driver_config": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
}
|
|
]
|
|
},
|
|
"deactivate": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
},
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"restore_after_snapshot": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
}
|
|
]
|
|
},
|
|
"supports_native_snapshot_detach": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
}
|
|
]
|
|
},
|
|
"teardown_for_snapshot": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
}
|
|
]
|
|
},
|
|
"validate_mount": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mount"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "in_container"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "pattern"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "in_container"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "pattern"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.entries.LocalDir": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"apply": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"model_post_init": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_ONLY",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"registered_types": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "local_dir"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"name": "ephemeral"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "group"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "is_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.entries.base.BaseEntry.<lambda>",
|
|
"kind": "factory"
|
|
},
|
|
"name": "permissions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "src"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "local_dir"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "ephemeral"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "group"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "is_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "permissions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "src"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.entries.LocalFile": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"apply": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
},
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"registered_types": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "local_file"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"name": "ephemeral"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "group"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"name": "is_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.entries.base.BaseEntry.<lambda>",
|
|
"kind": "factory"
|
|
},
|
|
"name": "permissions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "src"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "local_file"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "ephemeral"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "group"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "is_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "permissions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "src"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.entries.Mount": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"apply": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
},
|
|
"build_docker_volume_driver_config": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "strategy"
|
|
}
|
|
]
|
|
},
|
|
"build_in_container_mount_config": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "pattern"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "include_config_text"
|
|
}
|
|
]
|
|
},
|
|
"docker_volume_adapter": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"in_container_adapter": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"model_post_init": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_ONLY",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"registered_types": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"supported_docker_volume_drivers": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"supported_in_container_patterns": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"unmount": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "ephemeral"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "group"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "is_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.entries.base.BaseEntry.<lambda>",
|
|
"kind": "factory"
|
|
},
|
|
"name": "permissions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "mount_path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "read_only"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "mount_strategy"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "ephemeral"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "group"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "is_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "permissions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "mount_path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "read_only"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "mount_strategy"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.entries.MountpointMountPattern": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"apply": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "config"
|
|
}
|
|
]
|
|
},
|
|
"unapply": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "config"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "mountpoint"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.entries.mounts.patterns.MountpointMountPattern.MountpointOptions",
|
|
"kind": "factory"
|
|
},
|
|
"name": "options"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "mountpoint"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "options"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.entries.R2Mount": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"apply": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
},
|
|
"build_docker_volume_driver_config": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "strategy"
|
|
}
|
|
]
|
|
},
|
|
"build_in_container_mount_config": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "pattern"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "include_config_text"
|
|
}
|
|
]
|
|
},
|
|
"docker_volume_adapter": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"in_container_adapter": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"model_post_init": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_ONLY",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"registered_types": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"supported_docker_volume_drivers": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"supported_in_container_patterns": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"unmount": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "r2_mount"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "ephemeral"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "group"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "is_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.entries.base.BaseEntry.<lambda>",
|
|
"kind": "factory"
|
|
},
|
|
"name": "permissions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "mount_path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "read_only"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "mount_strategy"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "bucket"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "account_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "access_key_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "secret_access_key"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "custom_domain"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "r2_mount"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "ephemeral"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "group"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "is_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "permissions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "mount_path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "read_only"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "mount_strategy"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "bucket"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "account_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "access_key_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "secret_access_key"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "custom_domain"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.entries.RcloneMountPattern": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"apply": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "config"
|
|
}
|
|
]
|
|
},
|
|
"read_config_text": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "remote_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "mount_type"
|
|
}
|
|
]
|
|
},
|
|
"resolve_remote_name": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "remote_kind"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "mount_type"
|
|
}
|
|
]
|
|
},
|
|
"unapply": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "config"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "rclone"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "fuse"
|
|
},
|
|
"name": "mode"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "remote_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"name": "extra_args"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "nfs_addr"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "nfs_mount_options"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "config_file_path"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "rclone"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "fuse"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "mode"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "remote_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "extra_args"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "nfs_addr"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "nfs_mount_options"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "config_file_path"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.entries.S3FilesMount": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"apply": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
},
|
|
"build_docker_volume_driver_config": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "strategy"
|
|
}
|
|
]
|
|
},
|
|
"build_in_container_mount_config": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "pattern"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "include_config_text"
|
|
}
|
|
]
|
|
},
|
|
"docker_volume_adapter": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"in_container_adapter": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"model_post_init": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_ONLY",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"registered_types": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"supported_docker_volume_drivers": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"supported_in_container_patterns": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"unmount": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "s3_files_mount"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "ephemeral"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "group"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "is_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.entries.base.BaseEntry.<lambda>",
|
|
"kind": "factory"
|
|
},
|
|
"name": "permissions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "mount_path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "read_only"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "mount_strategy"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "file_system_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "subpath"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "mount_target_ip"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "access_point"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "region"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.dict",
|
|
"kind": "factory"
|
|
},
|
|
"name": "extra_options"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "s3_files_mount"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "ephemeral"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "group"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "is_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "permissions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "mount_path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "read_only"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "mount_strategy"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "file_system_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "subpath"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "mount_target_ip"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "access_point"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "region"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "extra_options"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.entries.S3FilesMountPattern": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"apply": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "config"
|
|
}
|
|
]
|
|
},
|
|
"unapply": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "config"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "s3files"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.entries.mounts.patterns.S3FilesMountPattern.S3FilesOptions",
|
|
"kind": "factory"
|
|
},
|
|
"name": "options"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "s3files"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "options"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.entries.S3Mount": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"apply": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
},
|
|
"build_docker_volume_driver_config": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "strategy"
|
|
}
|
|
]
|
|
},
|
|
"build_in_container_mount_config": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "pattern"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "include_config_text"
|
|
}
|
|
]
|
|
},
|
|
"docker_volume_adapter": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"in_container_adapter": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"model_post_init": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_ONLY",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"registered_types": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"supported_docker_volume_drivers": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"supported_in_container_patterns": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"unmount": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "base_dir"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "s3_mount"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "ephemeral"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "group"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "is_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.sandbox.entries.base.BaseEntry.<lambda>",
|
|
"kind": "factory"
|
|
},
|
|
"name": "permissions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "mount_path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "read_only"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "mount_strategy"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "bucket"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "access_key_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "secret_access_key"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "session_token"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "prefix"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "region"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "endpoint_url"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "AWS"
|
|
},
|
|
"name": "s3_provider"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "s3_mount"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "ephemeral"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "group"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "is_dir"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "permissions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "mount_path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "read_only"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "mount_strategy"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "bucket"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "access_key_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "secret_access_key"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session_token"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "prefix"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "region"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "endpoint_url"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "AWS"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "s3_provider"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.errors.MountCommandError": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "error_code"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "op"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "cause"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "retryable"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "command"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "stderr"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "cause"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "retryable"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.errors.WorkspaceArchiveWriteError": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "error_code"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "op"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "cause"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "retryable"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "cause"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "retryable"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "message"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.errors.WorkspaceReadNotFoundError": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "error_code"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "op"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "cause"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "retryable"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "cause"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.manifest.Environment": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"normalized": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"resolve": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"factory": "builtins.dict",
|
|
"kind": "factory"
|
|
},
|
|
"name": "value"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "value"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.sandboxes.UnixLocalSandboxClient": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"create": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "options"
|
|
}
|
|
]
|
|
},
|
|
"delete": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
}
|
|
]
|
|
},
|
|
"deserialize_session_state": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"resume": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "state"
|
|
}
|
|
]
|
|
},
|
|
"serialize_session_state": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "state"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "instrumentation"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "dependencies"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "inherit_host_environment"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "host_environment_allowlist"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.sandboxes.UnixLocalSandboxClientOptions": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "unix_local"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"items": [],
|
|
"kind": "sequence",
|
|
"type": "builtins.tuple"
|
|
},
|
|
"name": "exposed_ports"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"items": [],
|
|
"kind": "sequence",
|
|
"type": "builtins.tuple"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "exposed_ports"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "unix_local"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.sandboxes.UnixLocalSandboxSessionState": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"assert_path_grants_rebound": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"model_post_init": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_ONLY",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"model_validate_json": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "json_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "strict"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "extra"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "by_alias"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "by_name"
|
|
}
|
|
]
|
|
},
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"rebind_persisted_mount_authority": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trusted_manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "provider_backend_id"
|
|
}
|
|
]
|
|
},
|
|
"rebind_persisted_path_grants": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trusted_manifest"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "unix_local"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "uuid.uuid4",
|
|
"kind": "factory"
|
|
},
|
|
"name": "session_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "snapshot"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.tuple",
|
|
"kind": "factory"
|
|
},
|
|
"name": "exposed_ports"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "snapshot_fingerprint"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "snapshot_fingerprint_version"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"name": "workspace_root_ready"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"name": "workspace_root_owned"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "unix_local"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "exposed_ports"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot_fingerprint"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot_fingerprint_version"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "workspace_root_ready"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "workspace_root_owned"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.sandboxes.unix_local.UnixLocalSandboxClient": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"create": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "options"
|
|
}
|
|
]
|
|
},
|
|
"delete": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
}
|
|
]
|
|
},
|
|
"deserialize_session_state": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"resume": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "state"
|
|
}
|
|
]
|
|
},
|
|
"serialize_session_state": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "state"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "instrumentation"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "dependencies"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "inherit_host_environment"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "host_environment_allowlist"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.session.BaseSandboxClient": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"create": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "options"
|
|
}
|
|
]
|
|
},
|
|
"delete": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
}
|
|
]
|
|
},
|
|
"deserialize_session_state": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"resume": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "state"
|
|
}
|
|
]
|
|
},
|
|
"serialize_session_state": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "state"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"agents.sandbox.session.BaseSandboxSession": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"aclose": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"apply_manifest": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "only_ephemeral"
|
|
}
|
|
]
|
|
},
|
|
"apply_patch": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "operations"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "v4a"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "patch_format"
|
|
}
|
|
]
|
|
},
|
|
"describe": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"exec": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_POSITIONAL",
|
|
"name": "command"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "shell"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"extract": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "compression_scheme"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "archive_limits"
|
|
}
|
|
]
|
|
},
|
|
"hydrate_workspace": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
}
|
|
]
|
|
},
|
|
"ls": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"mkdir": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "parents"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"mv": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "source"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "destination"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"normalize_path": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "for_write"
|
|
}
|
|
]
|
|
},
|
|
"persist_workspace": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"provision_manifest_accounts": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"pty_exec_start": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_POSITIONAL",
|
|
"name": "command"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "shell"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tty"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "yield_time_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_output_tokens"
|
|
}
|
|
]
|
|
},
|
|
"pty_terminate_all": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"pty_write_stdin": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "chars"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "yield_time_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_output_tokens"
|
|
}
|
|
]
|
|
},
|
|
"read": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"read_bounded": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_bytes"
|
|
}
|
|
]
|
|
},
|
|
"register_persist_workspace_skip_path": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
}
|
|
]
|
|
},
|
|
"register_pre_stop_hook": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "hook"
|
|
}
|
|
]
|
|
},
|
|
"resolve_exposed_port": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "port"
|
|
}
|
|
]
|
|
},
|
|
"rm": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "recursive"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"run_pre_stop_hooks": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"running": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"same_file": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "left"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "right"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "follow_symlinks"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"set_dependencies": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dependencies"
|
|
}
|
|
]
|
|
},
|
|
"should_provision_manifest_accounts_on_resume": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"shutdown": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"start": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"stop": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"supports_docker_volume_mounts": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"supports_pty": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"write": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"agents.sandbox.session.Dependencies": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"aclose": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"bind_factory": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "key"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "factory"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "cache"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "overwrite"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "owns_result"
|
|
}
|
|
]
|
|
},
|
|
"bind_value": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "key"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "value"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "overwrite"
|
|
}
|
|
]
|
|
},
|
|
"clone": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"get": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "key"
|
|
}
|
|
]
|
|
},
|
|
"require": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "key"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "consumer"
|
|
}
|
|
]
|
|
},
|
|
"with_values": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "values"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"agents.sandbox.session.EventPayloadPolicy": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"name": "include_exec_output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 8000
|
|
},
|
|
"name": "max_stdout_chars"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 8000
|
|
},
|
|
"name": "max_stderr_chars"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"name": "include_write_len"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "include_exec_output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 8000
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_stdout_chars"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 8000
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_stderr_chars"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "include_write_len"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.session.Instrumentation": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"add_sink": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "sink"
|
|
}
|
|
]
|
|
},
|
|
"emit": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "event"
|
|
}
|
|
]
|
|
},
|
|
"flush": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "sinks"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "payload_policy"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "payload_policy_by_op"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.session.JsonlOutboxSink": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"handle": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "event"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "best_effort"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "mode"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "log"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "on_error"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "payload_policy"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.session.SandboxSession": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"aclose": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"apply_manifest": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "only_ephemeral"
|
|
}
|
|
]
|
|
},
|
|
"apply_patch": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "operations"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "v4a"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "patch_format"
|
|
}
|
|
]
|
|
},
|
|
"describe": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"exec": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_POSITIONAL",
|
|
"name": "command"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "shell"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"extract": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "compression_scheme"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "archive_limits"
|
|
}
|
|
]
|
|
},
|
|
"hydrate_workspace": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
}
|
|
]
|
|
},
|
|
"ls": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"mkdir": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "parents"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"mv": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "source"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "destination"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"normalize_path": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "for_write"
|
|
}
|
|
]
|
|
},
|
|
"persist_workspace": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"provision_manifest_accounts": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"pty_exec_start": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_POSITIONAL",
|
|
"name": "command"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "shell"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tty"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "yield_time_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_output_tokens"
|
|
}
|
|
]
|
|
},
|
|
"pty_terminate_all": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"pty_write_stdin": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "chars"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "yield_time_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_output_tokens"
|
|
}
|
|
]
|
|
},
|
|
"read": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"read_bounded": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_bytes"
|
|
}
|
|
]
|
|
},
|
|
"register_persist_workspace_skip_path": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
}
|
|
]
|
|
},
|
|
"register_pre_stop_hook": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "hook"
|
|
}
|
|
]
|
|
},
|
|
"resolve_exposed_port": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "port"
|
|
}
|
|
]
|
|
},
|
|
"rm": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "recursive"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"run_pre_stop_hooks": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"running": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"same_file": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "left"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "right"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "follow_symlinks"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"set_dependencies": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dependencies"
|
|
}
|
|
]
|
|
},
|
|
"should_provision_manifest_accounts_on_resume": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"shutdown": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"start": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"stop": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"supports_docker_volume_mounts": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"supports_pty": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"write": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "inner"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "instrumentation"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "dependencies"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.session.base_sandbox_session.BaseSandboxSession": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"aclose": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"apply_manifest": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "only_ephemeral"
|
|
}
|
|
]
|
|
},
|
|
"apply_patch": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "operations"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "v4a"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "patch_format"
|
|
}
|
|
]
|
|
},
|
|
"describe": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"exec": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_POSITIONAL",
|
|
"name": "command"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "shell"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"extract": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "compression_scheme"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "archive_limits"
|
|
}
|
|
]
|
|
},
|
|
"hydrate_workspace": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
}
|
|
]
|
|
},
|
|
"ls": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"mkdir": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "parents"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"mv": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "source"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "destination"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"normalize_path": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "for_write"
|
|
}
|
|
]
|
|
},
|
|
"persist_workspace": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"provision_manifest_accounts": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"pty_exec_start": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_POSITIONAL",
|
|
"name": "command"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "shell"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tty"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "yield_time_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_output_tokens"
|
|
}
|
|
]
|
|
},
|
|
"pty_terminate_all": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"pty_write_stdin": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "chars"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "yield_time_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_output_tokens"
|
|
}
|
|
]
|
|
},
|
|
"read": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"read_bounded": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_bytes"
|
|
}
|
|
]
|
|
},
|
|
"register_persist_workspace_skip_path": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
}
|
|
]
|
|
},
|
|
"register_pre_stop_hook": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "hook"
|
|
}
|
|
]
|
|
},
|
|
"resolve_exposed_port": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "port"
|
|
}
|
|
]
|
|
},
|
|
"rm": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "recursive"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"run_pre_stop_hooks": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"running": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"same_file": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "left"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "right"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "follow_symlinks"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"set_dependencies": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dependencies"
|
|
}
|
|
]
|
|
},
|
|
"should_provision_manifest_accounts_on_resume": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"shutdown": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"start": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"stop": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"supports_docker_volume_mounts": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"supports_pty": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"write": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"agents.sandbox.session.sandbox_session.SandboxSession": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"aclose": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"apply_manifest": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "only_ephemeral"
|
|
}
|
|
]
|
|
},
|
|
"apply_patch": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "operations"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "v4a"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "patch_format"
|
|
}
|
|
]
|
|
},
|
|
"describe": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"exec": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_POSITIONAL",
|
|
"name": "command"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "shell"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"extract": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "compression_scheme"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "archive_limits"
|
|
}
|
|
]
|
|
},
|
|
"hydrate_workspace": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
}
|
|
]
|
|
},
|
|
"ls": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"mkdir": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "parents"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"mv": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "source"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "destination"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"normalize_path": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "for_write"
|
|
}
|
|
]
|
|
},
|
|
"persist_workspace": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"provision_manifest_accounts": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"pty_exec_start": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_POSITIONAL",
|
|
"name": "command"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "shell"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tty"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "yield_time_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_output_tokens"
|
|
}
|
|
]
|
|
},
|
|
"pty_terminate_all": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"pty_write_stdin": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "chars"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "yield_time_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_output_tokens"
|
|
}
|
|
]
|
|
},
|
|
"read": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"read_bounded": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_bytes"
|
|
}
|
|
]
|
|
},
|
|
"register_persist_workspace_skip_path": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
}
|
|
]
|
|
},
|
|
"register_pre_stop_hook": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "hook"
|
|
}
|
|
]
|
|
},
|
|
"resolve_exposed_port": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "port"
|
|
}
|
|
]
|
|
},
|
|
"rm": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "recursive"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"run_pre_stop_hooks": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"running": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"same_file": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "left"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "right"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "follow_symlinks"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"set_dependencies": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dependencies"
|
|
}
|
|
]
|
|
},
|
|
"should_provision_manifest_accounts_on_resume": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"shutdown": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"start": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"stop": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"supports_docker_volume_mounts": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"supports_pty": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"write": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "inner"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "instrumentation"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "dependencies"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.session.sandbox_session_state.SandboxSessionState": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"assert_path_grants_rebound": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"model_post_init": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_ONLY",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"model_validate_json": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "json_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "strict"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "extra"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "by_alias"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "by_name"
|
|
}
|
|
]
|
|
},
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"rebind_persisted_mount_authority": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trusted_manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "provider_backend_id"
|
|
}
|
|
]
|
|
},
|
|
"rebind_persisted_path_grants": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trusted_manifest"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "uuid.uuid4",
|
|
"kind": "factory"
|
|
},
|
|
"name": "session_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "snapshot"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.tuple",
|
|
"kind": "factory"
|
|
},
|
|
"name": "exposed_ports"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "snapshot_fingerprint"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"name": "snapshot_fingerprint_version"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"name": "workspace_root_ready"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "manifest"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "exposed_ports"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot_fingerprint"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "snapshot_fingerprint_version"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "workspace_root_ready"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.snapshot.NoopSnapshotSpec": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"build": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "snapshot_id"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "noop"
|
|
},
|
|
"name": "type"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "noop"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"agents.sandbox.snapshot.SnapshotBase": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"parse": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "payload"
|
|
}
|
|
]
|
|
},
|
|
"persist": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "dependencies"
|
|
}
|
|
]
|
|
},
|
|
"restorable": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "dependencies"
|
|
}
|
|
]
|
|
},
|
|
"restore": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "dependencies"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"model_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"name": "id"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "id"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.InvalidModelStep": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "reason"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "input_index"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.InvalidSandboxStep": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "reason"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "input_index"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "method"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.ModelCall": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "system_instructions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tools"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "output_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "handoffs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tracing"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "conversation_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "prompt"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "streamed"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "system_instructions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tools"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "handoffs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tracing"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "conversation_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "prompt"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "streamed"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.ModelStep": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"factory": "builtins.tuple",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.usage.Usage",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "resp-789"
|
|
},
|
|
"init": true,
|
|
"name": "response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "request_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "raw_usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "error"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "responder"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "stream_events"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "retry_advice"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"raise_error": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "error"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "retry_advice"
|
|
}
|
|
]
|
|
},
|
|
"respond": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "responder"
|
|
}
|
|
]
|
|
},
|
|
"stream": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "events"
|
|
},
|
|
{
|
|
"default": {
|
|
"items": [],
|
|
"kind": "sequence",
|
|
"type": "builtins.tuple"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "resp-789"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "response_id"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "resp-789"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "request_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raw_usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "error"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "responder"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "stream_events"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "retry_advice"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.SandboxCall": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "call_index"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "method"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "args"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "kwargs"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "call_index"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "method"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "args"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "kwargs"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.SandboxCallMatcherError": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "call"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "call_index"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.ScriptedModel": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"assert_complete": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"close": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"enqueue": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "step"
|
|
}
|
|
]
|
|
},
|
|
"extend": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "steps"
|
|
}
|
|
]
|
|
},
|
|
"get_default_model_settings": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"get_response": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "system_instructions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tools"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "handoffs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tracing"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "conversation_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "prompt"
|
|
}
|
|
]
|
|
},
|
|
"get_retry_advice": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "request"
|
|
}
|
|
]
|
|
},
|
|
"set_default_usage": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "usage"
|
|
}
|
|
]
|
|
},
|
|
"stream_response": {
|
|
"binding": "instance",
|
|
"execution_kind": "async_generator",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "system_instructions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tools"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "handoffs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tracing"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "conversation_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "prompt"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"items": [],
|
|
"kind": "sequence",
|
|
"type": "builtins.tuple"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "steps"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "emit_traces"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "default_usage"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.ScriptedSandboxSession": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"aclose": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"apply_manifest": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "only_ephemeral"
|
|
}
|
|
]
|
|
},
|
|
"apply_patch": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "operations"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "v4a"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "patch_format"
|
|
}
|
|
]
|
|
},
|
|
"assert_complete": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"describe": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"exec": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_POSITIONAL",
|
|
"name": "command"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "shell"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"extract": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "compression_scheme"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "archive_limits"
|
|
}
|
|
]
|
|
},
|
|
"hydrate_workspace": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
}
|
|
]
|
|
},
|
|
"ls": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"mkdir": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "parents"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"mv": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "source"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "destination"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"normalize_path": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "for_write"
|
|
}
|
|
]
|
|
},
|
|
"persist_workspace": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"provision_manifest_accounts": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"pty_exec_start": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_POSITIONAL",
|
|
"name": "command"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "shell"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tty"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "yield_time_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_output_tokens"
|
|
}
|
|
]
|
|
},
|
|
"pty_terminate_all": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"pty_write_stdin": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "chars"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "yield_time_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_output_tokens"
|
|
}
|
|
]
|
|
},
|
|
"read": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"read_bounded": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_bytes"
|
|
}
|
|
]
|
|
},
|
|
"register_persist_workspace_skip_path": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
}
|
|
]
|
|
},
|
|
"register_pre_stop_hook": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "hook"
|
|
}
|
|
]
|
|
},
|
|
"resolve_exposed_port": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "port"
|
|
}
|
|
]
|
|
},
|
|
"rm": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "recursive"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"run_pre_stop_hooks": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"running": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"same_file": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "left"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "right"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "follow_symlinks"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"set_dependencies": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dependencies"
|
|
}
|
|
]
|
|
},
|
|
"should_provision_manifest_accounts_on_resume": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"shutdown": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"start": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"stop": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"supports_docker_volume_mounts": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"supports_pty": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"write": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"agents.testing.UnconsumedModelSteps": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "remaining_steps"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.UnconsumedSandboxSteps": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "remaining_steps"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "pending_methods"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.UnexpectedModelCall": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "call"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "call_index"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.UnexpectedSandboxCall": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "call"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "call_index"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "expected_method"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "remaining_steps"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.assistant_message": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "text"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "scripted-message"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "item_id"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.function_call": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "arguments"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "call_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "item_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "namespace"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.model.InvalidModelStep": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "reason"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "input_index"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.model.ModelCall": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "system_instructions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tools"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "output_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "handoffs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "tracing"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "conversation_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "prompt"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "streamed"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "system_instructions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tools"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "handoffs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tracing"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "conversation_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "prompt"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "streamed"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.model.ModelStep": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"factory": "builtins.tuple",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.usage.Usage",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "resp-789"
|
|
},
|
|
"init": true,
|
|
"name": "response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "request_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "raw_usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "error"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "responder"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "stream_events"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "retry_advice"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"raise_error": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "error"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "retry_advice"
|
|
}
|
|
]
|
|
},
|
|
"respond": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "responder"
|
|
}
|
|
]
|
|
},
|
|
"stream": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "events"
|
|
},
|
|
{
|
|
"default": {
|
|
"items": [],
|
|
"kind": "sequence",
|
|
"type": "builtins.tuple"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "resp-789"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "response_id"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "resp-789"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "request_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "raw_usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "error"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "responder"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "stream_events"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "retry_advice"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.model.ScriptedModel": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"assert_complete": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"close": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"enqueue": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "step"
|
|
}
|
|
]
|
|
},
|
|
"extend": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "steps"
|
|
}
|
|
]
|
|
},
|
|
"get_default_model_settings": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"get_response": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "system_instructions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tools"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "handoffs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tracing"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "conversation_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "prompt"
|
|
}
|
|
]
|
|
},
|
|
"get_retry_advice": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "request"
|
|
}
|
|
]
|
|
},
|
|
"set_default_usage": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "usage"
|
|
}
|
|
]
|
|
},
|
|
"stream_response": {
|
|
"binding": "instance",
|
|
"execution_kind": "async_generator",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "system_instructions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tools"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_schema"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "handoffs"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tracing"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "previous_response_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "conversation_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "prompt"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"items": [],
|
|
"kind": "sequence",
|
|
"type": "builtins.tuple"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "steps"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "emit_traces"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "default_usage"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.model.UnconsumedModelSteps": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "remaining_steps"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.model.UnexpectedModelCall": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "call"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "call_index"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.model.assistant_message": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "text"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "scripted-message"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "item_id"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.model.function_call": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "arguments"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "call_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "item_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "namespace"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.sandbox.InvalidSandboxStep": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "reason"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "input_index"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "method"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.sandbox.SandboxCall": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "call_index"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "method"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "args"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "kwargs"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "call_index"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "method"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "args"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "kwargs"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.sandbox.SandboxCallMatcherError": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "call"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "call_index"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.sandbox.ScriptedSandboxSession": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"aclose": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"apply_manifest": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "only_ephemeral"
|
|
}
|
|
]
|
|
},
|
|
"apply_patch": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "operations"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "v4a"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "patch_format"
|
|
}
|
|
]
|
|
},
|
|
"assert_complete": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"describe": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"exec": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_POSITIONAL",
|
|
"name": "command"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "shell"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"extract": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "compression_scheme"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "archive_limits"
|
|
}
|
|
]
|
|
},
|
|
"hydrate_workspace": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
}
|
|
]
|
|
},
|
|
"ls": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"mkdir": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "parents"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"mv": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "source"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "destination"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"normalize_path": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "for_write"
|
|
}
|
|
]
|
|
},
|
|
"persist_workspace": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"provision_manifest_accounts": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"pty_exec_start": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "VAR_POSITIONAL",
|
|
"name": "command"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "shell"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tty"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "yield_time_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_output_tokens"
|
|
}
|
|
]
|
|
},
|
|
"pty_terminate_all": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"pty_write_stdin": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "session_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "chars"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "yield_time_s"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_output_tokens"
|
|
}
|
|
]
|
|
},
|
|
"read": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"read_bounded": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_bytes"
|
|
}
|
|
]
|
|
},
|
|
"register_persist_workspace_skip_path": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
}
|
|
]
|
|
},
|
|
"register_pre_stop_hook": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "hook"
|
|
}
|
|
]
|
|
},
|
|
"resolve_exposed_port": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "port"
|
|
}
|
|
]
|
|
},
|
|
"rm": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "recursive"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"run_pre_stop_hooks": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"running": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"same_file": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "left"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "right"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "follow_symlinks"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
},
|
|
"set_dependencies": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dependencies"
|
|
}
|
|
]
|
|
},
|
|
"should_provision_manifest_accounts_on_resume": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"shutdown": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"start": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"stop": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"supports_docker_volume_mounts": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"supports_pty": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"write": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "path"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "user"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"agents.testing.sandbox.UnconsumedSandboxSteps": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "remaining_steps"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "pending_methods"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.sandbox.UnexpectedSandboxCall": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "call"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "call_index"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "expected_method"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "remaining_steps"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.sandbox.scripted_sandbox_session": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"items": [],
|
|
"kind": "sequence",
|
|
"type": "builtins.tuple"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "steps"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "manifest"
|
|
}
|
|
]
|
|
},
|
|
"agents.testing.scripted_sandbox_session": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"items": [],
|
|
"kind": "sequence",
|
|
"type": "builtins.tuple"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "steps"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "manifest"
|
|
}
|
|
]
|
|
},
|
|
"agents.tool_context.ToolContext": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.usage.Usage",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "builtins.list",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "turn_input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "tool_input"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.tool_context._assert_must_pass_tool_name",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.tool_context._assert_must_pass_tool_call_id",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "tool_call_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.tool_context._assert_must_pass_tool_arguments",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "tool_arguments"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "tool_call"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "tool_namespace"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "run_config"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"approve_tool": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "approval_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "always_approve"
|
|
}
|
|
]
|
|
},
|
|
"from_agent_context": {
|
|
"binding": "class",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_call_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_call"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_arguments"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_namespace"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "run_config"
|
|
}
|
|
]
|
|
},
|
|
"get_approval_status": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "call_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_namespace"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "existing_pending"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_lookup_key"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "current_invocation"
|
|
}
|
|
]
|
|
},
|
|
"get_rejection_message": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "call_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_namespace"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "existing_pending"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_lookup_key"
|
|
}
|
|
]
|
|
},
|
|
"is_tool_approved": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "call_id"
|
|
}
|
|
]
|
|
},
|
|
"reject_tool": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "approval_item"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "always_reject"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "rejection_message"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"identity": "agents.tool_context._MISSING",
|
|
"kind": "sentinel"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"identity": "agents.tool_context._MISSING",
|
|
"kind": "sentinel"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"identity": "agents.tool_context._MISSING",
|
|
"kind": "sentinel"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_call_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"identity": "agents.tool_context._MISSING",
|
|
"kind": "sentinel"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_arguments"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_call"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_namespace"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "run_config"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "turn_input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "_approvals"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_input"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.AudioInput": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "buffer"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 24000
|
|
},
|
|
"init": true,
|
|
"name": "frame_rate"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 2
|
|
},
|
|
"init": true,
|
|
"name": "sample_width"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 1
|
|
},
|
|
"init": true,
|
|
"name": "channels"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"to_audio_file": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"to_base64": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "buffer"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 24000
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "frame_rate"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 2
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "sample_width"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 1
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "channels"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.OpenAISTTModel": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"create_session": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace_include_sensitive_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace_include_sensitive_audio_data"
|
|
}
|
|
]
|
|
},
|
|
"transcribe": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace_include_sensitive_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace_include_sensitive_audio_data"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "openai_client"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.OpenAISTTTranscriptionSession": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"close": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"transcribe_turns": {
|
|
"binding": "instance",
|
|
"execution_kind": "async_generator",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "client"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace_include_sensitive_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace_include_sensitive_audio_data"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.OpenAITTSModel": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"run": {
|
|
"binding": "instance",
|
|
"execution_kind": "async_generator",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "text"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "settings"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "openai_client"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.OpenAIVoiceModelProvider": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"get_stt_model": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_name"
|
|
}
|
|
]
|
|
},
|
|
"get_tts_model": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_name"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "api_key"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "base_url"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "openai_client"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "organization"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "project"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "agent_registration"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.STTModel": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"create_session": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace_include_sensitive_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace_include_sensitive_audio_data"
|
|
}
|
|
]
|
|
},
|
|
"transcribe": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace_include_sensitive_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace_include_sensitive_audio_data"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"agents.voice.STTModelSettings": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "prompt"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "language"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "temperature"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "turn_detection"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "languages"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "keywords"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "prompt"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "language"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "temperature"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "turn_detection"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "languages"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "keywords"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.STTWebsocketConnectionError": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.SingleAgentVoiceWorkflow": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"on_start": {
|
|
"binding": "instance",
|
|
"execution_kind": "async_generator",
|
|
"parameters": []
|
|
},
|
|
"run": {
|
|
"binding": "instance",
|
|
"execution_kind": "async_generator",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "transcription"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "callbacks"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "context"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.SingleAgentWorkflowCallbacks": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"on_run": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "workflow"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "transcription"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"agents.voice.StreamedAudioInput": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"add_audio": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "audio"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"agents.voice.StreamedAudioResult": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"stream": {
|
|
"binding": "instance",
|
|
"execution_kind": "async_generator",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tts_model"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tts_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "voice_pipeline_config"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.StreamedTranscriptionSession": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"close": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"transcribe_turns": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"agents.voice.TTSModel": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"run": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "text"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "settings"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"agents.voice.TTSModelSettings": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "voice"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 120
|
|
},
|
|
"init": true,
|
|
"name": "buffer_size"
|
|
},
|
|
{
|
|
"default": {
|
|
"identity": "numpy.int16",
|
|
"kind": "type"
|
|
},
|
|
"init": true,
|
|
"name": "dtype"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "transform_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "You will receive partial sentences. Do not complete the sentence just read out the text."
|
|
},
|
|
"init": true,
|
|
"name": "instructions"
|
|
},
|
|
{
|
|
"default": {
|
|
"identity": "agents.voice.utils.get_sentence_based_splitter.<locals>.sentence_based_text_splitter",
|
|
"kind": "callable"
|
|
},
|
|
"init": true,
|
|
"name": "text_splitter"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "speed"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {
|
|
"text_splitter": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "voice"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 120
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "buffer_size"
|
|
},
|
|
{
|
|
"default": {
|
|
"identity": "numpy.int16",
|
|
"kind": "type"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "dtype"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "transform_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "You will receive partial sentences. Do not complete the sentence just read out the text."
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "instructions"
|
|
},
|
|
{
|
|
"default": {
|
|
"identity": "agents.voice.utils.get_sentence_based_splitter.<locals>.sentence_based_text_splitter",
|
|
"kind": "callable"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "text_splitter"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "speed"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.VoiceModelProvider": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"get_stt_model": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_name"
|
|
}
|
|
]
|
|
},
|
|
"get_tts_model": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_name"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"agents.voice.VoicePipeline": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"run": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "audio_input"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "workflow"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "stt_model"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tts_model"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "config"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.VoicePipelineConfig": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"factory": "agents.voice.models.openai_model_provider.OpenAIVoiceModelProvider",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "model_provider"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"init": true,
|
|
"name": "tracing_disabled"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "tracing"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"init": true,
|
|
"name": "trace_include_sensitive_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"init": true,
|
|
"name": "trace_include_sensitive_audio_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "Voice Agent"
|
|
},
|
|
"init": true,
|
|
"name": "workflow_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.tracing.util.gen_group_id",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "group_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"init": true,
|
|
"name": "trace_metadata"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.voice.model.STTModelSettings",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "stt_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"factory": "agents.voice.model.TTSModelSettings",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "tts_settings"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_provider"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tracing_disabled"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tracing"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace_include_sensitive_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace_include_sensitive_audio_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "Voice Agent"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "workflow_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "group_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace_metadata"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "stt_settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tts_settings"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.VoiceStreamEventAudio": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "voice_stream_event_audio"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "voice_stream_event_audio"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.VoiceStreamEventError": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "error"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "voice_stream_event_error"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "error"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "voice_stream_event_error"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.VoiceStreamEventLifecycle": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "event"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "voice_stream_event_lifecycle"
|
|
},
|
|
"init": true,
|
|
"name": "type"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "event"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "voice_stream_event_lifecycle"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "type"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.VoiceWorkflowBase": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"on_start": {
|
|
"binding": "instance",
|
|
"execution_kind": "async_generator",
|
|
"parameters": []
|
|
},
|
|
"run": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "transcription"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"agents.voice.VoiceWorkflowHelper": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"stream_text_from": {
|
|
"binding": "class",
|
|
"execution_kind": "async_generator",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "result"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": []
|
|
},
|
|
"agents.voice.get_sentence_based_splitter": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 20
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "min_sentence_length"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.testing.STTCall": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "trace_include_sensitive_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "trace_include_sensitive_audio_data"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace_include_sensitive_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace_include_sensitive_audio_data"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.testing.STTSessionCall": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "trace_include_sensitive_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "trace_include_sensitive_audio_data"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace_include_sensitive_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace_include_sensitive_audio_data"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.testing.ScriptedSTTModel": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"assert_complete": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"create_session": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace_include_sensitive_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace_include_sensitive_audio_data"
|
|
}
|
|
]
|
|
},
|
|
"transcribe": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "settings"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace_include_sensitive_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace_include_sensitive_audio_data"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"items": [],
|
|
"kind": "sequence",
|
|
"type": "builtins.tuple"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "transcriptions"
|
|
},
|
|
{
|
|
"default": {
|
|
"items": [],
|
|
"kind": "sequence",
|
|
"type": "builtins.tuple"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "sessions"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "scripted-stt"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "model_name"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.testing.ScriptedTTSModel": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"assert_complete": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"run": {
|
|
"binding": "instance",
|
|
"execution_kind": "async_generator",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "text"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "settings"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"items": [],
|
|
"kind": "sequence",
|
|
"type": "builtins.tuple"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "results"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "scripted-tts"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "model_name"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.testing.ScriptedTranscriptionSession": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"assert_complete": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"close": {
|
|
"binding": "instance",
|
|
"execution_kind": "coroutine",
|
|
"parameters": []
|
|
},
|
|
"transcribe_turns": {
|
|
"binding": "instance",
|
|
"execution_kind": "async_generator",
|
|
"parameters": []
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"items": [],
|
|
"kind": "sequence",
|
|
"type": "builtins.tuple"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "turns"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "close_error"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.testing.ScriptedVoiceWorkflow": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {
|
|
"assert_complete": {
|
|
"binding": "instance",
|
|
"execution_kind": "sync",
|
|
"parameters": []
|
|
},
|
|
"on_start": {
|
|
"binding": "instance",
|
|
"execution_kind": "async_generator",
|
|
"parameters": []
|
|
},
|
|
"run": {
|
|
"binding": "instance",
|
|
"execution_kind": "async_generator",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "transcription"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"items": [],
|
|
"kind": "sequence",
|
|
"type": "builtins.tuple"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "turns"
|
|
},
|
|
{
|
|
"default": {
|
|
"identity": "agents.voice.testing._START_NOT_CONFIGURED",
|
|
"kind": "sentinel"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "start"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.testing.TTSCall": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "text"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"init": true,
|
|
"name": "settings"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "text"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "settings"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.testing.TTSResult": {
|
|
"dataclass_fields": [
|
|
{
|
|
"default": {
|
|
"factory": "builtins.tuple",
|
|
"kind": "factory"
|
|
},
|
|
"init": true,
|
|
"name": "chunks"
|
|
}
|
|
],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "factory"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "chunks"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.testing.UnconsumedVoiceSteps": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "remaining_steps"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.testing.UnexpectedVoiceCall": {
|
|
"dataclass_fields": [],
|
|
"kind": "class",
|
|
"members": {},
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "message"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "operation"
|
|
}
|
|
]
|
|
},
|
|
"agents.voice.testing.pcm16_samples": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "samples"
|
|
}
|
|
]
|
|
},
|
|
"apply_diff": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "diff"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "default"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "mode"
|
|
}
|
|
]
|
|
},
|
|
"custom_span": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "span_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "parent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "disabled"
|
|
}
|
|
]
|
|
},
|
|
"default_handoff_history_mapper": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "transcript"
|
|
}
|
|
]
|
|
},
|
|
"default_tool_error_function": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "ctx"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "error"
|
|
}
|
|
]
|
|
},
|
|
"dispose_resolved_computers": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "coroutine",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "run_context"
|
|
}
|
|
]
|
|
},
|
|
"enable_verbose_stdout_logging": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": []
|
|
},
|
|
"flush_traces": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": []
|
|
},
|
|
"function_span": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "span_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "parent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "disabled"
|
|
}
|
|
]
|
|
},
|
|
"function_tool": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "func"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "name_override"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "description_override"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "docstring_style"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "use_docstring_info"
|
|
},
|
|
{
|
|
"default": {
|
|
"identity": "agents.tool._UNSET_FAILURE_ERROR_FUNCTION",
|
|
"kind": "sentinel"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "failure_error_function"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "strict_mode"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "is_enabled"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "needs_approval"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_input_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool_output_guardrails"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "timeout"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "error_as_result"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "timeout_behavior"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "timeout_error_function"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "defer_loading"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "custom_data_extractor"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "allowed_callers"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "output_type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "output_json_schema"
|
|
}
|
|
]
|
|
},
|
|
"gen_span_id": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": []
|
|
},
|
|
"gen_trace_id": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": []
|
|
},
|
|
"generation_span": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_config"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "usage"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "span_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "parent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "disabled"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tools"
|
|
}
|
|
]
|
|
},
|
|
"get_conversation_history_wrappers": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": []
|
|
},
|
|
"get_current_span": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": []
|
|
},
|
|
"get_current_trace": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": []
|
|
},
|
|
"guardrail_span": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "triggered"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "span_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "parent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "disabled"
|
|
}
|
|
]
|
|
},
|
|
"handoff": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_name_override"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tool_description_override"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "on_handoff"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input_type"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input_filter"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "nest_handoff_history"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "is_enabled"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "failure_error_function"
|
|
}
|
|
]
|
|
},
|
|
"handoff_span": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "from_agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "to_agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "span_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "parent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "disabled"
|
|
}
|
|
]
|
|
},
|
|
"input_guardrail": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "func"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "run_in_parallel"
|
|
}
|
|
]
|
|
},
|
|
"is_openai_responses_compaction_aware_session": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "session"
|
|
}
|
|
]
|
|
},
|
|
"mcp_tools_span": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "server"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "result"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "span_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "parent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "disabled"
|
|
}
|
|
]
|
|
},
|
|
"nest_handoff_history": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "handoff_input_data"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "history_mapper"
|
|
}
|
|
]
|
|
},
|
|
"output_guardrail": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "func"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "name"
|
|
}
|
|
]
|
|
},
|
|
"reset_conversation_history_wrappers": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": []
|
|
},
|
|
"resolve_computer": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "coroutine",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tool"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "run_context"
|
|
}
|
|
]
|
|
},
|
|
"response_span": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "response"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "span_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "parent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "disabled"
|
|
}
|
|
]
|
|
},
|
|
"responses_websocket_session": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "api_key"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "base_url"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "websocket_base_url"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "organization"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "project"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "alias"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "openai_prefix_mode"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "error"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "unknown_prefix_mode"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "responses_websocket_options"
|
|
}
|
|
]
|
|
},
|
|
"run_demo_loop": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "coroutine",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "stream"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "context"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.int",
|
|
"value": 10
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "max_turns"
|
|
}
|
|
]
|
|
},
|
|
"set_conversation_history_wrappers": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "start"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "end"
|
|
}
|
|
]
|
|
},
|
|
"set_default_openai_agent_registration": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "config"
|
|
}
|
|
]
|
|
},
|
|
"set_default_openai_api": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "api"
|
|
}
|
|
]
|
|
},
|
|
"set_default_openai_client": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "client"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "use_for_tracing"
|
|
}
|
|
]
|
|
},
|
|
"set_default_openai_harness": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "harness_id"
|
|
}
|
|
]
|
|
},
|
|
"set_default_openai_key": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "key"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": true
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "use_for_tracing"
|
|
}
|
|
]
|
|
},
|
|
"set_default_openai_responses_transport": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "transport"
|
|
}
|
|
]
|
|
},
|
|
"set_trace_processors": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "processors"
|
|
}
|
|
]
|
|
},
|
|
"set_trace_provider": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "provider"
|
|
}
|
|
]
|
|
},
|
|
"set_tracing_disabled": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "disabled"
|
|
}
|
|
]
|
|
},
|
|
"set_tracing_export_api_key": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "api_key"
|
|
}
|
|
]
|
|
},
|
|
"speech_group_span": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "span_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "parent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "disabled"
|
|
}
|
|
]
|
|
},
|
|
"speech_span": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "pcm"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output_format"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_config"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "first_content_at"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "span_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "parent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "disabled"
|
|
}
|
|
]
|
|
},
|
|
"task_span": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "span_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "parent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "disabled"
|
|
}
|
|
]
|
|
},
|
|
"tool_input_guardrail": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "func"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "name"
|
|
}
|
|
]
|
|
},
|
|
"tool_namespace": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "description"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "tools"
|
|
}
|
|
]
|
|
},
|
|
"tool_output_guardrail": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "func"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "KEYWORD_ONLY",
|
|
"name": "name"
|
|
}
|
|
]
|
|
},
|
|
"trace": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "workflow_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "trace_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "group_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "metadata"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "tracing"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "disabled"
|
|
}
|
|
]
|
|
},
|
|
"transcription_span": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "pcm"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "input_format"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "output"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "model_config"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "span_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "parent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "disabled"
|
|
}
|
|
]
|
|
},
|
|
"turn_span": {
|
|
"dataclass_fields": [],
|
|
"execution_kind": "sync",
|
|
"kind": "function",
|
|
"parameters": [
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "turn"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "required"
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "agent_name"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "span_id"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.NoneType",
|
|
"value": null
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "parent"
|
|
},
|
|
{
|
|
"default": {
|
|
"kind": "literal",
|
|
"type": "builtins.bool",
|
|
"value": false
|
|
},
|
|
"kind": "POSITIONAL_OR_KEYWORD",
|
|
"name": "disabled"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"canonical_imports": [
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "Agent",
|
|
"module": "agents.agent",
|
|
"name": "Agent"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "function_tool",
|
|
"module": "agents.decorators",
|
|
"name": "function_tool"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "input_guardrail",
|
|
"module": "agents.decorators",
|
|
"name": "input_guardrail"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "output_guardrail",
|
|
"module": "agents.decorators",
|
|
"name": "output_guardrail"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "function_tool",
|
|
"module": "agents.decorators",
|
|
"name": "tool"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "tool_input_guardrail",
|
|
"module": "agents.decorators",
|
|
"name": "tool_input_guardrail"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "tool_output_guardrail",
|
|
"module": "agents.decorators",
|
|
"name": "tool_output_guardrail"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "ApplyPatchOperation",
|
|
"module": "agents.editor",
|
|
"name": "ApplyPatchOperation"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "ApplyPatchResult",
|
|
"module": "agents.editor",
|
|
"name": "ApplyPatchResult"
|
|
},
|
|
{
|
|
"canonical_module": "agents.extensions",
|
|
"canonical_name": "handoff_filters",
|
|
"module": "agents.extensions",
|
|
"name": "handoff_filters"
|
|
},
|
|
{
|
|
"canonical_module": "agents.extensions.handoff_prompt",
|
|
"canonical_name": "RECOMMENDED_PROMPT_PREFIX",
|
|
"module": "agents.extensions.handoff_prompt",
|
|
"name": "RECOMMENDED_PROMPT_PREFIX"
|
|
},
|
|
{
|
|
"canonical_module": "agents.extensions.handoff_prompt",
|
|
"canonical_name": "prompt_with_handoff_instructions",
|
|
"module": "agents.extensions.handoff_prompt",
|
|
"name": "prompt_with_handoff_instructions"
|
|
},
|
|
{
|
|
"canonical_module": "agents.extensions.memory",
|
|
"canonical_name": "AdvancedSQLiteSession",
|
|
"module": "agents.extensions.memory",
|
|
"name": "AdvancedSQLiteSession"
|
|
},
|
|
{
|
|
"canonical_module": "agents.extensions.memory",
|
|
"canonical_name": "EncryptedSession",
|
|
"module": "agents.extensions.memory",
|
|
"name": "EncryptedSession"
|
|
},
|
|
{
|
|
"canonical_module": "agents.extensions.sandbox",
|
|
"canonical_name": "BlaxelDriveMountStrategy",
|
|
"module": "agents.extensions.sandbox",
|
|
"name": "BlaxelDriveMountStrategy"
|
|
},
|
|
{
|
|
"canonical_module": "agents.extensions.sandbox",
|
|
"canonical_name": "BlaxelSandboxClient",
|
|
"module": "agents.extensions.sandbox",
|
|
"name": "BlaxelSandboxClient"
|
|
},
|
|
{
|
|
"canonical_module": "agents.extensions.sandbox",
|
|
"canonical_name": "BlaxelSandboxClientOptions",
|
|
"module": "agents.extensions.sandbox",
|
|
"name": "BlaxelSandboxClientOptions"
|
|
},
|
|
{
|
|
"canonical_module": "agents.extensions.sandbox",
|
|
"canonical_name": "DEFAULT_BLAXEL_WORKSPACE_ROOT",
|
|
"module": "agents.extensions.sandbox",
|
|
"name": "DEFAULT_BLAXEL_WORKSPACE_ROOT"
|
|
},
|
|
{
|
|
"canonical_module": "agents.extensions.sandbox",
|
|
"canonical_name": "DEFAULT_DAYTONA_WORKSPACE_ROOT",
|
|
"module": "agents.extensions.sandbox",
|
|
"name": "DEFAULT_DAYTONA_WORKSPACE_ROOT"
|
|
},
|
|
{
|
|
"canonical_module": "agents.extensions.sandbox",
|
|
"canonical_name": "DaytonaCloudBucketMountStrategy",
|
|
"module": "agents.extensions.sandbox",
|
|
"name": "DaytonaCloudBucketMountStrategy"
|
|
},
|
|
{
|
|
"canonical_module": "agents.extensions.sandbox",
|
|
"canonical_name": "DaytonaSandboxClient",
|
|
"module": "agents.extensions.sandbox",
|
|
"name": "DaytonaSandboxClient"
|
|
},
|
|
{
|
|
"canonical_module": "agents.extensions.sandbox",
|
|
"canonical_name": "DaytonaSandboxClientOptions",
|
|
"module": "agents.extensions.sandbox",
|
|
"name": "DaytonaSandboxClientOptions"
|
|
},
|
|
{
|
|
"canonical_module": "agents.extensions.sandbox",
|
|
"canonical_name": "DaytonaSandboxSessionState",
|
|
"module": "agents.extensions.sandbox",
|
|
"name": "DaytonaSandboxSessionState"
|
|
},
|
|
{
|
|
"canonical_module": "agents.extensions.sandbox",
|
|
"canonical_name": "E2BSandboxClient",
|
|
"module": "agents.extensions.sandbox",
|
|
"name": "E2BSandboxClient"
|
|
},
|
|
{
|
|
"canonical_module": "agents.extensions.sandbox",
|
|
"canonical_name": "E2BSandboxClientOptions",
|
|
"module": "agents.extensions.sandbox",
|
|
"name": "E2BSandboxClientOptions"
|
|
},
|
|
{
|
|
"canonical_module": "agents.extensions.sandbox",
|
|
"canonical_name": "E2BSandboxSessionState",
|
|
"module": "agents.extensions.sandbox",
|
|
"name": "E2BSandboxSessionState"
|
|
},
|
|
{
|
|
"canonical_module": "agents.extensions.sandbox",
|
|
"canonical_name": "E2BSandboxType",
|
|
"module": "agents.extensions.sandbox",
|
|
"name": "E2BSandboxType"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "input_guardrail",
|
|
"module": "agents.guardrail",
|
|
"name": "input_guardrail"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "handoff",
|
|
"module": "agents.handoffs",
|
|
"name": "handoff"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "CompactionItem",
|
|
"module": "agents.items",
|
|
"name": "CompactionItem"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "HandoffCallItem",
|
|
"module": "agents.items",
|
|
"name": "HandoffCallItem"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "HandoffOutputItem",
|
|
"module": "agents.items",
|
|
"name": "HandoffOutputItem"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "MCPApprovalRequestItem",
|
|
"module": "agents.items",
|
|
"name": "MCPApprovalRequestItem"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "MCPApprovalResponseItem",
|
|
"module": "agents.items",
|
|
"name": "MCPApprovalResponseItem"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "MCPListToolsItem",
|
|
"module": "agents.items",
|
|
"name": "MCPListToolsItem"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "MessageOutputItem",
|
|
"module": "agents.items",
|
|
"name": "MessageOutputItem"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "ModelResponse",
|
|
"module": "agents.items",
|
|
"name": "ModelResponse"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "ReasoningItem",
|
|
"module": "agents.items",
|
|
"name": "ReasoningItem"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "RunItem",
|
|
"module": "agents.items",
|
|
"name": "RunItem"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "TResponseInputItem",
|
|
"module": "agents.items",
|
|
"name": "TResponseInputItem"
|
|
},
|
|
{
|
|
"canonical_module": "agents.items",
|
|
"canonical_name": "TResponseStreamEvent",
|
|
"module": "agents.items",
|
|
"name": "TResponseStreamEvent"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "ToolApprovalItem",
|
|
"module": "agents.items",
|
|
"name": "ToolApprovalItem"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "ToolCallItem",
|
|
"module": "agents.items",
|
|
"name": "ToolCallItem"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "ToolCallOutputItem",
|
|
"module": "agents.items",
|
|
"name": "ToolCallOutputItem"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "ToolSearchCallItem",
|
|
"module": "agents.items",
|
|
"name": "ToolSearchCallItem"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "ToolSearchOutputItem",
|
|
"module": "agents.items",
|
|
"name": "ToolSearchOutputItem"
|
|
},
|
|
{
|
|
"canonical_module": "agents.lifecycle",
|
|
"canonical_name": "RunHooksBase",
|
|
"module": "agents.lifecycle",
|
|
"name": "RunHooksBase"
|
|
},
|
|
{
|
|
"canonical_module": "agents.mcp",
|
|
"canonical_name": "MCPServer",
|
|
"module": "agents.mcp",
|
|
"name": "MCPServer"
|
|
},
|
|
{
|
|
"canonical_module": "agents.mcp",
|
|
"canonical_name": "MCPServerManager",
|
|
"module": "agents.mcp",
|
|
"name": "MCPServerManager"
|
|
},
|
|
{
|
|
"canonical_module": "agents.mcp",
|
|
"canonical_name": "MCPServerSse",
|
|
"module": "agents.mcp",
|
|
"name": "MCPServerSse"
|
|
},
|
|
{
|
|
"canonical_module": "agents.mcp",
|
|
"canonical_name": "MCPServerStdio",
|
|
"module": "agents.mcp",
|
|
"name": "MCPServerStdio"
|
|
},
|
|
{
|
|
"canonical_module": "agents.mcp",
|
|
"canonical_name": "MCPServerStreamableHttp",
|
|
"module": "agents.mcp",
|
|
"name": "MCPServerStreamableHttp"
|
|
},
|
|
{
|
|
"canonical_module": "agents.mcp.util",
|
|
"canonical_name": "MCPUtil",
|
|
"module": "agents.mcp.util",
|
|
"name": "MCPUtil"
|
|
},
|
|
{
|
|
"canonical_module": "agents.mcp.util",
|
|
"canonical_name": "create_static_tool_filter",
|
|
"module": "agents.mcp.util",
|
|
"name": "create_static_tool_filter"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "SQLiteSession",
|
|
"module": "agents.memory",
|
|
"name": "SQLiteSession"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "Session",
|
|
"module": "agents.memory.session",
|
|
"name": "Session"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "SessionSettings",
|
|
"module": "agents.memory.session_settings",
|
|
"name": "SessionSettings"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "SQLiteSession",
|
|
"module": "agents.memory.sqlite_session",
|
|
"name": "SQLiteSession"
|
|
},
|
|
{
|
|
"canonical_module": "agents.model_settings",
|
|
"canonical_name": "MCPToolChoice",
|
|
"module": "agents.model_settings",
|
|
"name": "MCPToolChoice"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "ModelSettings",
|
|
"module": "agents.model_settings",
|
|
"name": "ModelSettings"
|
|
},
|
|
{
|
|
"canonical_module": "agents.models",
|
|
"canonical_name": "is_gpt_5_default",
|
|
"module": "agents.models",
|
|
"name": "is_gpt_5_default"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "ModelTracing",
|
|
"module": "agents.models.interface",
|
|
"name": "ModelTracing"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "OpenAIProvider",
|
|
"module": "agents.models.openai_provider",
|
|
"name": "OpenAIProvider"
|
|
},
|
|
{
|
|
"canonical_module": "agents.realtime",
|
|
"canonical_name": "RealtimeAgent",
|
|
"module": "agents.realtime",
|
|
"name": "RealtimeAgent"
|
|
},
|
|
{
|
|
"canonical_module": "agents.realtime",
|
|
"canonical_name": "RealtimePlaybackTracker",
|
|
"module": "agents.realtime",
|
|
"name": "RealtimePlaybackTracker"
|
|
},
|
|
{
|
|
"canonical_module": "agents.realtime",
|
|
"canonical_name": "RealtimeRunner",
|
|
"module": "agents.realtime",
|
|
"name": "RealtimeRunner"
|
|
},
|
|
{
|
|
"canonical_module": "agents.realtime",
|
|
"canonical_name": "RealtimeSession",
|
|
"module": "agents.realtime",
|
|
"name": "RealtimeSession"
|
|
},
|
|
{
|
|
"canonical_module": "agents.realtime",
|
|
"canonical_name": "RealtimeSessionEvent",
|
|
"module": "agents.realtime",
|
|
"name": "RealtimeSessionEvent"
|
|
},
|
|
{
|
|
"canonical_module": "agents.realtime",
|
|
"canonical_name": "realtime_handoff",
|
|
"module": "agents.realtime",
|
|
"name": "realtime_handoff"
|
|
},
|
|
{
|
|
"canonical_module": "agents.realtime.config",
|
|
"canonical_name": "RealtimeSessionModelSettings",
|
|
"module": "agents.realtime.config",
|
|
"name": "RealtimeSessionModelSettings"
|
|
},
|
|
{
|
|
"canonical_module": "agents.realtime.config",
|
|
"canonical_name": "RealtimeUserInputMessage",
|
|
"module": "agents.realtime.config",
|
|
"name": "RealtimeUserInputMessage"
|
|
},
|
|
{
|
|
"canonical_module": "agents.realtime.items",
|
|
"canonical_name": "AssistantAudio",
|
|
"module": "agents.realtime.items",
|
|
"name": "AssistantAudio"
|
|
},
|
|
{
|
|
"canonical_module": "agents.realtime.items",
|
|
"canonical_name": "AssistantMessageItem",
|
|
"module": "agents.realtime.items",
|
|
"name": "AssistantMessageItem"
|
|
},
|
|
{
|
|
"canonical_module": "agents.realtime.items",
|
|
"canonical_name": "AssistantText",
|
|
"module": "agents.realtime.items",
|
|
"name": "AssistantText"
|
|
},
|
|
{
|
|
"canonical_module": "agents.realtime.items",
|
|
"canonical_name": "InputText",
|
|
"module": "agents.realtime.items",
|
|
"name": "InputText"
|
|
},
|
|
{
|
|
"canonical_module": "agents.realtime.items",
|
|
"canonical_name": "RealtimeItem",
|
|
"module": "agents.realtime.items",
|
|
"name": "RealtimeItem"
|
|
},
|
|
{
|
|
"canonical_module": "agents.realtime.items",
|
|
"canonical_name": "UserMessageItem",
|
|
"module": "agents.realtime.items",
|
|
"name": "UserMessageItem"
|
|
},
|
|
{
|
|
"canonical_module": "agents.realtime.model",
|
|
"canonical_name": "RealtimeModelConfig",
|
|
"module": "agents.realtime.model",
|
|
"name": "RealtimeModelConfig"
|
|
},
|
|
{
|
|
"canonical_module": "agents.realtime.model_events",
|
|
"canonical_name": "RealtimeModelItemUpdatedEvent",
|
|
"module": "agents.realtime.model_events",
|
|
"name": "RealtimeModelItemUpdatedEvent"
|
|
},
|
|
{
|
|
"canonical_module": "agents.realtime.model_events",
|
|
"canonical_name": "RealtimeModelRawServerEvent",
|
|
"module": "agents.realtime.model_events",
|
|
"name": "RealtimeModelRawServerEvent"
|
|
},
|
|
{
|
|
"canonical_module": "agents.realtime.model_events",
|
|
"canonical_name": "RealtimeModelUsageEvent",
|
|
"module": "agents.realtime.model_events",
|
|
"name": "RealtimeModelUsageEvent"
|
|
},
|
|
{
|
|
"canonical_module": "agents.realtime.model_inputs",
|
|
"canonical_name": "RealtimeModelSendRawMessage",
|
|
"module": "agents.realtime.model_inputs",
|
|
"name": "RealtimeModelSendRawMessage"
|
|
},
|
|
{
|
|
"canonical_module": "agents.realtime.openai_realtime",
|
|
"canonical_name": "OpenAIRealtimeSIPModel",
|
|
"module": "agents.realtime.openai_realtime",
|
|
"name": "OpenAIRealtimeSIPModel"
|
|
},
|
|
{
|
|
"canonical_module": "agents.realtime.runner",
|
|
"canonical_name": "RealtimeRunner",
|
|
"module": "agents.realtime.runner",
|
|
"name": "RealtimeRunner"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "ResponsesWebSocketSession",
|
|
"module": "agents.responses_websocket_session",
|
|
"name": "ResponsesWebSocketSession"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "RetryDecision",
|
|
"module": "agents.retry",
|
|
"name": "RetryDecision"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "RetryPolicyContext",
|
|
"module": "agents.retry",
|
|
"name": "RetryPolicyContext"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "RunConfig",
|
|
"module": "agents.run",
|
|
"name": "RunConfig"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "Runner",
|
|
"module": "agents.run",
|
|
"name": "Runner"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "RunConfig",
|
|
"module": "agents.run_config",
|
|
"name": "RunConfig"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "RunContextWrapper",
|
|
"module": "agents.run_context",
|
|
"name": "RunContextWrapper"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "RunState",
|
|
"module": "agents.run_state",
|
|
"name": "RunState"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox",
|
|
"canonical_name": "Capability",
|
|
"module": "agents.sandbox",
|
|
"name": "Capability"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox",
|
|
"canonical_name": "ExecTimeoutError",
|
|
"module": "agents.sandbox",
|
|
"name": "ExecTimeoutError"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox",
|
|
"canonical_name": "LocalFile",
|
|
"module": "agents.sandbox",
|
|
"name": "LocalFile"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox",
|
|
"canonical_name": "LocalSnapshotSpec",
|
|
"module": "agents.sandbox",
|
|
"name": "LocalSnapshotSpec"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox",
|
|
"canonical_name": "Manifest",
|
|
"module": "agents.sandbox",
|
|
"name": "Manifest"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox",
|
|
"canonical_name": "MemoryGenerateConfig",
|
|
"module": "agents.sandbox",
|
|
"name": "MemoryGenerateConfig"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox",
|
|
"canonical_name": "MemoryLayoutConfig",
|
|
"module": "agents.sandbox",
|
|
"name": "MemoryLayoutConfig"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox",
|
|
"canonical_name": "RemoteSnapshotSpec",
|
|
"module": "agents.sandbox",
|
|
"name": "RemoteSnapshotSpec"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox",
|
|
"canonical_name": "SandboxAgent",
|
|
"module": "agents.sandbox",
|
|
"name": "SandboxAgent"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox",
|
|
"canonical_name": "SandboxPathGrant",
|
|
"module": "agents.sandbox",
|
|
"name": "SandboxPathGrant"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox",
|
|
"canonical_name": "SandboxRunConfig",
|
|
"module": "agents.sandbox",
|
|
"name": "SandboxRunConfig"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox",
|
|
"canonical_name": "WorkspaceReadNotFoundError",
|
|
"module": "agents.sandbox",
|
|
"name": "WorkspaceReadNotFoundError"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.capabilities",
|
|
"canonical_name": "Capabilities",
|
|
"module": "agents.sandbox.capabilities",
|
|
"name": "Capabilities"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.capabilities",
|
|
"canonical_name": "Filesystem",
|
|
"module": "agents.sandbox.capabilities",
|
|
"name": "Filesystem"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.capabilities",
|
|
"canonical_name": "FilesystemToolSet",
|
|
"module": "agents.sandbox.capabilities",
|
|
"name": "FilesystemToolSet"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.capabilities",
|
|
"canonical_name": "LocalDirLazySkillSource",
|
|
"module": "agents.sandbox.capabilities",
|
|
"name": "LocalDirLazySkillSource"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.capabilities",
|
|
"canonical_name": "Memory",
|
|
"module": "agents.sandbox.capabilities",
|
|
"name": "Memory"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.capabilities",
|
|
"canonical_name": "Shell",
|
|
"module": "agents.sandbox.capabilities",
|
|
"name": "Shell"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.capabilities",
|
|
"canonical_name": "Skills",
|
|
"module": "agents.sandbox.capabilities",
|
|
"name": "Skills"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.capabilities.capabilities",
|
|
"canonical_name": "Capabilities",
|
|
"module": "agents.sandbox.capabilities.capabilities",
|
|
"name": "Capabilities"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.capabilities.compaction",
|
|
"canonical_name": "Compaction",
|
|
"module": "agents.sandbox.capabilities.compaction",
|
|
"name": "Compaction"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.capabilities.memory",
|
|
"canonical_name": "Memory",
|
|
"module": "agents.sandbox.capabilities.memory",
|
|
"name": "Memory"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.capabilities.shell",
|
|
"canonical_name": "Shell",
|
|
"module": "agents.sandbox.capabilities.shell",
|
|
"name": "Shell"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.config",
|
|
"canonical_name": "DEFAULT_PYTHON_SANDBOX_IMAGE",
|
|
"module": "agents.sandbox.config",
|
|
"name": "DEFAULT_PYTHON_SANDBOX_IMAGE"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.config",
|
|
"canonical_name": "MemoryGenerateConfig",
|
|
"module": "agents.sandbox.config",
|
|
"name": "MemoryGenerateConfig"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.config",
|
|
"canonical_name": "MemoryReadConfig",
|
|
"module": "agents.sandbox.config",
|
|
"name": "MemoryReadConfig"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.entries",
|
|
"canonical_name": "AzureBlobMount",
|
|
"module": "agents.sandbox.entries",
|
|
"name": "AzureBlobMount"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.entries",
|
|
"canonical_name": "Dir",
|
|
"module": "agents.sandbox.entries",
|
|
"name": "Dir"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.entries",
|
|
"canonical_name": "DockerVolumeMountStrategy",
|
|
"module": "agents.sandbox.entries",
|
|
"name": "DockerVolumeMountStrategy"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.entries",
|
|
"canonical_name": "File",
|
|
"module": "agents.sandbox.entries",
|
|
"name": "File"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.entries",
|
|
"canonical_name": "FuseMountPattern",
|
|
"module": "agents.sandbox.entries",
|
|
"name": "FuseMountPattern"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.entries",
|
|
"canonical_name": "GCSMount",
|
|
"module": "agents.sandbox.entries",
|
|
"name": "GCSMount"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.entries",
|
|
"canonical_name": "GitRepo",
|
|
"module": "agents.sandbox.entries",
|
|
"name": "GitRepo"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.entries",
|
|
"canonical_name": "InContainerMountStrategy",
|
|
"module": "agents.sandbox.entries",
|
|
"name": "InContainerMountStrategy"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.entries",
|
|
"canonical_name": "LocalDir",
|
|
"module": "agents.sandbox.entries",
|
|
"name": "LocalDir"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.entries",
|
|
"canonical_name": "LocalFile",
|
|
"module": "agents.sandbox.entries",
|
|
"name": "LocalFile"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.entries",
|
|
"canonical_name": "Mount",
|
|
"module": "agents.sandbox.entries",
|
|
"name": "Mount"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.entries",
|
|
"canonical_name": "MountpointMountPattern",
|
|
"module": "agents.sandbox.entries",
|
|
"name": "MountpointMountPattern"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.entries",
|
|
"canonical_name": "R2Mount",
|
|
"module": "agents.sandbox.entries",
|
|
"name": "R2Mount"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.entries",
|
|
"canonical_name": "RcloneMountPattern",
|
|
"module": "agents.sandbox.entries",
|
|
"name": "RcloneMountPattern"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.entries",
|
|
"canonical_name": "S3FilesMount",
|
|
"module": "agents.sandbox.entries",
|
|
"name": "S3FilesMount"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.entries",
|
|
"canonical_name": "S3FilesMountPattern",
|
|
"module": "agents.sandbox.entries",
|
|
"name": "S3FilesMountPattern"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.entries",
|
|
"canonical_name": "S3Mount",
|
|
"module": "agents.sandbox.entries",
|
|
"name": "S3Mount"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.errors",
|
|
"canonical_name": "MountCommandError",
|
|
"module": "agents.sandbox.errors",
|
|
"name": "MountCommandError"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.errors",
|
|
"canonical_name": "WorkspaceArchiveWriteError",
|
|
"module": "agents.sandbox.errors",
|
|
"name": "WorkspaceArchiveWriteError"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.errors",
|
|
"canonical_name": "WorkspaceReadNotFoundError",
|
|
"module": "agents.sandbox.errors",
|
|
"name": "WorkspaceReadNotFoundError"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.manifest",
|
|
"canonical_name": "Environment",
|
|
"module": "agents.sandbox.manifest",
|
|
"name": "Environment"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.sandboxes.unix_local",
|
|
"canonical_name": "UnixLocalSandboxClient",
|
|
"module": "agents.sandbox.sandboxes",
|
|
"name": "UnixLocalSandboxClient"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.sandboxes.unix_local",
|
|
"canonical_name": "UnixLocalSandboxClientOptions",
|
|
"module": "agents.sandbox.sandboxes",
|
|
"name": "UnixLocalSandboxClientOptions"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.sandboxes.unix_local",
|
|
"canonical_name": "UnixLocalSandboxSessionState",
|
|
"module": "agents.sandbox.sandboxes",
|
|
"name": "UnixLocalSandboxSessionState"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.sandboxes.unix_local",
|
|
"canonical_name": "UnixLocalSandboxClient",
|
|
"module": "agents.sandbox.sandboxes.unix_local",
|
|
"name": "UnixLocalSandboxClient"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.session",
|
|
"canonical_name": "BaseSandboxClient",
|
|
"module": "agents.sandbox.session",
|
|
"name": "BaseSandboxClient"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.session",
|
|
"canonical_name": "BaseSandboxSession",
|
|
"module": "agents.sandbox.session",
|
|
"name": "BaseSandboxSession"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.session",
|
|
"canonical_name": "Dependencies",
|
|
"module": "agents.sandbox.session",
|
|
"name": "Dependencies"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.session",
|
|
"canonical_name": "EventPayloadPolicy",
|
|
"module": "agents.sandbox.session",
|
|
"name": "EventPayloadPolicy"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.session",
|
|
"canonical_name": "Instrumentation",
|
|
"module": "agents.sandbox.session",
|
|
"name": "Instrumentation"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.session",
|
|
"canonical_name": "JsonlOutboxSink",
|
|
"module": "agents.sandbox.session",
|
|
"name": "JsonlOutboxSink"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.session",
|
|
"canonical_name": "SandboxSession",
|
|
"module": "agents.sandbox.session",
|
|
"name": "SandboxSession"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.session.base_sandbox_session",
|
|
"canonical_name": "BaseSandboxSession",
|
|
"module": "agents.sandbox.session.base_sandbox_session",
|
|
"name": "BaseSandboxSession"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.session.sandbox_session",
|
|
"canonical_name": "SandboxSession",
|
|
"module": "agents.sandbox.session.sandbox_session",
|
|
"name": "SandboxSession"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.session.sandbox_session_state",
|
|
"canonical_name": "SandboxSessionState",
|
|
"module": "agents.sandbox.session.sandbox_session_state",
|
|
"name": "SandboxSessionState"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.snapshot",
|
|
"canonical_name": "NoopSnapshotSpec",
|
|
"module": "agents.sandbox.snapshot",
|
|
"name": "NoopSnapshotSpec"
|
|
},
|
|
{
|
|
"canonical_module": "agents.sandbox.snapshot",
|
|
"canonical_name": "SnapshotBase",
|
|
"module": "agents.sandbox.snapshot",
|
|
"name": "SnapshotBase"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "AgentUpdatedStreamEvent",
|
|
"module": "agents.stream_events",
|
|
"name": "AgentUpdatedStreamEvent"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "RawResponsesStreamEvent",
|
|
"module": "agents.stream_events",
|
|
"name": "RawResponsesStreamEvent"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "StreamEvent",
|
|
"module": "agents.stream_events",
|
|
"name": "StreamEvent"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "FunctionTool",
|
|
"module": "agents.tool",
|
|
"name": "FunctionTool"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "ShellCallOutcome",
|
|
"module": "agents.tool",
|
|
"name": "ShellCallOutcome"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "ShellCommandOutput",
|
|
"module": "agents.tool",
|
|
"name": "ShellCommandOutput"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "ShellCommandRequest",
|
|
"module": "agents.tool",
|
|
"name": "ShellCommandRequest"
|
|
},
|
|
{
|
|
"canonical_module": "agents.tool",
|
|
"canonical_name": "ShellOnApprovalFunctionResult",
|
|
"module": "agents.tool",
|
|
"name": "ShellOnApprovalFunctionResult"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "ShellResult",
|
|
"module": "agents.tool",
|
|
"name": "ShellResult"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "ShellTool",
|
|
"module": "agents.tool",
|
|
"name": "ShellTool"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "Tool",
|
|
"module": "agents.tool",
|
|
"name": "Tool"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "function_tool",
|
|
"module": "agents.tool",
|
|
"name": "function_tool"
|
|
},
|
|
{
|
|
"canonical_module": "agents.tool_context",
|
|
"canonical_name": "ToolContext",
|
|
"module": "agents.tool_context",
|
|
"name": "ToolContext"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "tool_input_guardrail",
|
|
"module": "agents.tool_guardrails",
|
|
"name": "tool_input_guardrail"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "TracingProcessor",
|
|
"module": "agents.tracing",
|
|
"name": "TracingProcessor"
|
|
},
|
|
{
|
|
"canonical_module": "agents",
|
|
"canonical_name": "InputItem",
|
|
"module": "agents.items",
|
|
"name": "InputItem"
|
|
},
|
|
{
|
|
"canonical_module": "agents.extensions.sandbox.modal",
|
|
"canonical_name": "ModalCloudBucketMountStrategy",
|
|
"module": "agents.extensions.sandbox",
|
|
"name": "ModalCloudBucketMountStrategy"
|
|
},
|
|
{
|
|
"canonical_module": "agents.extensions.sandbox.modal",
|
|
"canonical_name": "ModalSandboxClient",
|
|
"module": "agents.extensions.sandbox",
|
|
"name": "ModalSandboxClient"
|
|
},
|
|
{
|
|
"canonical_module": "agents.extensions.sandbox.modal",
|
|
"canonical_name": "ModalSandboxClientOptions",
|
|
"module": "agents.extensions.sandbox",
|
|
"name": "ModalSandboxClientOptions"
|
|
},
|
|
{
|
|
"canonical_module": "agents.extensions.sandbox.vercel",
|
|
"canonical_name": "VercelSandboxClient",
|
|
"module": "agents.extensions.sandbox",
|
|
"name": "VercelSandboxClient"
|
|
},
|
|
{
|
|
"canonical_module": "agents.extensions.sandbox.vercel",
|
|
"canonical_name": "VercelSandboxClientOptions",
|
|
"module": "agents.extensions.sandbox",
|
|
"name": "VercelSandboxClientOptions"
|
|
},
|
|
{
|
|
"canonical_module": "agents.testing.model",
|
|
"canonical_name": "InvalidModelStep",
|
|
"module": "agents.testing",
|
|
"name": "InvalidModelStep"
|
|
},
|
|
{
|
|
"canonical_module": "agents.testing.model",
|
|
"canonical_name": "ModelCall",
|
|
"module": "agents.testing",
|
|
"name": "ModelCall"
|
|
},
|
|
{
|
|
"canonical_module": "agents.testing.model",
|
|
"canonical_name": "ModelScriptError",
|
|
"module": "agents.testing",
|
|
"name": "ModelScriptError"
|
|
},
|
|
{
|
|
"canonical_module": "agents.testing.model",
|
|
"canonical_name": "ModelStep",
|
|
"module": "agents.testing",
|
|
"name": "ModelStep"
|
|
},
|
|
{
|
|
"canonical_module": "agents.testing.model",
|
|
"canonical_name": "ModelStepSpec",
|
|
"module": "agents.testing",
|
|
"name": "ModelStepSpec"
|
|
},
|
|
{
|
|
"canonical_module": "agents.testing.model",
|
|
"canonical_name": "ScriptedModel",
|
|
"module": "agents.testing",
|
|
"name": "ScriptedModel"
|
|
},
|
|
{
|
|
"canonical_module": "agents.testing.model",
|
|
"canonical_name": "UnconsumedModelSteps",
|
|
"module": "agents.testing",
|
|
"name": "UnconsumedModelSteps"
|
|
},
|
|
{
|
|
"canonical_module": "agents.testing.model",
|
|
"canonical_name": "UnexpectedModelCall",
|
|
"module": "agents.testing",
|
|
"name": "UnexpectedModelCall"
|
|
},
|
|
{
|
|
"canonical_module": "agents.testing.model",
|
|
"canonical_name": "assistant_message",
|
|
"module": "agents.testing",
|
|
"name": "assistant_message"
|
|
},
|
|
{
|
|
"canonical_module": "agents.testing.model",
|
|
"canonical_name": "function_call",
|
|
"module": "agents.testing",
|
|
"name": "function_call"
|
|
},
|
|
{
|
|
"canonical_module": "agents.testing.sandbox",
|
|
"canonical_name": "InvalidSandboxStep",
|
|
"module": "agents.testing",
|
|
"name": "InvalidSandboxStep"
|
|
},
|
|
{
|
|
"canonical_module": "agents.testing.sandbox",
|
|
"canonical_name": "SandboxCall",
|
|
"module": "agents.testing",
|
|
"name": "SandboxCall"
|
|
},
|
|
{
|
|
"canonical_module": "agents.testing.sandbox",
|
|
"canonical_name": "SandboxCallMatcherError",
|
|
"module": "agents.testing",
|
|
"name": "SandboxCallMatcherError"
|
|
},
|
|
{
|
|
"canonical_module": "agents.testing.sandbox",
|
|
"canonical_name": "ScriptedSandboxSession",
|
|
"module": "agents.testing",
|
|
"name": "ScriptedSandboxSession"
|
|
},
|
|
{
|
|
"canonical_module": "agents.testing.sandbox",
|
|
"canonical_name": "SandboxScriptError",
|
|
"module": "agents.testing",
|
|
"name": "SandboxScriptError"
|
|
},
|
|
{
|
|
"canonical_module": "agents.testing.sandbox",
|
|
"canonical_name": "SandboxStepSpec",
|
|
"module": "agents.testing",
|
|
"name": "SandboxStepSpec"
|
|
},
|
|
{
|
|
"canonical_module": "agents.testing.sandbox",
|
|
"canonical_name": "UnconsumedSandboxSteps",
|
|
"module": "agents.testing",
|
|
"name": "UnconsumedSandboxSteps"
|
|
},
|
|
{
|
|
"canonical_module": "agents.testing.sandbox",
|
|
"canonical_name": "UnexpectedSandboxCall",
|
|
"module": "agents.testing",
|
|
"name": "UnexpectedSandboxCall"
|
|
},
|
|
{
|
|
"canonical_module": "agents.testing.sandbox",
|
|
"canonical_name": "scripted_sandbox_session",
|
|
"module": "agents.testing",
|
|
"name": "scripted_sandbox_session"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.input",
|
|
"canonical_name": "AudioInput",
|
|
"module": "agents.voice",
|
|
"name": "AudioInput"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.input",
|
|
"canonical_name": "StreamedAudioInput",
|
|
"module": "agents.voice",
|
|
"name": "StreamedAudioInput"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.model",
|
|
"canonical_name": "STTModel",
|
|
"module": "agents.voice",
|
|
"name": "STTModel"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.model",
|
|
"canonical_name": "STTModelSettings",
|
|
"module": "agents.voice",
|
|
"name": "STTModelSettings"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.model",
|
|
"canonical_name": "TTSCustomVoice",
|
|
"module": "agents.voice",
|
|
"name": "TTSCustomVoice"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.model",
|
|
"canonical_name": "TTSModel",
|
|
"module": "agents.voice",
|
|
"name": "TTSModel"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.model",
|
|
"canonical_name": "TTSModelSettings",
|
|
"module": "agents.voice",
|
|
"name": "TTSModelSettings"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.model",
|
|
"canonical_name": "TTSVoice",
|
|
"module": "agents.voice",
|
|
"name": "TTSVoice"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.model",
|
|
"canonical_name": "VoiceModelProvider",
|
|
"module": "agents.voice",
|
|
"name": "VoiceModelProvider"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.result",
|
|
"canonical_name": "StreamedAudioResult",
|
|
"module": "agents.voice",
|
|
"name": "StreamedAudioResult"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.workflow",
|
|
"canonical_name": "SingleAgentVoiceWorkflow",
|
|
"module": "agents.voice",
|
|
"name": "SingleAgentVoiceWorkflow"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.models.openai_model_provider",
|
|
"canonical_name": "OpenAIVoiceModelProvider",
|
|
"module": "agents.voice",
|
|
"name": "OpenAIVoiceModelProvider"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.models.openai_stt",
|
|
"canonical_name": "OpenAISTTModel",
|
|
"module": "agents.voice",
|
|
"name": "OpenAISTTModel"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.models.openai_tts",
|
|
"canonical_name": "OpenAITTSModel",
|
|
"module": "agents.voice",
|
|
"name": "OpenAITTSModel"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.events",
|
|
"canonical_name": "VoiceStreamEventAudio",
|
|
"module": "agents.voice",
|
|
"name": "VoiceStreamEventAudio"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.events",
|
|
"canonical_name": "VoiceStreamEventLifecycle",
|
|
"module": "agents.voice",
|
|
"name": "VoiceStreamEventLifecycle"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.events",
|
|
"canonical_name": "VoiceStreamEvent",
|
|
"module": "agents.voice",
|
|
"name": "VoiceStreamEvent"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.events",
|
|
"canonical_name": "VoiceStreamEventError",
|
|
"module": "agents.voice",
|
|
"name": "VoiceStreamEventError"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.pipeline",
|
|
"canonical_name": "VoicePipeline",
|
|
"module": "agents.voice",
|
|
"name": "VoicePipeline"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.pipeline_config",
|
|
"canonical_name": "VoicePipelineConfig",
|
|
"module": "agents.voice",
|
|
"name": "VoicePipelineConfig"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.utils",
|
|
"canonical_name": "get_sentence_based_splitter",
|
|
"module": "agents.voice",
|
|
"name": "get_sentence_based_splitter"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.workflow",
|
|
"canonical_name": "VoiceWorkflowHelper",
|
|
"module": "agents.voice",
|
|
"name": "VoiceWorkflowHelper"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.workflow",
|
|
"canonical_name": "VoiceWorkflowBase",
|
|
"module": "agents.voice",
|
|
"name": "VoiceWorkflowBase"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.workflow",
|
|
"canonical_name": "SingleAgentWorkflowCallbacks",
|
|
"module": "agents.voice",
|
|
"name": "SingleAgentWorkflowCallbacks"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.model",
|
|
"canonical_name": "StreamedTranscriptionSession",
|
|
"module": "agents.voice",
|
|
"name": "StreamedTranscriptionSession"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.models.openai_stt",
|
|
"canonical_name": "OpenAISTTTranscriptionSession",
|
|
"module": "agents.voice",
|
|
"name": "OpenAISTTTranscriptionSession"
|
|
},
|
|
{
|
|
"canonical_module": "agents.voice.exceptions",
|
|
"canonical_name": "STTWebsocketConnectionError",
|
|
"module": "agents.voice",
|
|
"name": "STTWebsocketConnectionError"
|
|
}
|
|
],
|
|
"optional_dependency_unsupported_platforms": {
|
|
"vercel": [
|
|
"win32"
|
|
]
|
|
},
|
|
"platform_import_errors": [
|
|
{
|
|
"error_type": "ImportError",
|
|
"message_contains": "UnixLocalSandbox is not supported on Windows.",
|
|
"module": "agents.sandbox.sandboxes.unix_local",
|
|
"platforms": [
|
|
"win32"
|
|
]
|
|
}
|
|
],
|
|
"public_class_contracts": [
|
|
{
|
|
"abstract_members": [
|
|
"create_session",
|
|
"model_name",
|
|
"transcribe"
|
|
],
|
|
"class_name": "STTModel",
|
|
"module": "agents.voice.model"
|
|
},
|
|
{
|
|
"abstract_members": [
|
|
"close",
|
|
"transcribe_turns"
|
|
],
|
|
"class_name": "StreamedTranscriptionSession",
|
|
"module": "agents.voice.model"
|
|
},
|
|
{
|
|
"abstract_members": [
|
|
"model_name",
|
|
"run"
|
|
],
|
|
"class_name": "TTSModel",
|
|
"module": "agents.voice.model"
|
|
},
|
|
{
|
|
"abstract_members": [
|
|
"get_stt_model",
|
|
"get_tts_model"
|
|
],
|
|
"class_name": "VoiceModelProvider",
|
|
"module": "agents.voice.model"
|
|
},
|
|
{
|
|
"abstract": false,
|
|
"class_name": "OpenAIVoiceModelProvider",
|
|
"module": "agents.voice.models.openai_model_provider"
|
|
},
|
|
{
|
|
"abstract": false,
|
|
"class_name": "OpenAISTTModel",
|
|
"module": "agents.voice.models.openai_stt"
|
|
},
|
|
{
|
|
"abstract": false,
|
|
"class_name": "OpenAISTTTranscriptionSession",
|
|
"module": "agents.voice.models.openai_stt"
|
|
},
|
|
{
|
|
"abstract": false,
|
|
"class_name": "OpenAITTSModel",
|
|
"module": "agents.voice.models.openai_tts"
|
|
},
|
|
{
|
|
"abstract_members": [
|
|
"run"
|
|
],
|
|
"class_name": "VoiceWorkflowBase",
|
|
"module": "agents.voice.workflow"
|
|
},
|
|
{
|
|
"abstract": false,
|
|
"class_name": "SingleAgentVoiceWorkflow",
|
|
"module": "agents.voice.workflow"
|
|
}
|
|
],
|
|
"public_modules": [
|
|
"agents",
|
|
"agents.agent",
|
|
"agents.decorators",
|
|
"agents.editor",
|
|
"agents.extensions",
|
|
"agents.extensions.handoff_filters",
|
|
"agents.extensions.handoff_prompt",
|
|
"agents.extensions.memory",
|
|
"agents.extensions.sandbox",
|
|
"agents.guardrail",
|
|
"agents.handoffs",
|
|
"agents.items",
|
|
"agents.lifecycle",
|
|
"agents.mcp",
|
|
"agents.mcp.util",
|
|
"agents.memory",
|
|
"agents.memory.session",
|
|
"agents.memory.session_settings",
|
|
"agents.model_settings",
|
|
"agents.models",
|
|
"agents.models.interface",
|
|
"agents.models.openai_chatcompletions",
|
|
"agents.models.openai_provider",
|
|
"agents.models.openai_responses",
|
|
"agents.realtime",
|
|
"agents.realtime.config",
|
|
"agents.realtime.items",
|
|
"agents.realtime.model",
|
|
"agents.realtime.model_events",
|
|
"agents.realtime.model_inputs",
|
|
"agents.realtime.openai_realtime",
|
|
"agents.realtime.runner",
|
|
"agents.responses_websocket_session",
|
|
"agents.retry",
|
|
"agents.run",
|
|
"agents.run_config",
|
|
"agents.run_context",
|
|
"agents.run_state",
|
|
"agents.sandbox",
|
|
"agents.sandbox.capabilities",
|
|
"agents.sandbox.capabilities.capabilities",
|
|
"agents.sandbox.capabilities.compaction",
|
|
"agents.sandbox.capabilities.memory",
|
|
"agents.sandbox.capabilities.shell",
|
|
"agents.sandbox.config",
|
|
"agents.sandbox.entries",
|
|
"agents.sandbox.errors",
|
|
"agents.sandbox.manifest",
|
|
"agents.sandbox.sandboxes",
|
|
"agents.sandbox.sandboxes.unix_local",
|
|
"agents.sandbox.session",
|
|
"agents.sandbox.session.base_sandbox_session",
|
|
"agents.sandbox.session.sandbox_session",
|
|
"agents.sandbox.session.sandbox_session_state",
|
|
"agents.sandbox.snapshot",
|
|
"agents.stream_events",
|
|
"agents.tool",
|
|
"agents.tool_context",
|
|
"agents.tool_guardrails",
|
|
"agents.tracing",
|
|
"agents.realtime.testing",
|
|
"agents.testing",
|
|
"agents.testing.model",
|
|
"agents.testing.sandbox",
|
|
"agents.voice.testing",
|
|
"agents.voice",
|
|
"agents.voice.events",
|
|
"agents.voice.exceptions",
|
|
"agents.voice.imports",
|
|
"agents.voice.input",
|
|
"agents.voice.model",
|
|
"agents.voice.models.openai_model_provider",
|
|
"agents.voice.models.openai_stt",
|
|
"agents.voice.models.openai_tts",
|
|
"agents.voice.pipeline",
|
|
"agents.voice.pipeline_config",
|
|
"agents.voice.result",
|
|
"agents.voice.utils",
|
|
"agents.voice.workflow"
|
|
],
|
|
"public_properties": [
|
|
{
|
|
"class_name": "RunResultBase",
|
|
"module": "agents.result",
|
|
"names": [
|
|
"agent_tool_invocation",
|
|
"last_agent",
|
|
"last_response_id"
|
|
]
|
|
},
|
|
{
|
|
"class_name": "RunResult",
|
|
"module": "agents.result",
|
|
"names": [
|
|
"agent_tool_invocation",
|
|
"last_agent",
|
|
"last_response_id"
|
|
]
|
|
},
|
|
{
|
|
"class_name": "RunResultStreaming",
|
|
"module": "agents.result",
|
|
"names": [
|
|
"agent_tool_invocation",
|
|
"last_agent",
|
|
"last_response_id",
|
|
"run_loop_exception"
|
|
]
|
|
},
|
|
{
|
|
"class_name": "RunState",
|
|
"module": "agents.run_state",
|
|
"names": [
|
|
"pending_input"
|
|
]
|
|
},
|
|
{
|
|
"class_name": "RetryPolicyContext",
|
|
"module": "agents.retry",
|
|
"names": [
|
|
"response_started",
|
|
"replay_safety",
|
|
"stateful_request"
|
|
]
|
|
},
|
|
{
|
|
"class_name": "SandboxSessionState",
|
|
"module": "agents.sandbox.session.sandbox_session_state",
|
|
"names": [
|
|
"mount_authority_redacted",
|
|
"mount_authority_rebound"
|
|
]
|
|
},
|
|
{
|
|
"class_name": "ScriptedModel",
|
|
"module": "agents.testing.model",
|
|
"names": [
|
|
"calls",
|
|
"remaining_steps",
|
|
"first_call",
|
|
"last_call"
|
|
]
|
|
},
|
|
{
|
|
"class_name": "ScriptedRealtimeModel",
|
|
"module": "agents.realtime.testing",
|
|
"names": [
|
|
"listeners",
|
|
"connect_calls",
|
|
"sent_events",
|
|
"remaining_steps"
|
|
]
|
|
},
|
|
{
|
|
"factory_name": "scripted_sandbox_session",
|
|
"module": "agents.testing.sandbox",
|
|
"names": [
|
|
"calls",
|
|
"remaining_steps"
|
|
]
|
|
},
|
|
{
|
|
"class_name": "ScriptedSTTModel",
|
|
"module": "agents.voice.testing",
|
|
"names": [
|
|
"calls",
|
|
"session_calls",
|
|
"created_sessions"
|
|
]
|
|
},
|
|
{
|
|
"class_name": "ScriptedTTSModel",
|
|
"module": "agents.voice.testing",
|
|
"names": [
|
|
"calls"
|
|
]
|
|
},
|
|
{
|
|
"class_name": "ScriptedVoiceWorkflow",
|
|
"module": "agents.voice.testing",
|
|
"names": [
|
|
"transcriptions"
|
|
]
|
|
},
|
|
{
|
|
"class_name": "ScriptedSandboxSession",
|
|
"module": "agents.testing",
|
|
"names": [
|
|
"calls",
|
|
"remaining_steps"
|
|
]
|
|
},
|
|
{
|
|
"class_name": "STTModel",
|
|
"module": "agents.voice.model",
|
|
"names": [
|
|
"model_name"
|
|
]
|
|
},
|
|
{
|
|
"class_name": "TTSModel",
|
|
"module": "agents.voice.model",
|
|
"names": [
|
|
"model_name"
|
|
]
|
|
},
|
|
{
|
|
"class_name": "OpenAISTTModel",
|
|
"module": "agents.voice.models.openai_stt",
|
|
"names": [
|
|
"model_name"
|
|
]
|
|
},
|
|
{
|
|
"class_name": "OpenAITTSModel",
|
|
"module": "agents.voice.models.openai_tts",
|
|
"names": [
|
|
"model_name"
|
|
]
|
|
},
|
|
{
|
|
"class_name": "OpenAIVoiceModelProvider",
|
|
"module": "agents.voice.models.openai_model_provider",
|
|
"names": [
|
|
"agent_registration"
|
|
]
|
|
}
|
|
],
|
|
"public_type_aliases": [
|
|
{
|
|
"definition": {
|
|
"kind": "union",
|
|
"members": [
|
|
{
|
|
"kind": "literal",
|
|
"values": [
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "alloy"
|
|
},
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "ash"
|
|
},
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "ballad"
|
|
},
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "cedar"
|
|
},
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "coral"
|
|
},
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "echo"
|
|
},
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "fable"
|
|
},
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "marin"
|
|
},
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "nova"
|
|
},
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "onyx"
|
|
},
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "sage"
|
|
},
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "shimmer"
|
|
},
|
|
{
|
|
"kind": "literal",
|
|
"type": "builtins.str",
|
|
"value": "verse"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"identity": "agents.voice.model.TTSCustomVoice",
|
|
"kind": "type"
|
|
}
|
|
]
|
|
},
|
|
"module": "agents.voice.model",
|
|
"name": "TTSVoice"
|
|
},
|
|
{
|
|
"definition": {
|
|
"kind": "union",
|
|
"members": [
|
|
{
|
|
"identity": "agents.voice.events.VoiceStreamEventAudio",
|
|
"kind": "type"
|
|
},
|
|
{
|
|
"identity": "agents.voice.events.VoiceStreamEventError",
|
|
"kind": "type"
|
|
},
|
|
{
|
|
"identity": "agents.voice.events.VoiceStreamEventLifecycle",
|
|
"kind": "type"
|
|
}
|
|
]
|
|
},
|
|
"module": "agents.voice.events",
|
|
"name": "VoiceStreamEvent"
|
|
},
|
|
{
|
|
"definition": {
|
|
"kind": "callable",
|
|
"parameters": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"kind": "any"
|
|
}
|
|
],
|
|
"kind": "generic",
|
|
"origin": "agents.run_config.OutputGuardrailBlockedMessageArgs"
|
|
}
|
|
],
|
|
"return": {
|
|
"kind": "union",
|
|
"members": [
|
|
{
|
|
"identity": "builtins.NoneType",
|
|
"kind": "type"
|
|
},
|
|
{
|
|
"identity": "builtins.str",
|
|
"kind": "type"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"module": "agents",
|
|
"name": "OutputGuardrailBlockedMessageFormatter"
|
|
}
|
|
],
|
|
"public_typed_dicts": [
|
|
{
|
|
"class_name": "ModelStepSpec",
|
|
"fields": [
|
|
{
|
|
"annotation": "Sequence[TResponseOutputItem]",
|
|
"name": "output",
|
|
"required": false
|
|
},
|
|
{
|
|
"annotation": "Usage",
|
|
"name": "usage",
|
|
"required": false
|
|
},
|
|
{
|
|
"annotation": "str | None",
|
|
"name": "response_id",
|
|
"required": false
|
|
},
|
|
{
|
|
"annotation": "str | None",
|
|
"name": "request_id",
|
|
"required": false
|
|
},
|
|
{
|
|
"annotation": "dict[str, Any] | None",
|
|
"name": "raw_usage",
|
|
"required": false
|
|
},
|
|
{
|
|
"annotation": "Exception | None",
|
|
"name": "error",
|
|
"required": false
|
|
},
|
|
{
|
|
"annotation": "ModelResponder | None",
|
|
"name": "responder",
|
|
"required": false
|
|
},
|
|
{
|
|
"annotation": "Sequence[TResponseStreamEvent] | ModelStreamFactory | None",
|
|
"name": "stream_events",
|
|
"required": false
|
|
},
|
|
{
|
|
"annotation": "ModelRetryAdvice | None",
|
|
"name": "retry_advice",
|
|
"required": false
|
|
}
|
|
],
|
|
"module": "agents.testing.model"
|
|
},
|
|
{
|
|
"class_name": "SandboxStepSpec",
|
|
"fields": [
|
|
{
|
|
"annotation": "SandboxMethod",
|
|
"name": "method",
|
|
"required": false
|
|
},
|
|
{
|
|
"annotation": "SandboxMatcher",
|
|
"name": "match",
|
|
"required": false
|
|
},
|
|
{
|
|
"annotation": "Any",
|
|
"name": "result",
|
|
"required": false
|
|
},
|
|
{
|
|
"annotation": "SandboxResponder",
|
|
"name": "responder",
|
|
"required": false
|
|
},
|
|
{
|
|
"annotation": "Exception",
|
|
"name": "error",
|
|
"required": false
|
|
}
|
|
],
|
|
"module": "agents.testing.sandbox"
|
|
},
|
|
{
|
|
"class_name": "RealtimeConnectCall",
|
|
"fields": [
|
|
{
|
|
"annotation": "Required[bool]",
|
|
"name": "api_key_provided",
|
|
"required": true
|
|
},
|
|
{
|
|
"annotation": "Required[bool]",
|
|
"name": "headers_provided",
|
|
"required": true
|
|
},
|
|
{
|
|
"annotation": "str",
|
|
"name": "url",
|
|
"required": false
|
|
},
|
|
{
|
|
"annotation": "RealtimeSessionModelSettings",
|
|
"name": "initial_model_settings",
|
|
"required": false
|
|
},
|
|
{
|
|
"annotation": "RealtimePlaybackTracker",
|
|
"name": "playback_tracker",
|
|
"required": false
|
|
},
|
|
{
|
|
"annotation": "str",
|
|
"name": "call_id",
|
|
"required": false
|
|
}
|
|
],
|
|
"module": "agents.realtime.testing"
|
|
},
|
|
{
|
|
"class_name": "WebSearchToolImageSettings",
|
|
"fields": [
|
|
{
|
|
"annotation": "int",
|
|
"name": "max_results",
|
|
"required": false
|
|
},
|
|
{
|
|
"annotation": "bool",
|
|
"name": "caption",
|
|
"required": false
|
|
}
|
|
],
|
|
"module": "agents"
|
|
},
|
|
{
|
|
"class_name": "TTSCustomVoice",
|
|
"fields": [
|
|
{
|
|
"annotation": "str",
|
|
"name": "id",
|
|
"required": true
|
|
}
|
|
],
|
|
"module": "agents.voice"
|
|
},
|
|
{
|
|
"class_name": "ImageGenerationToolConfig",
|
|
"fields": [
|
|
{
|
|
"annotation": "Required[Literal['image_generation']]",
|
|
"name": "type",
|
|
"required": true
|
|
},
|
|
{
|
|
"annotation": "Literal['generate', 'edit', 'auto']",
|
|
"name": "action",
|
|
"required": false
|
|
},
|
|
{
|
|
"annotation": "Literal['transparent', 'opaque', 'auto']",
|
|
"name": "background",
|
|
"required": false
|
|
},
|
|
{
|
|
"annotation": "Literal['high', 'low'] | None",
|
|
"name": "input_fidelity",
|
|
"required": false
|
|
},
|
|
{
|
|
"annotation": "_ImageGenerationInputImageMask",
|
|
"name": "input_image_mask",
|
|
"required": false
|
|
},
|
|
{
|
|
"annotation": "str",
|
|
"name": "model",
|
|
"required": false
|
|
},
|
|
{
|
|
"annotation": "Literal['auto', 'low']",
|
|
"name": "moderation",
|
|
"required": false
|
|
},
|
|
{
|
|
"annotation": "int",
|
|
"name": "output_compression",
|
|
"required": false
|
|
},
|
|
{
|
|
"annotation": "Literal['png', 'webp', 'jpeg']",
|
|
"name": "output_format",
|
|
"required": false
|
|
},
|
|
{
|
|
"annotation": "int",
|
|
"name": "partial_images",
|
|
"required": false
|
|
},
|
|
{
|
|
"annotation": "Literal['low', 'medium', 'high', 'xhigh', 'max', 'auto']",
|
|
"name": "quality",
|
|
"required": false
|
|
},
|
|
{
|
|
"annotation": "str",
|
|
"name": "size",
|
|
"required": false
|
|
}
|
|
],
|
|
"module": "agents"
|
|
}
|
|
],
|
|
"required_submodule_exports": {
|
|
"agents.decorators": {
|
|
"names": [
|
|
"function_tool",
|
|
"input_guardrail",
|
|
"output_guardrail",
|
|
"tool",
|
|
"tool_input_guardrail",
|
|
"tool_output_guardrail"
|
|
],
|
|
"optional_bindings": {},
|
|
"optional_exports": {}
|
|
},
|
|
"agents.extensions": {
|
|
"names": [
|
|
"ToolOutputTrimmer"
|
|
],
|
|
"optional_bindings": {},
|
|
"optional_exports": {}
|
|
},
|
|
"agents.extensions.handoff_filters": {
|
|
"names": [
|
|
"remove_all_tools",
|
|
"nest_handoff_history",
|
|
"default_handoff_history_mapper"
|
|
],
|
|
"optional_bindings": {},
|
|
"optional_exports": {}
|
|
},
|
|
"agents.extensions.memory": {
|
|
"names": [
|
|
"AdvancedSQLiteSession",
|
|
"AsyncSQLiteSession",
|
|
"DAPR_CONSISTENCY_EVENTUAL",
|
|
"DAPR_CONSISTENCY_STRONG",
|
|
"DaprSession",
|
|
"EncryptedSession",
|
|
"MongoDBSession",
|
|
"RedisSession",
|
|
"SQLAlchemySession"
|
|
],
|
|
"optional_bindings": {
|
|
"AsyncSQLiteSession": "aiosqlite",
|
|
"DAPR_CONSISTENCY_EVENTUAL": "dapr",
|
|
"DAPR_CONSISTENCY_STRONG": "dapr",
|
|
"DaprSession": "dapr",
|
|
"EncryptedSession": "cryptography",
|
|
"MongoDBSession": "pymongo",
|
|
"RedisSession": "redis",
|
|
"SQLAlchemySession": "sqlalchemy"
|
|
},
|
|
"optional_exports": {}
|
|
},
|
|
"agents.extensions.sandbox": {
|
|
"names": [
|
|
"E2BCloudBucketMountStrategy",
|
|
"E2BSandboxClient",
|
|
"E2BSandboxClientOptions",
|
|
"E2BSandboxSession",
|
|
"E2BSandboxSessionState",
|
|
"E2BSandboxTimeouts",
|
|
"E2BSandboxType",
|
|
"ModalCloudBucketMountStrategy",
|
|
"ModalSandboxClient",
|
|
"ModalSandboxClientOptions",
|
|
"ModalSandboxSession",
|
|
"ModalSandboxSessionState",
|
|
"DEFAULT_DAYTONA_WORKSPACE_ROOT",
|
|
"DaytonaCloudBucketMountStrategy",
|
|
"DaytonaSandboxResources",
|
|
"DaytonaSandboxClient",
|
|
"DaytonaSandboxClientOptions",
|
|
"DaytonaSandboxSession",
|
|
"DaytonaSandboxSessionState",
|
|
"DaytonaSandboxTimeouts",
|
|
"DEFAULT_BLAXEL_WORKSPACE_ROOT",
|
|
"BlaxelCloudBucketMountConfig",
|
|
"BlaxelCloudBucketMountStrategy",
|
|
"BlaxelDriveMountConfig",
|
|
"BlaxelDriveMountStrategy",
|
|
"BlaxelSandboxClient",
|
|
"BlaxelSandboxClientOptions",
|
|
"BlaxelSandboxSession",
|
|
"BlaxelSandboxSessionState",
|
|
"BlaxelTimeouts",
|
|
"CloudflareBucketMountConfig",
|
|
"CloudflareBucketMountStrategy",
|
|
"CloudflareSandboxClient",
|
|
"CloudflareSandboxClientOptions",
|
|
"CloudflareSandboxSession",
|
|
"CloudflareSandboxSessionState",
|
|
"VercelCloudBucketMountStrategy",
|
|
"VercelSandboxClient",
|
|
"VercelSandboxClientOptions",
|
|
"VercelSandboxSession",
|
|
"VercelSandboxSessionState"
|
|
],
|
|
"optional_bindings": {},
|
|
"optional_exports": {
|
|
"CloudflareBucketMountConfig": "aiohttp",
|
|
"CloudflareBucketMountStrategy": "aiohttp",
|
|
"CloudflareSandboxClient": "aiohttp",
|
|
"CloudflareSandboxClientOptions": "aiohttp",
|
|
"CloudflareSandboxSession": "aiohttp",
|
|
"CloudflareSandboxSessionState": "aiohttp",
|
|
"ModalCloudBucketMountStrategy": "modal",
|
|
"ModalSandboxClient": "modal",
|
|
"ModalSandboxClientOptions": "modal",
|
|
"ModalSandboxSession": "modal",
|
|
"ModalSandboxSessionState": "modal",
|
|
"VercelCloudBucketMountStrategy": "vercel",
|
|
"VercelSandboxClient": "vercel",
|
|
"VercelSandboxClientOptions": "vercel",
|
|
"VercelSandboxSession": "vercel",
|
|
"VercelSandboxSessionState": "vercel"
|
|
}
|
|
},
|
|
"agents.handoffs": {
|
|
"names": [
|
|
"Handoff",
|
|
"HandoffHistoryMapper",
|
|
"HandoffInputData",
|
|
"HandoffInputFilter",
|
|
"default_handoff_history_mapper",
|
|
"get_conversation_history_wrappers",
|
|
"handoff",
|
|
"nest_handoff_history",
|
|
"reset_conversation_history_wrappers",
|
|
"set_conversation_history_wrappers"
|
|
],
|
|
"optional_bindings": {},
|
|
"optional_exports": {}
|
|
},
|
|
"agents.mcp": {
|
|
"names": [
|
|
"MCPServer",
|
|
"MCPServerSse",
|
|
"MCPServerSseParams",
|
|
"MCPServerStdio",
|
|
"MCPServerStdioParams",
|
|
"MCPServerStreamableHttp",
|
|
"MCPServerStreamableHttpParams",
|
|
"MCPServerManager",
|
|
"LocalMCPApprovalCallable",
|
|
"MCPUtil",
|
|
"MCPToolCustomDataContext",
|
|
"MCPToolCustomDataExtractor",
|
|
"MCPToolMetaContext",
|
|
"MCPToolMetaResolver",
|
|
"ToolFilter",
|
|
"ToolFilterCallable",
|
|
"ToolFilterContext",
|
|
"ToolFilterStatic",
|
|
"create_static_tool_filter"
|
|
],
|
|
"optional_bindings": {},
|
|
"optional_exports": {}
|
|
},
|
|
"agents.memory": {
|
|
"names": [
|
|
"Session",
|
|
"SessionABC",
|
|
"SessionInputCallback",
|
|
"SessionSettings",
|
|
"await_session_mutation",
|
|
"coerce_session_settings",
|
|
"resolve_session_limit",
|
|
"SQLiteSession",
|
|
"OpenAIConversationsSession",
|
|
"OpenAIResponsesCompactionSession",
|
|
"OpenAIResponsesCompactionArgs",
|
|
"OpenAIResponsesCompactionAwareSession",
|
|
"is_openai_responses_compaction_aware_session"
|
|
],
|
|
"optional_bindings": {},
|
|
"optional_exports": {}
|
|
},
|
|
"agents.models": {
|
|
"names": [
|
|
"get_default_model",
|
|
"get_default_model_settings",
|
|
"gpt_5_reasoning_settings_required",
|
|
"is_gpt_5_default",
|
|
"OpenAIAgentRegistrationConfig"
|
|
],
|
|
"optional_bindings": {},
|
|
"optional_exports": {}
|
|
},
|
|
"agents.realtime": {
|
|
"names": [
|
|
"RealtimeAgent",
|
|
"RealtimeAgentHooks",
|
|
"RealtimeRunHooks",
|
|
"RealtimeRunner",
|
|
"realtime_handoff",
|
|
"RealtimeAudioFormat",
|
|
"RealtimeClientMessage",
|
|
"RealtimeGuardrailsSettings",
|
|
"RealtimeInputAudioNoiseReductionConfig",
|
|
"RealtimeInputAudioTranscriptionConfig",
|
|
"RealtimeModelName",
|
|
"RealtimeModelTracingConfig",
|
|
"RealtimeReasoningConfig",
|
|
"RealtimeReasoningEffort",
|
|
"RealtimeRunConfig",
|
|
"RealtimeSessionModelSettings",
|
|
"RealtimeToolExecutionConfig",
|
|
"RealtimeTurnDetectionConfig",
|
|
"RealtimeUserInput",
|
|
"RealtimeUserInputMessage",
|
|
"RealtimeUserInputText",
|
|
"RealtimeAgentEndEvent",
|
|
"RealtimeAgentStartEvent",
|
|
"RealtimeAudio",
|
|
"RealtimeAudioEnd",
|
|
"RealtimeAudioInterrupted",
|
|
"RealtimeError",
|
|
"RealtimeEventInfo",
|
|
"RealtimeGuardrailTripped",
|
|
"RealtimeHandoffEvent",
|
|
"RealtimeHistoryAdded",
|
|
"RealtimeHistoryUpdated",
|
|
"RealtimeRawModelEvent",
|
|
"RealtimeSessionEvent",
|
|
"RealtimeToolApprovalRequired",
|
|
"RealtimeToolEnd",
|
|
"RealtimeToolStart",
|
|
"AssistantMessageItem",
|
|
"AssistantText",
|
|
"InputAudio",
|
|
"InputText",
|
|
"RealtimeItem",
|
|
"RealtimeMessageItem",
|
|
"RealtimeResponse",
|
|
"RealtimeToolCallItem",
|
|
"SystemMessageItem",
|
|
"UserMessageItem",
|
|
"RealtimeModel",
|
|
"RealtimeModelConfig",
|
|
"RealtimeModelListener",
|
|
"RealtimePlaybackTracker",
|
|
"RealtimePlaybackState",
|
|
"RealtimeConnectionStatus",
|
|
"RealtimeModelAudioDoneEvent",
|
|
"RealtimeModelAudioEvent",
|
|
"RealtimeModelAudioInterruptedEvent",
|
|
"RealtimeModelCachedTokensDetails",
|
|
"RealtimeModelConnectionStatusEvent",
|
|
"RealtimeModelEndOfStreamEvent",
|
|
"RealtimeModelErrorEvent",
|
|
"RealtimeModelEvent",
|
|
"RealtimeModelExceptionEvent",
|
|
"RealtimeModelInputAudioTranscriptionCompletedEvent",
|
|
"RealtimeModelInputTokensDetails",
|
|
"RealtimeModelItemDeletedEvent",
|
|
"RealtimeModelItemUpdatedEvent",
|
|
"RealtimeModelOtherEvent",
|
|
"RealtimeModelOutputTextDeltaEvent",
|
|
"RealtimeModelOutputTokensDetails",
|
|
"RealtimeModelToolCallEvent",
|
|
"RealtimeModelTranscriptDeltaEvent",
|
|
"RealtimeModelTurnEndedEvent",
|
|
"RealtimeModelTurnStartedEvent",
|
|
"RealtimeModelUsageEvent",
|
|
"RealtimeModelInputTextContent",
|
|
"RealtimeModelRawClientMessage",
|
|
"RealtimeModelSendAudio",
|
|
"RealtimeModelSendEvent",
|
|
"RealtimeModelSendInterrupt",
|
|
"RealtimeModelSendRawMessage",
|
|
"RealtimeModelSendSessionUpdate",
|
|
"RealtimeModelSendToolOutput",
|
|
"RealtimeModelSendUserInput",
|
|
"RealtimeModelUserInput",
|
|
"RealtimeModelUserInputMessage",
|
|
"DEFAULT_MODEL_SETTINGS",
|
|
"OpenAIRealtimeSIPModel",
|
|
"OpenAIRealtimeWebSocketModel",
|
|
"get_api_key",
|
|
"RealtimeSession"
|
|
],
|
|
"optional_bindings": {},
|
|
"optional_exports": {}
|
|
},
|
|
"agents.realtime.testing": {
|
|
"names": [
|
|
"RealtimeConnectCall",
|
|
"RealtimeScriptError",
|
|
"RealtimeStep",
|
|
"ScriptedRealtimeModel",
|
|
"UnconsumedRealtimeSteps",
|
|
"UnexpectedRealtimeSend"
|
|
],
|
|
"optional_bindings": {},
|
|
"optional_exports": {}
|
|
},
|
|
"agents.responses_websocket_session": {
|
|
"names": [
|
|
"ResponsesWebSocketSession",
|
|
"responses_websocket_session"
|
|
],
|
|
"optional_bindings": {},
|
|
"optional_exports": {}
|
|
},
|
|
"agents.run": {
|
|
"names": [
|
|
"AgentRunner",
|
|
"Runner",
|
|
"RunConfig",
|
|
"RunOptions",
|
|
"RunState",
|
|
"RunContextWrapper",
|
|
"ModelInputData",
|
|
"CallModelData",
|
|
"CallModelInputFilter",
|
|
"OutputGuardrailBlockedMessageArgs",
|
|
"OutputGuardrailBlockedMessageFormatter",
|
|
"ToolNameCollisionPolicy",
|
|
"ReasoningItemIdPolicy",
|
|
"ToolExecutionConfig",
|
|
"ToolErrorFormatter",
|
|
"ToolErrorFormatterArgs",
|
|
"ToolNotFoundBehavior",
|
|
"DEFAULT_MAX_TURNS",
|
|
"set_default_agent_runner",
|
|
"get_default_agent_runner"
|
|
],
|
|
"optional_bindings": {},
|
|
"optional_exports": {}
|
|
},
|
|
"agents.run_config": {
|
|
"names": [
|
|
"DEFAULT_MAX_TURNS",
|
|
"ToolNameCollisionPolicy",
|
|
"CallModelData",
|
|
"CallModelInputFilter",
|
|
"ModelInputData",
|
|
"OutputGuardrailBlockedMessageArgs",
|
|
"OutputGuardrailBlockedMessageFormatter",
|
|
"ReasoningItemIdPolicy",
|
|
"RunConfig",
|
|
"RunOptions",
|
|
"SandboxArchiveLimits",
|
|
"SandboxConcurrencyLimits",
|
|
"SandboxRunConfig",
|
|
"ToolExecutionConfig",
|
|
"ToolErrorFormatter",
|
|
"ToolErrorFormatterArgs",
|
|
"_default_trace_include_sensitive_data"
|
|
],
|
|
"optional_bindings": {},
|
|
"optional_exports": {}
|
|
},
|
|
"agents.sandbox": {
|
|
"names": [
|
|
"Capability",
|
|
"Dir",
|
|
"ErrorCode",
|
|
"ExecResult",
|
|
"ExposedPortEndpoint",
|
|
"ExposedPortUnavailableError",
|
|
"ExecTimeoutError",
|
|
"ExecTransportError",
|
|
"FileMode",
|
|
"Group",
|
|
"LocalFile",
|
|
"LocalSnapshot",
|
|
"LocalSnapshotSpec",
|
|
"Manifest",
|
|
"MemoryLayoutConfig",
|
|
"MemoryReadConfig",
|
|
"MemoryGenerateConfig",
|
|
"RemoteSnapshot",
|
|
"RemoteSnapshotSpec",
|
|
"Permissions",
|
|
"SandboxAgent",
|
|
"SandboxArchiveLimits",
|
|
"SandboxPathGrant",
|
|
"SandboxWorkspaceScope",
|
|
"SandboxConcurrencyLimits",
|
|
"SandboxError",
|
|
"SandboxRunConfig",
|
|
"SnapshotSpec",
|
|
"WorkspaceArchiveReadError",
|
|
"WorkspaceArchiveWriteError",
|
|
"WorkspaceReadNotFoundError",
|
|
"WorkspaceWriteTypeError",
|
|
"User",
|
|
"resolve_snapshot"
|
|
],
|
|
"optional_bindings": {},
|
|
"optional_exports": {}
|
|
},
|
|
"agents.sandbox.capabilities": {
|
|
"names": [
|
|
"Capability",
|
|
"Capabilities",
|
|
"Compaction",
|
|
"CompactionModelInfo",
|
|
"CompactionPolicy",
|
|
"DynamicCompactionPolicy",
|
|
"FilesystemToolSet",
|
|
"LazySkillSource",
|
|
"LocalDirLazySkillSource",
|
|
"Memory",
|
|
"Shell",
|
|
"ShellToolSet",
|
|
"Skill",
|
|
"SkillMetadata",
|
|
"Skills",
|
|
"StaticCompactionPolicy",
|
|
"Filesystem"
|
|
],
|
|
"optional_bindings": {},
|
|
"optional_exports": {}
|
|
},
|
|
"agents.sandbox.entries": {
|
|
"names": [
|
|
"AzureBlobMount",
|
|
"BaseEntry",
|
|
"BoxMount",
|
|
"Dir",
|
|
"File",
|
|
"DockerVolumeMountStrategy",
|
|
"FuseMountPattern",
|
|
"GCSMount",
|
|
"GitRepo",
|
|
"InContainerMountStrategy",
|
|
"LocalDir",
|
|
"LocalFile",
|
|
"Mount",
|
|
"MountPattern",
|
|
"MountPatternBase",
|
|
"MountStrategy",
|
|
"MountStrategyBase",
|
|
"MountpointMountPattern",
|
|
"R2Mount",
|
|
"RcloneMountPattern",
|
|
"S3Mount",
|
|
"S3FilesMount",
|
|
"S3FilesMountPattern",
|
|
"resolve_workspace_path"
|
|
],
|
|
"optional_bindings": {},
|
|
"optional_exports": {}
|
|
},
|
|
"agents.sandbox.session": {
|
|
"names": [
|
|
"BaseSandboxClient",
|
|
"BaseSandboxClientOptions",
|
|
"BaseSandboxSession",
|
|
"CallbackSink",
|
|
"ChainedSink",
|
|
"ClientOptionsT",
|
|
"Dependencies",
|
|
"DependenciesBindingError",
|
|
"DependenciesError",
|
|
"DependenciesMissingDependencyError",
|
|
"DependencyKey",
|
|
"ExposedPortEndpoint",
|
|
"EventPayloadPolicy",
|
|
"EventSink",
|
|
"HttpProxySink",
|
|
"Instrumentation",
|
|
"JsonlOutboxSink",
|
|
"SandboxSession",
|
|
"SandboxSessionEvent",
|
|
"SandboxSessionFinishEvent",
|
|
"SandboxSessionStartEvent",
|
|
"SandboxSessionState",
|
|
"WorkspaceJsonlSink",
|
|
"event_to_json_line",
|
|
"validate_sandbox_session_event"
|
|
],
|
|
"optional_bindings": {},
|
|
"optional_exports": {}
|
|
},
|
|
"agents.testing": {
|
|
"names": [
|
|
"InvalidModelStep",
|
|
"ModelCall",
|
|
"ModelScriptError",
|
|
"ModelStep",
|
|
"ModelStepSpec",
|
|
"InvalidSandboxStep",
|
|
"SandboxCall",
|
|
"SandboxCallMatcherError",
|
|
"SandboxScriptError",
|
|
"SandboxStepSpec",
|
|
"ScriptedSandboxSession",
|
|
"ScriptedModel",
|
|
"UnconsumedModelSteps",
|
|
"UnexpectedModelCall",
|
|
"UnconsumedSandboxSteps",
|
|
"UnexpectedSandboxCall",
|
|
"assistant_message",
|
|
"function_call",
|
|
"scripted_sandbox_session"
|
|
],
|
|
"optional_bindings": {},
|
|
"optional_exports": {}
|
|
},
|
|
"agents.testing.model": {
|
|
"names": [
|
|
"InvalidModelStep",
|
|
"ModelCall",
|
|
"ModelScriptError",
|
|
"ModelStep",
|
|
"ModelStepSpec",
|
|
"ScriptedModel",
|
|
"UnconsumedModelSteps",
|
|
"UnexpectedModelCall",
|
|
"assistant_message",
|
|
"function_call"
|
|
],
|
|
"optional_bindings": {},
|
|
"optional_exports": {}
|
|
},
|
|
"agents.testing.sandbox": {
|
|
"names": [
|
|
"InvalidSandboxStep",
|
|
"SandboxCall",
|
|
"SandboxCallMatcherError",
|
|
"SandboxScriptError",
|
|
"SandboxStepSpec",
|
|
"ScriptedSandboxSession",
|
|
"UnconsumedSandboxSteps",
|
|
"UnexpectedSandboxCall",
|
|
"scripted_sandbox_session"
|
|
],
|
|
"optional_bindings": {},
|
|
"optional_exports": {}
|
|
},
|
|
"agents.tracing": {
|
|
"names": [
|
|
"add_trace_processor",
|
|
"agent_span",
|
|
"custom_span",
|
|
"flush_traces",
|
|
"function_span",
|
|
"generation_span",
|
|
"get_current_span",
|
|
"get_current_trace",
|
|
"get_trace_provider",
|
|
"guardrail_span",
|
|
"handoff_span",
|
|
"response_span",
|
|
"set_trace_processors",
|
|
"set_trace_provider",
|
|
"set_tracing_disabled",
|
|
"TracingConfig",
|
|
"TraceCtxManager",
|
|
"trace",
|
|
"task_span",
|
|
"turn_span",
|
|
"Trace",
|
|
"SpanError",
|
|
"Span",
|
|
"SpanData",
|
|
"AgentSpanData",
|
|
"CustomSpanData",
|
|
"FunctionSpanData",
|
|
"GenerationSpanData",
|
|
"GuardrailSpanData",
|
|
"HandoffSpanData",
|
|
"MCPListToolsSpanData",
|
|
"ResponseSpanData",
|
|
"SpeechGroupSpanData",
|
|
"SpeechSpanData",
|
|
"TaskSpanData",
|
|
"TranscriptionSpanData",
|
|
"TurnSpanData",
|
|
"TracingProcessor",
|
|
"TraceProvider",
|
|
"gen_trace_id",
|
|
"gen_span_id",
|
|
"speech_group_span",
|
|
"speech_span",
|
|
"transcription_span",
|
|
"mcp_tools_span"
|
|
],
|
|
"optional_bindings": {},
|
|
"optional_exports": {}
|
|
},
|
|
"agents.voice": {
|
|
"names": [
|
|
"AudioInput",
|
|
"StreamedAudioInput",
|
|
"STTModel",
|
|
"STTModelSettings",
|
|
"TTSCustomVoice",
|
|
"TTSModel",
|
|
"TTSModelSettings",
|
|
"TTSVoice",
|
|
"VoiceModelProvider",
|
|
"StreamedAudioResult",
|
|
"SingleAgentVoiceWorkflow",
|
|
"OpenAIVoiceModelProvider",
|
|
"OpenAISTTModel",
|
|
"OpenAITTSModel",
|
|
"VoiceStreamEventAudio",
|
|
"VoiceStreamEventError",
|
|
"VoiceStreamEventLifecycle",
|
|
"VoiceStreamEvent",
|
|
"VoicePipeline",
|
|
"VoicePipelineConfig",
|
|
"get_sentence_based_splitter",
|
|
"VoiceWorkflowHelper",
|
|
"VoiceWorkflowBase",
|
|
"SingleAgentWorkflowCallbacks",
|
|
"StreamedTranscriptionSession",
|
|
"OpenAISTTTranscriptionSession",
|
|
"STTWebsocketConnectionError"
|
|
],
|
|
"optional_bindings": {
|
|
"AudioInput": "numpy",
|
|
"OpenAISTTModel": "numpy",
|
|
"OpenAISTTTranscriptionSession": "numpy",
|
|
"OpenAITTSModel": "numpy",
|
|
"OpenAIVoiceModelProvider": "numpy",
|
|
"STTModel": "numpy",
|
|
"STTModelSettings": "numpy",
|
|
"STTWebsocketConnectionError": "numpy",
|
|
"SingleAgentVoiceWorkflow": "numpy",
|
|
"SingleAgentWorkflowCallbacks": "numpy",
|
|
"StreamedAudioInput": "numpy",
|
|
"StreamedAudioResult": "numpy",
|
|
"StreamedTranscriptionSession": "numpy",
|
|
"TTSCustomVoice": "numpy",
|
|
"TTSModel": "numpy",
|
|
"TTSModelSettings": "numpy",
|
|
"TTSVoice": "numpy",
|
|
"VoiceModelProvider": "numpy",
|
|
"VoicePipeline": "numpy",
|
|
"VoicePipelineConfig": "numpy",
|
|
"VoiceStreamEvent": "numpy",
|
|
"VoiceStreamEventAudio": "numpy",
|
|
"VoiceStreamEventError": "numpy",
|
|
"VoiceStreamEventLifecycle": "numpy",
|
|
"VoiceWorkflowBase": "numpy",
|
|
"VoiceWorkflowHelper": "numpy",
|
|
"get_sentence_based_splitter": "numpy"
|
|
},
|
|
"optional_exports": {}
|
|
},
|
|
"agents.voice.imports": {
|
|
"names": [
|
|
"np",
|
|
"npt",
|
|
"websockets"
|
|
],
|
|
"optional_bindings": {
|
|
"np": "numpy",
|
|
"npt": "numpy",
|
|
"websockets": "numpy"
|
|
},
|
|
"optional_exports": {}
|
|
},
|
|
"agents.voice.testing": {
|
|
"names": [
|
|
"STTCall",
|
|
"STTSessionCall",
|
|
"ScriptedSTTModel",
|
|
"ScriptedTTSModel",
|
|
"ScriptedTranscriptionSession",
|
|
"ScriptedVoiceWorkflow",
|
|
"TTSCall",
|
|
"TTSResult",
|
|
"UnconsumedVoiceSteps",
|
|
"UnexpectedVoiceCall",
|
|
"VoiceScriptError",
|
|
"pcm16_samples"
|
|
],
|
|
"optional_bindings": {
|
|
"STTCall": "numpy",
|
|
"STTSessionCall": "numpy",
|
|
"ScriptedSTTModel": "numpy",
|
|
"ScriptedTTSModel": "numpy",
|
|
"ScriptedTranscriptionSession": "numpy",
|
|
"ScriptedVoiceWorkflow": "numpy",
|
|
"TTSCall": "numpy",
|
|
"TTSResult": "numpy",
|
|
"UnconsumedVoiceSteps": "numpy",
|
|
"UnexpectedVoiceCall": "numpy",
|
|
"VoiceScriptError": "numpy",
|
|
"pcm16_samples": "numpy"
|
|
},
|
|
"optional_exports": {}
|
|
}
|
|
},
|
|
"required_top_level_exports": [
|
|
"Agent",
|
|
"AgentBase",
|
|
"AgentToolStreamEvent",
|
|
"StopAtTools",
|
|
"ToolsToFinalOutputFunction",
|
|
"ToolsToFinalOutputResult",
|
|
"default_handoff_history_mapper",
|
|
"get_conversation_history_wrappers",
|
|
"nest_handoff_history",
|
|
"reset_conversation_history_wrappers",
|
|
"set_conversation_history_wrappers",
|
|
"Runner",
|
|
"apply_diff",
|
|
"run_demo_loop",
|
|
"Model",
|
|
"ModelProvider",
|
|
"ModelTracing",
|
|
"ModelSettings",
|
|
"ModelRetryAdvice",
|
|
"ModelRetryAdviceRequest",
|
|
"ModelRetryBackoffSettings",
|
|
"ModelRetryNormalizedError",
|
|
"ModelRetrySettings",
|
|
"RetryDecision",
|
|
"RetryPolicy",
|
|
"RetryPolicyContext",
|
|
"retry_policies",
|
|
"OpenAIChatCompletionsModel",
|
|
"MultiProvider",
|
|
"OpenAIProvider",
|
|
"OpenAIAgentRegistrationConfig",
|
|
"OpenAIResponsesModel",
|
|
"OpenAIResponsesWSModel",
|
|
"AgentOutputSchema",
|
|
"AgentOutputSchemaBase",
|
|
"Computer",
|
|
"AsyncComputer",
|
|
"Environment",
|
|
"Button",
|
|
"AgentsException",
|
|
"InputGuardrailTripwireTriggered",
|
|
"OutputGuardrailTripwireTriggered",
|
|
"ToolInputGuardrailTripwireTriggered",
|
|
"ToolOutputGuardrailTripwireTriggered",
|
|
"DynamicPromptFunction",
|
|
"GenerateDynamicPromptData",
|
|
"Prompt",
|
|
"MaxTurnsExceeded",
|
|
"MCPToolCancellationError",
|
|
"ModelBehaviorError",
|
|
"ModelRefusalError",
|
|
"ToolTimeoutError",
|
|
"UserError",
|
|
"InputGuardrail",
|
|
"InputGuardrailResult",
|
|
"OutputGuardrail",
|
|
"OutputGuardrailResult",
|
|
"GuardrailFunctionOutput",
|
|
"input_guardrail",
|
|
"output_guardrail",
|
|
"ToolInputGuardrail",
|
|
"ToolOutputGuardrail",
|
|
"ToolGuardrailFunctionOutput",
|
|
"ToolInputGuardrailData",
|
|
"ToolInputGuardrailResult",
|
|
"ToolOutputGuardrailData",
|
|
"ToolOutputGuardrailResult",
|
|
"tool_input_guardrail",
|
|
"tool_output_guardrail",
|
|
"handoff",
|
|
"Handoff",
|
|
"HandoffInputData",
|
|
"HandoffInputFilter",
|
|
"TResponseInputItem",
|
|
"MessageOutputItem",
|
|
"ModelResponse",
|
|
"RunItem",
|
|
"HandoffCallItem",
|
|
"HandoffOutputItem",
|
|
"ToolApprovalItem",
|
|
"MCPApprovalRequestItem",
|
|
"MCPApprovalResponseItem",
|
|
"MCPListToolsItem",
|
|
"ToolCallItem",
|
|
"ToolCallOutputItem",
|
|
"ToolSearchCallItem",
|
|
"ToolSearchOutputItem",
|
|
"ToolOrigin",
|
|
"ToolOriginType",
|
|
"ReasoningItem",
|
|
"ItemHelpers",
|
|
"RunHooks",
|
|
"AgentHooks",
|
|
"Session",
|
|
"SessionABC",
|
|
"SessionSettings",
|
|
"SQLiteSession",
|
|
"OpenAIConversationsSession",
|
|
"OpenAIResponsesCompactionSession",
|
|
"OpenAIResponsesCompactionArgs",
|
|
"OpenAIResponsesCompactionAwareSession",
|
|
"is_openai_responses_compaction_aware_session",
|
|
"CompactionItem",
|
|
"AgentHookContext",
|
|
"RunContextWrapper",
|
|
"TContext",
|
|
"RunErrorDetails",
|
|
"RunErrorData",
|
|
"RunErrorHandler",
|
|
"RunErrorHandlerInput",
|
|
"RunErrorHandlerResult",
|
|
"RunErrorHandlers",
|
|
"AgentToolInvocation",
|
|
"RunResult",
|
|
"RunResultStreaming",
|
|
"ResponsesWebSocketSession",
|
|
"RunConfig",
|
|
"ToolNameCollisionPolicy",
|
|
"ReasoningItemIdPolicy",
|
|
"ToolExecutionConfig",
|
|
"ToolErrorFormatter",
|
|
"ToolErrorFormatterArgs",
|
|
"ToolNotFoundBehavior",
|
|
"RunState",
|
|
"RawResponsesStreamEvent",
|
|
"RunItemStreamEvent",
|
|
"AgentUpdatedStreamEvent",
|
|
"StreamEvent",
|
|
"FunctionTool",
|
|
"FunctionToolCustomDataContext",
|
|
"FunctionToolCustomDataExtractor",
|
|
"FunctionToolResult",
|
|
"ComputerTool",
|
|
"ComputerToolCustomDataContext",
|
|
"ComputerToolCustomDataExtractor",
|
|
"ComputerProvider",
|
|
"CustomTool",
|
|
"CustomToolCustomDataContext",
|
|
"CustomToolCustomDataExtractor",
|
|
"FileSearchTool",
|
|
"CodeInterpreterTool",
|
|
"ImageGenerationTool",
|
|
"LocalShellCommandRequest",
|
|
"LocalShellExecutor",
|
|
"LocalShellTool",
|
|
"ShellActionRequest",
|
|
"ShellCallData",
|
|
"ShellCallOutcome",
|
|
"ShellCommandOutput",
|
|
"ShellCommandRequest",
|
|
"ShellToolLocalSkill",
|
|
"ShellToolSkillReference",
|
|
"ShellToolInlineSkillSource",
|
|
"ShellToolInlineSkill",
|
|
"ShellToolContainerSkill",
|
|
"ShellToolContainerNetworkPolicyDomainSecret",
|
|
"ShellToolContainerNetworkPolicyAllowlist",
|
|
"ShellToolContainerNetworkPolicyDisabled",
|
|
"ShellToolContainerNetworkPolicy",
|
|
"ShellToolLocalEnvironment",
|
|
"ShellToolContainerAutoEnvironment",
|
|
"ShellToolContainerReferenceEnvironment",
|
|
"ShellToolHostedEnvironment",
|
|
"ShellToolEnvironment",
|
|
"ShellExecutor",
|
|
"ShellResult",
|
|
"ShellTool",
|
|
"ApplyPatchEditor",
|
|
"ApplyPatchOperation",
|
|
"ApplyPatchResult",
|
|
"ApplyPatchTool",
|
|
"ApplyPatchToolCustomDataContext",
|
|
"ApplyPatchToolCustomDataExtractor",
|
|
"ProgrammaticToolCallingTool",
|
|
"Tool",
|
|
"ToolCaller",
|
|
"WebSearchTool",
|
|
"HostedMCPTool",
|
|
"MCPToolApprovalFunction",
|
|
"MCPToolApprovalRequest",
|
|
"MCPToolApprovalFunctionResult",
|
|
"ToolOutputText",
|
|
"ToolOutputTextDict",
|
|
"ToolOutputImage",
|
|
"ToolOutputImageDict",
|
|
"ToolOutputFileContent",
|
|
"ToolOutputFileContentDict",
|
|
"ToolSearchTool",
|
|
"function_tool",
|
|
"tool_namespace",
|
|
"resolve_computer",
|
|
"dispose_resolved_computers",
|
|
"Usage",
|
|
"add_trace_processor",
|
|
"agent_span",
|
|
"custom_span",
|
|
"flush_traces",
|
|
"function_span",
|
|
"generation_span",
|
|
"get_current_span",
|
|
"get_current_trace",
|
|
"guardrail_span",
|
|
"handoff_span",
|
|
"response_span",
|
|
"set_trace_processors",
|
|
"set_trace_provider",
|
|
"set_tracing_disabled",
|
|
"speech_group_span",
|
|
"transcription_span",
|
|
"speech_span",
|
|
"mcp_tools_span",
|
|
"task_span",
|
|
"trace",
|
|
"turn_span",
|
|
"Trace",
|
|
"TracingProcessor",
|
|
"SpanError",
|
|
"Span",
|
|
"SpanData",
|
|
"AgentSpanData",
|
|
"CustomSpanData",
|
|
"FunctionSpanData",
|
|
"GenerationSpanData",
|
|
"GuardrailSpanData",
|
|
"HandoffSpanData",
|
|
"SpeechGroupSpanData",
|
|
"SpeechSpanData",
|
|
"MCPListToolsSpanData",
|
|
"ResponseSpanData",
|
|
"TaskSpanData",
|
|
"TranscriptionSpanData",
|
|
"TurnSpanData",
|
|
"set_default_openai_key",
|
|
"set_default_openai_client",
|
|
"set_default_openai_api",
|
|
"set_default_openai_responses_transport",
|
|
"OpenAIResponsesWebSocketOptions",
|
|
"set_default_openai_harness",
|
|
"set_default_openai_agent_registration",
|
|
"responses_websocket_session",
|
|
"set_tracing_export_api_key",
|
|
"enable_verbose_stdout_logging",
|
|
"gen_trace_id",
|
|
"gen_span_id",
|
|
"default_tool_error_function",
|
|
"sandbox",
|
|
"__version__",
|
|
"InputItem",
|
|
"ModelTimeoutError",
|
|
"OutputGuardrailBlockedMessageArgs",
|
|
"OutputGuardrailBlockedMessageFormatter",
|
|
"WebSearchToolImageSettings",
|
|
"ImageGenerationToolConfig"
|
|
],
|
|
"submodule_export_exclusions": [
|
|
"agents.sandbox.sandboxes"
|
|
]
|
|
}
|