Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 24 additions & 2 deletions python/packages/claude/agent_framework_claude/_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
SdkPluginConfig,
SettingSource,
)
from claude_agent_sdk.types import ThinkingConfig
from claude_agent_sdk.types import TaskBudget, ThinkingConfig

Comment thread
giles17 marked this conversation as resolved.

logger = logging.getLogger("agent_framework.claude")
Expand Down Expand Up @@ -221,9 +221,31 @@ class ClaudeAgentOptions(TypedDict, total=False):
thinking: ThinkingConfig
"""Extended thinking configuration (adaptive, enabled, or disabled)."""

effort: Literal["low", "medium", "high", "max"]
effort: Literal["low", "medium", "high", "xhigh", "max"]
"""Effort level for thinking depth."""

skills: list[str] | Literal["all"]
"""Skills to enable for the main session. Use ``"all"`` for every discovered skill,
a list of named skills, or ``[]`` to suppress all skills."""

session_id: str
Comment thread
giles17 marked this conversation as resolved.
"""Use a specific session ID (must be a valid UUID) instead of auto-generated."""

task_budget: TaskBudget
"""API-side task budget in tokens for pacing tool use."""

include_hook_events: bool
"""When True, hook lifecycle events are emitted in the message stream."""

strict_mcp_config: bool
"""When True, only use MCP servers passed via ``mcp_servers``, ignoring all others."""

continue_conversation: bool
"""Continue the most recent conversation instead of starting a new one."""

fork_session: bool
"""When True, resumed sessions fork to a new session ID."""

on_function_approval: FunctionApprovalCallback
"""Approval callback for ``FunctionTool`` instances declared with
``approval_mode="always_require"``. The callback is awaited (sync or async)
Expand Down
2 changes: 1 addition & 1 deletion python/packages/claude/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ classifiers = [
]
dependencies = [
"agent-framework-core>=1.6.0,<2",
"claude-agent-sdk>=0.1.36,<0.1.49",
"claude-agent-sdk>=0.2.87,<0.3",
Comment thread
giles17 marked this conversation as resolved.
Outdated
]

[tool.uv]
Expand Down
16 changes: 9 additions & 7 deletions python/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading