diff --git a/AGENTS.md b/AGENTS.md index db394e9..a0fd498 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -57,10 +57,10 @@ capabilities needed for real work. |------------|---------|---------|-----------------| | Python | >=3.10 | Package runtime | Claude Agent SDK, Codex SDK, and Google Antigravity all currently advertise Python 3.10+ compatibility. | | Pydantic | 2.13.4 current; use >=2.12 | Public request/result validation where useful | Mature typed validation without forcing callers into framework-specific models. | -| claude-agent-sdk | 0.2.157 current | Claude runtime adapter | Official Agent SDK for Claude Code-style local agent execution. | -| openai-codex | 0.154.0 current | Codex runtime adapter | Official Python SDK for Codex app-server integration. | -| openai-codex-cli-bin | 0.154.0 current compatible | Codex runtime dependency | Exact runtime dependency selected by openai-codex 0.154.0; keep the SDK and CLI coupled. | -| google-antigravity | 0.1.17 current | Antigravity runtime adapter | Official Google Antigravity Python SDK for local agent harness integration. | +| claude-agent-sdk | 0.2.163 current | Claude runtime adapter | Official Agent SDK for Claude Code-style local agent execution. | +| openai-codex | 0.160.0 current | Codex runtime adapter | Official Python SDK for Codex app-server integration. | +| openai-codex-cli-bin | 0.160.0 current compatible | Codex runtime dependency | Exact runtime dependency selected by openai-codex 0.160.0; keep the SDK and CLI coupled. | +| google-antigravity | 0.1.20 current | Antigravity runtime adapter | Official Google Antigravity Python SDK for local agent harness integration. | | anyio or asyncio | stdlib plus optional anyio | Async runtime compatibility | Vendor SDKs are async; the public API should be async-first. | | OpenTelemetry API | 1.42.1 current | Optional event/trace integration | Mestre already normalizes agent events into span-event-shaped payloads; community users will expect observability hooks. | @@ -125,10 +125,10 @@ capabilities needed for real work. | Package | Current Version Checked | Python | Notes | |---------|-------------------------|--------|-------| -| claude-agent-sdk | 0.2.157 | >=3.10 | Adapter-contract tests must detect option-surface drift. | -| openai-codex | 0.154.0 | >=3.10 | Pre-1.0 package; isolate Codex SDK API drift behind adapter boundaries. | -| openai-codex-cli-bin | 0.154.0 | >=3.10 | Exact runtime dependency for openai-codex 0.154.0. | -| google-antigravity | 0.1.17 | >=3.10 | Includes compiled runtime wheels; install from PyPI rather than source checkout. | +| claude-agent-sdk | 0.2.163 | >=3.10 | Adapter-contract tests must detect option-surface drift. | +| openai-codex | 0.160.0 | >=3.10 | Pre-1.0 package; isolate Codex SDK API drift behind adapter boundaries. | +| openai-codex-cli-bin | 0.160.0 | >=3.10 | Exact runtime dependency for openai-codex 0.160.0. | +| google-antigravity | 0.1.20 | >=3.10 | Includes compiled runtime wheels; install from PyPI rather than source checkout. | | google-genai | 2.8.0 | >=3.10 | Not a core runtime adapter dependency unless Antigravity or future Google direct paths need it. | ## Sources diff --git a/CHANGELOG.md b/CHANGELOG.md index 7607e72..3ed70f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,24 @@ All notable changes to this project are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased + +### Added + +- Claude runtime exposes opt-in `verbatim_prompts=True` for literal composed + goals, with a typed refusal if the installed SDK cannot honor the option. + +### Changed + +- Updated tested Claude Agent SDK to `0.2.163`, Google Antigravity SDK to + `0.1.20`, and the exactly coupled Codex SDK and CLI to `0.160.0`. + +### Fixed + +- Antigravity explicit read-only allowlists retain directory/search tools after + the SDK removes them from default tool collections, without re-enabling them + by default or admitting deprecated write tools. + ## 0.5.2 - 2026-09-19 ### Changed diff --git a/docs/providers.md b/docs/providers.md index 7970bc6..af2eddc 100644 --- a/docs/providers.md +++ b/docs/providers.md @@ -153,6 +153,17 @@ per-query session id. `AgentResult.metadata["sdk_process_reuse_scope"]` reports `"conversation"` or `"shared"` accordingly. The runtime restarts the SDK process when the option fingerprint changes and evicts it after SDK exceptions. +With Claude Agent SDK 0.2.158 or newer, pass +`ClaudeAgentRuntime(verbatim_prompts=True)` when goals contain composed or +third-party text. This opts into the SDK's literal prompt delivery: `@path` +mentions and slash commands are not expanded or dispatched. The default stays +`False`. An older SDK that cannot accept the requested option raises +`UnsupportedTaskInputError` before dispatch. The bundled Claude CLI must be +2.1.248 or newer; older custom CLIs may ignore the option. Verbatim delivery also +skips the CLI's initial attachment pass, including MCP mentions, nested +`CLAUDE.md`/rules, and skill/tool listings; some context arrives after the first +tool call instead. It applies to both one-shot and reused-process execution. + Codex uses the `openai-codex` package and maps working directory, session resume, approval mode, sandbox, structured output, model, and reasoning effort. Approval mode follows `PermissionMode`: `STRICT`/`CAUTIOUS` → `deny_all` (never @@ -233,6 +244,13 @@ dropped only for `STRICT`. When an explicit `allowed_tools` list is combined wit a `READ_ONLY` filesystem, any non-read-only tool in it is rejected rather than silently granted. +Antigravity 0.1.20 removes `list_directory`, `search_directory`, and `find_file` +from its default read-only and nondestructive collections. Request them +explicitly through `allowed_tools` when needed; they remain valid under +`READ_ONLY` or `STRICT`. Default and deny-list baselines continue to follow the +SDK's collections. The SDK also adds `schedule` to those collections; callers +that need a narrower toolset should provide an explicit allow-list. + A deny-list under a `READ_ONLY` filesystem (or `STRICT`) subtracts from the read-only toolset, and under `DEFAULT`/`CAUTIOUS` from the nondestructive toolset — `disabled_tools` alone would re-enable every unnamed write or diff --git a/docs/sdk-upgrade-2026-10.md b/docs/sdk-upgrade-2026-10.md new file mode 100644 index 0000000..f069624 --- /dev/null +++ b/docs/sdk-upgrade-2026-10.md @@ -0,0 +1,49 @@ +# October 2026 SDK integration review + +The October 2 upgrade starts at `da3cf8a` and targets Claude Agent SDK +`0.2.163`, Codex SDK and its exactly coupled CLI `0.160.0`, and Antigravity +`0.1.20`. These are the latest stable PyPI releases observed that day. Keep +Python 3.10 support, provider extras, and the existing Codex `0.157.1` minimum +needed for named permission profiles; raise its excluding upper bound to +`<0.161`. + +## Upstream changes and adapter decisions + +| Observed upstream change | Impact and decision | +| --- | --- | +| Claude `0.2.157` to `0.2.163`: new `verbatim_prompts`, plus session-state handling and bounded background-subagent input lifetime. | Expose `ClaudeAgentRuntime(verbatim_prompts=True)` as an opt-in constructor option for composed goals. Require SDK support instead of silently dropping it. Preserve existing defaults because verbatim delivery also skips the initial attachment pass. Continue using SDK-owned `query()` and `ClaudeSDKClient` lifecycle management rather than duplicating the new run-end state machine. | +| Codex `0.157.1` to `0.160.0`: generated protocol adds history anchors, MCP server discovery filtering and error variants, and removes plugin UI models. | Already supported or outside scope: the adapter uses unchanged `AsyncThread.run`/thread APIs, preserves interrupted-turn error messages, and does not expose history pagination or plugin management. Keep native permission profiles, sandbox mapping, schemas, reuse and typed model/effort selection. Upgrade the SDK and its exact CLI dependency together. | +| Antigravity `0.1.20`: directory/search tools move from default collections to `deprecated()`; `schedule` joins the read-only/nondestructive collections. | Adapt explicit read-only allowlist validation to admit the three known legacy read-only tools that the SDK still supports. Keep SDK-owned default and deny-list collections; do not add legacy tools back to defaults or admit arbitrary deprecated write tools. Existing enum validation permits callers to explicitly select or deny `schedule`. | +| Antigravity policy auto-review, subagent model overrides and evaluation presets. | Outside this package's current task contract: permission modes already map to explicit capabilities and policies; the kit does not configure vendor subagents or benchmark orchestration. Do not switch callers to new policies or evaluation defaults implicitly. | +| Antigravity local event parsing tolerates unknown service tiers, handles policy denials and suppresses error-step text. | Already delegated to the SDK before the adapter consumes typed chunks. Continue normalizing token usage and stop reasons; do not duplicate the harness's parsing/policy machinery. | +| Bundled Claude CLI, Codex executables/resources and Antigravity harness change. | Artifact fingerprints establish distribution changes, not binary internals. Verify the final bundled Codex CLI through live structured tasks and keep live Claude/Antigravity execution distinct from local configuration probes. | + +## Evidence and validation boundaries + +The repository evolution runner collects exact baseline/candidate API and +configuration probes, recent-release Python definition/file diffs, upstream +release sources, resolver evidence, and direction/architecture/review gates. +All sixteen recent-release implementation snapshots and the four exact +baseline/candidate comparisons completed successfully before application. +Resolution, declarations, lockfile and compatibility manifest are updated +together by the runner's verified atomic transaction. + +Regression coverage exercises both Claude dispatch paths, unsupported-SDK +refusal, and real SDK option construction. Antigravity tests exercise real SDK +explicit legacy tool allowlists, default preservation, and rejection of write +tools, including a hypothetical deprecated write tool. These configuration +checks do not contact providers or construct live Antigravity agents. + +Official Antigravity sources did not provide a matching `0.1.20` release-note +entry during collection. Exact published wheel sources and executable +configuration probes establish the inspected changes; retain the release-note +coverage limit separately from compatibility findings. + +Sources: [Claude SDK changelog](https://github.com/anthropics/claude-agent-sdk-python/blob/main/CHANGELOG.md), +[Codex SDK documentation](https://learn.chatgpt.com/docs/codex-sdk), +[Codex releases](https://github.com/openai/codex/releases), +[Antigravity SDK](https://github.com/google-antigravity/antigravity-sdk-python), +and the published [Claude](https://pypi.org/project/claude-agent-sdk/0.2.163/), +[Codex](https://pypi.org/project/openai-codex/0.160.0/), +[Codex CLI](https://pypi.org/project/openai-codex-cli-bin/0.160.0/), and +[Antigravity](https://pypi.org/project/google-antigravity/0.1.20/) distributions. diff --git a/pyproject.toml b/pyproject.toml index b835f3d..a1cc7d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,14 +46,14 @@ dependencies = ["jsonschema>=4.18,<5", "tomli>=2,<3; python_version < '3.11'"] # already-installed users from a surprise vendor release. The sdk-evolution agent # raises these deliberately after verifying a new version. claude = ["claude-agent-sdk>=0.2.87,<0.3"] -# 0.157.1 is the tested SDK and CLI pair for native named profiles. Earlier +# 0.157.1 is the minimum SDK and CLI pair for native named profiles. Earlier # bundled CLIs do not enforce every profile rule needed by restricted runtimes. -codex = ["openai-codex>=0.157.1,<0.158"] +codex = ["openai-codex>=0.157.1,<0.161"] antigravity = ["google-antigravity>=0.1.2,<0.2"] all = [ "claude-agent-sdk>=0.2.87,<0.3", "google-antigravity>=0.1.2,<0.2", - "openai-codex>=0.157.1,<0.158", + "openai-codex>=0.157.1,<0.161", ] [project.urls] diff --git a/src/agent_runtime_kit/adapters/antigravity.py b/src/agent_runtime_kit/adapters/antigravity.py index ef7803a..a7eea2e 100644 --- a/src/agent_runtime_kit/adapters/antigravity.py +++ b/src/agent_runtime_kit/adapters/antigravity.py @@ -988,6 +988,18 @@ def _reject_non_read_only_tools(kind: AgentRuntimeKind, tools: list[Any], builti getattr(tool, "value", tool) for tool in _read_only_tools(kind, "permissions.allowed_tools", builtin) } + # 0.1.20 removes legacy directory/search tools from default collections, + # while Agent still classifies them as read-only when explicitly enabled. + # Keep defaults unchanged and admit only the known read-only legacy values; + # a future deprecated write tool must not widen this permission guard. + deprecated = getattr(builtin, "deprecated", None) + if callable(deprecated): + allowed.update( + getattr(tool, "value", tool) + for tool in deprecated() + if getattr(tool, "value", tool) + in {"list_directory", "search_directory", "find_file"} + ) for tool in tools: value = getattr(tool, "value", tool) if value not in allowed: diff --git a/src/agent_runtime_kit/adapters/claude.py b/src/agent_runtime_kit/adapters/claude.py index c13f51d..54af3ae 100644 --- a/src/agent_runtime_kit/adapters/claude.py +++ b/src/agent_runtime_kit/adapters/claude.py @@ -86,6 +86,7 @@ def __init__( default_model: str | None = None, supported_models: tuple[str, ...] | None = None, env: Mapping[str, str] | None = None, + verbatim_prompts: bool = False, query_func: Any | None = None, options_cls: Any | None = None, client_cls: Any | None = None, @@ -96,6 +97,7 @@ def __init__( default_model, supported_models ) self._env = dict(env) if env is not None else None + self._verbatim_prompts = verbatim_prompts self._query_func = query_func self._options_cls = options_cls self._client_cls = client_cls @@ -413,6 +415,8 @@ def _build_options( setting_sources = metadata.get("setting_sources") if isinstance(setting_sources, list): kwargs["setting_sources"] = [str(item) for item in setting_sources] + if self._verbatim_prompts: + kwargs["verbatim_prompts"] = True # Security posture must fail closed under vendor drift: the permission # mode always, and the tool filters whenever the task requested any. required = {"permission_mode": "permissions"} @@ -422,6 +426,10 @@ def _build_options( required["disallowed_tools"] = "permissions" if task.budget_usd is not None: required["max_budget_usd"] = "budget_usd" + if self._verbatim_prompts: + # An explicit request to disable prompt expansion must never be + # silently dropped by an older or drifted SDK. + required["verbatim_prompts"] = "verbatim_prompts" supported, dropped = filter_supported_kwargs( options_cls, kwargs, required=required, kind=self.kind ) diff --git a/src/agent_runtime_kit/compatibility.py b/src/agent_runtime_kit/compatibility.py index 3237234..f46f0b0 100644 --- a/src/agent_runtime_kit/compatibility.py +++ b/src/agent_runtime_kit/compatibility.py @@ -66,17 +66,17 @@ def __post_init__(self) -> None: package="claude-agent-sdk", module="claude_agent_sdk", version_specifier=">=0.2.87,<0.3", - tested_version="0.2.157", + tested_version="0.2.163", ), RuntimeCompatibility( kind=AgentRuntimeKind.CODEX_AGENT_SDK, extra="codex", package="openai-codex", module="openai_codex", - version_specifier=">=0.157.1,<0.158", - tested_version="0.157.1", + version_specifier=">=0.157.1,<0.161", + tested_version="0.160.0", tested_runtime_dependencies=( - PackageVersion(package="openai-codex-cli-bin", version="0.157.1"), + PackageVersion(package="openai-codex-cli-bin", version="0.160.0"), ), ), RuntimeCompatibility( @@ -85,7 +85,7 @@ def __post_init__(self) -> None: package="google-antigravity", module="google.antigravity", version_specifier=">=0.1.2,<0.2", - tested_version="0.1.17", + tested_version="0.1.20", ), ) diff --git a/tests/test_antigravity_adapter.py b/tests/test_antigravity_adapter.py index c3e092e..bebf83e 100644 --- a/tests/test_antigravity_adapter.py +++ b/tests/test_antigravity_adapter.py @@ -1180,6 +1180,66 @@ async def test_antigravity_strict_honors_read_only_allow_list(tmp_path: Path) -> assert config.kwargs["policies"] == [] +@pytest.mark.asyncio +@pytest.mark.parametrize("tool", ["list_directory", "search_directory", "find_file"]) +@pytest.mark.parametrize("mode", [PermissionMode.STRICT, PermissionMode.DEFAULT]) +async def test_antigravity_explicit_legacy_read_only_tools_survive_default_removal( + tmp_path: Path, tool: str, mode: PermissionMode +) -> None: + class NewBuiltinTools(str, enum.Enum): + LIST_DIR = "list_directory" + SEARCH_DIR = "search_directory" + FIND_FILE = "find_file" + VIEW_FILE = "view_file" + EDIT_FILE = "edit_file" + FINISH = "finish" + + @classmethod + def read_only(cls): + return [cls.VIEW_FILE, cls.FINISH] + + @classmethod + def deprecated(cls): + # Include a hypothetical deprecated write tool to prove that only + # known read-only legacy tools are admitted by the adapter. + return [cls.LIST_DIR, cls.SEARCH_DIR, cls.FIND_FILE, cls.EDIT_FILE] + + class NewTypes(FakeTypes): + BuiltinTools = NewBuiltinTools + + runtime = AntigravityAgentRuntime( + api_key="key", + data_dir=tmp_path, + agent_cls=FakeAgent, + config_cls=FakeConfig, + types_module=NewTypes, + policy_module=FakePolicy, + ) + permissions = PermissionProfile(mode=mode, filesystem=FilesystemAccess.READ_ONLY) + await runtime.run(AgentTask(goal="defaults", permissions=permissions)) + assert FakeAgent.last_config.kwargs["capabilities"].enabled_tools == NewBuiltinTools.read_only() + + await runtime.run( + AgentTask( + goal="explicit legacy tool", + permissions=PermissionProfile( + mode=mode, filesystem=FilesystemAccess.READ_ONLY, allowed_tools=(tool,) + ), + ) + ) + assert FakeAgent.last_config.kwargs["capabilities"].enabled_tools == [NewBuiltinTools(tool)] + + with pytest.raises(UnsupportedTaskInputError): + await runtime.run( + AgentTask( + goal="write tool", + permissions=PermissionProfile( + mode=mode, filesystem=FilesystemAccess.READ_ONLY, allowed_tools=("edit_file",) + ), + ) + ) + + @pytest.mark.asyncio async def test_antigravity_read_only_allowlist_fails_closed_without_readonly_toolset( tmp_path: Path, diff --git a/tests/test_claude_adapter.py b/tests/test_claude_adapter.py index 7436225..23adcef 100644 --- a/tests/test_claude_adapter.py +++ b/tests/test_claude_adapter.py @@ -38,6 +38,7 @@ class FakeClaudeOptions: setting_sources: list[str] | None = None env: dict[str, str] | None = None max_turns: int | None = None + verbatim_prompts: bool = False # Records the options object passed to query so tests can assert request shape. @@ -131,6 +132,57 @@ def result_message(**extra: Any) -> dict: return base +@pytest.mark.asyncio +@pytest.mark.parametrize("reuse_process", [False, True]) +async def test_claude_verbatim_prompts_reaches_both_sdk_paths(reuse_process: bool) -> None: + messages = [assistant("ok"), result_message()] + FakeClaudeClient.messages = messages + runtime = ClaudeAgentRuntime( + verbatim_prompts=True, + reuse_process=reuse_process, + query_func=make_query(messages), + options_cls=FakeClaudeOptions, + client_cls=FakeClaudeClient, + ) + goal = "/review @/private/example.txt" + async with runtime: + await runtime.run(AgentTask(goal=goal)) + + if reuse_process: + client = FakeClaudeClient.instances[0] + assert client.options.verbatim_prompts is True + assert client.queries[0][0] == goal + else: + assert RECORDED["options"].verbatim_prompts is True + assert RECORDED["prompt"] == goal + + +@pytest.mark.asyncio +async def test_claude_verbatim_prompts_fails_closed_on_older_sdk() -> None: + @dataclass + class OlderOptions: + allowed_tools: list[str] = field(default_factory=list) + disallowed_tools: list[str] = field(default_factory=list) + permission_mode: str | None = None + + runtime = ClaudeAgentRuntime( + query_func=make_query([assistant("ok"), result_message()]), options_cls=OlderOptions + ) + result = await runtime.run(AgentTask(goal="x")) + assert "verbatim_prompts" not in result.metadata.get("dropped_options", []) + RECORDED.clear() + + protected = ClaudeAgentRuntime( + verbatim_prompts=True, + query_func=make_query([assistant("ok"), result_message()]), + options_cls=OlderOptions, + ) + with pytest.raises(UnsupportedTaskInputError) as exc_info: + await protected.run(AgentTask(goal="/review @/private/example.txt")) + assert exc_info.value.field == "verbatim_prompts" + assert not RECORDED + + @pytest.mark.asyncio async def test_claude_runtime_runs_with_injected_sdk() -> None: sink = RecordingEventSink() diff --git a/tests/test_sdk_contract.py b/tests/test_sdk_contract.py index f5375b6..81175eb 100644 --- a/tests/test_sdk_contract.py +++ b/tests/test_sdk_contract.py @@ -89,6 +89,22 @@ def test_claude_message_and_block_types_exist() -> None: assert {"tool_use_id", "is_error"} <= _fields(claude.ToolResultBlock) +def test_claude_verbatim_prompts_constructs_or_refuses_unsupported_sdk() -> None: + claude = pytest.importorskip("claude_agent_sdk") + from agent_runtime_kit import AgentTask, UnsupportedTaskInputError + from agent_runtime_kit.adapters import ClaudeAgentRuntime + + runtime = ClaudeAgentRuntime(verbatim_prompts=True) + task = AgentTask(goal="/review @/private/example.txt") + if Version(importlib.metadata.version("claude-agent-sdk")) < Version("0.2.158"): + with pytest.raises(UnsupportedTaskInputError): + runtime._build_options(task, None, claude.ClaudeAgentOptions) + else: + options, dropped = runtime._build_options(task, None, claude.ClaudeAgentOptions) + assert options.verbatim_prompts is True + assert not dropped + + def test_codex_exposes_expected_surface() -> None: codex = pytest.importorskip("openai_codex") @@ -164,6 +180,44 @@ def test_antigravity_types_surface() -> None: assert types.BuiltinTools.all_tools() +@pytest.mark.parametrize("tool", ["list_directory", "search_directory", "find_file"]) +@pytest.mark.parametrize("strict", [False, True]) +def test_antigravity_explicit_legacy_read_only_tools_with_real_sdk(tool: str, strict: bool) -> None: + pytest.importorskip("google.antigravity") + from google.antigravity import types + + from agent_runtime_kit import ( + AgentTask, + FilesystemAccess, + PermissionMode, + PermissionProfile, + UnsupportedTaskInputError, + ) + from agent_runtime_kit.adapters.antigravity import AntigravityAgentRuntime, _capability_policy + + runtime = AntigravityAgentRuntime(api_key="test-no-network") + mode = PermissionMode.STRICT if strict else PermissionMode.DEFAULT + task = AgentTask( + goal="Inspect permissions only", + permissions=PermissionProfile( + mode=mode, filesystem=FilesystemAccess.READ_ONLY, allowed_tools=(tool,) + ), + ) + capabilities, _ = _capability_policy(runtime.kind, task, runtime._load_sdk()) + assert capabilities.enabled_tools == [types.BuiltinTools(tool)] + with pytest.raises(UnsupportedTaskInputError): + _capability_policy( + runtime.kind, + AgentTask( + goal="Inspect permissions only", + permissions=PermissionProfile( + mode=mode, filesystem=FilesystemAccess.READ_ONLY, allowed_tools=("edit_file",) + ), + ), + runtime._load_sdk(), + ) + + def test_antigravity_mcp_stdio_server_requires_name() -> None: pytest.importorskip("google.antigravity") from google.antigravity import types diff --git a/uv.lock b/uv.lock index 388f26c..503a957 100644 --- a/uv.lock +++ b/uv.lock @@ -69,8 +69,8 @@ requires-dist = [ { name = "google-antigravity", marker = "extra == 'all'", specifier = ">=0.1.2,<0.2" }, { name = "google-antigravity", marker = "extra == 'antigravity'", specifier = ">=0.1.2,<0.2" }, { name = "jsonschema", specifier = ">=4.18,<5" }, - { name = "openai-codex", marker = "extra == 'all'", specifier = ">=0.157.1,<0.158" }, - { name = "openai-codex", marker = "extra == 'codex'", specifier = ">=0.157.1,<0.158" }, + { name = "openai-codex", marker = "extra == 'all'", specifier = ">=0.157.1,<0.161" }, + { name = "openai-codex", marker = "extra == 'codex'", specifier = ">=0.157.1,<0.161" }, { name = "tomli", marker = "python_full_version < '3.11'", specifier = ">=2,<3" }, ] provides-extras = ["claude", "codex", "antigravity", "all"] @@ -384,7 +384,7 @@ wheels = [ [[package]] name = "claude-agent-sdk" -version = "0.2.157" +version = "0.2.163" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "anyio" }, @@ -393,12 +393,12 @@ dependencies = [ { name = "sniffio" }, { name = "typing-extensions", marker = "python_full_version < '3.11'" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/b4/e3/444df1691c864a8349067686719b43e714fc43d3853fb1b2ebc2097e2a6e/claude_agent_sdk-0.2.157.tar.gz", hash = "sha256:4ce6f41bc965fcb4a9d11bd7a3cac266975c75b632f3d74a26f55f0fffb3160a", size = 346579, upload-time = "2026-09-18T18:21:10.306Z" } +sdist = { url = "https://files.pythonhosted.org/packages/9b/74/635d38e2ef813a2d1ba4ff7f3de736c35ee3bce9ebf4a5b7e89f3293604f/claude_agent_sdk-0.2.163.tar.gz", hash = "sha256:269821ad5acff5967522ff15f444b0598840fd9bdc45c645de569a5478061a53", size = 365180, upload-time = "2026-09-30T19:46:37.125Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/ec/e8/3e9cc23eb5a5a01a0e2ee931a17db2785f95407525d50366af06a4a5469c/claude_agent_sdk-0.2.157-py3-none-macosx_11_0_arm64.whl", hash = "sha256:dd6a2c7aa1901e43b827411d62f2327aed82f53ed8ca6b076eaa5be4a1fc681f", size = 92744001, upload-time = "2026-09-18T18:21:15.969Z" }, - { url = "https://files.pythonhosted.org/packages/49/eb/e5095703a8efbe504ec468cab039543caabfc0ea3327c735a3d1b60e57ac/claude_agent_sdk-0.2.157-py3-none-macosx_11_0_x86_64.whl", hash = "sha256:ebf3f514c61db9be01bbf6d1acb0d993247340583b3559d2df75e3822f618bbb", size = 97352326, upload-time = "2026-09-18T18:21:21.007Z" }, - { url = "https://files.pythonhosted.org/packages/d6/f4/64505beb3c757b863753d6556539554704ec9168cb96454dc6463b14df85/claude_agent_sdk-0.2.157-py3-none-manylinux_2_17_aarch64.whl", hash = "sha256:a58089e0c11364db2ec7a139e09b36a4fb9c95817a758bee7b28e0434f55c0b6", size = 102701030, upload-time = "2026-09-18T18:21:27.065Z" }, - { url = "https://files.pythonhosted.org/packages/03/8f/2a7c121469fd16d1d6465bec180726c54f6e151b12e50835283b4285d1ce/claude_agent_sdk-0.2.157-py3-none-manylinux_2_17_x86_64.whl", hash = "sha256:bd126b2edee3a247b2c7c4cee1f5a3ea68ef748288ec0650db88dd3918e5471a", size = 102830653, upload-time = "2026-09-18T18:21:32.948Z" }, + { url = "https://files.pythonhosted.org/packages/c7/48/bd56b852692a99939384c25ae6bbcbd6e9017ce5becf28c1e00d8ce83c24/claude_agent_sdk-0.2.163-py3-none-macosx_11_0_arm64.whl", hash = "sha256:b025dcc3f9c52779bcd9e9c088b1a587d96afbffb8355b5d3053850796735ede", size = 93359293, upload-time = "2026-09-30T19:46:40.568Z" }, + { url = "https://files.pythonhosted.org/packages/ba/c0/73f36a7435037ae06541be0fd6fdfe4f3270e6fd958a4523ee1c90e2737d/claude_agent_sdk-0.2.163-py3-none-macosx_11_0_x86_64.whl", hash = "sha256:e10d48657f01cc53801cdd8ec3d0a6c8c680b82da083da42493f82feb99d04e6", size = 97793458, upload-time = "2026-09-30T19:46:44.773Z" }, + { url = "https://files.pythonhosted.org/packages/13/c7/d8fbc84fa75b79f5a57af1595a79b0a392844fcb192aad09ef8c646b6c85/claude_agent_sdk-0.2.163-py3-none-manylinux_2_17_aarch64.whl", hash = "sha256:e3be00eeb9fc156a3308a2e8fb58390768fdcb2ff16683fac385b4d98e99233c", size = 102851414, upload-time = "2026-09-30T19:46:48.947Z" }, + { url = "https://files.pythonhosted.org/packages/e7/ea/fc2a0a4e27c8ccfdbc77344298842adcbb6de03d4cdbae5793ff659b00e0/claude_agent_sdk-0.2.163-py3-none-manylinux_2_17_x86_64.whl", hash = "sha256:260cb955d237b7e1897f1dbf9ee5efbf815d8622d0c7459a05409c56432d8501", size = 103197060, upload-time = "2026-09-30T19:46:53.144Z" }, ] [[package]] @@ -605,7 +605,7 @@ wheels = [ [[package]] name = "google-antigravity" -version = "0.1.17" +version = "0.1.20" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "absl-py" }, @@ -617,12 +617,12 @@ dependencies = [ { name = "websockets" }, ] wheels = [ - { url = "https://files.pythonhosted.org/packages/c6/14/8c20a94fc8513aedc7506b4eb8c02daf919b5fb0862bc60575ad8b549ed6/google_antigravity-0.1.17-py3-none-macosx_11_0_arm64.whl", hash = "sha256:6f1054252ca5d5dd287aa00d8d9258befa5e82bc93de4844a8ac1d396a20e018", size = 38853047, upload-time = "2026-09-16T17:37:39.265Z" }, - { url = "https://files.pythonhosted.org/packages/52/06/a73f2dca06ac7f9019a5d4fd873e41191eb4ddbd865b93881babf0000ba7/google_antigravity-0.1.17-py3-none-macosx_11_0_x86_64.whl", hash = "sha256:b6570e846f433428ee217a64bc9f3fac3ffea8a5760bff39df5e38ec1e24678d", size = 41182724, upload-time = "2026-09-16T17:37:43.57Z" }, - { url = "https://files.pythonhosted.org/packages/49/26/d9e362c0c1688869d4ad53be5625c732103e37f1c93b0ca639d2a007b2de/google_antigravity-0.1.17-py3-none-manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl", hash = "sha256:3e77325e66adf972e7135d8751206c786b8226805c364addc1e4cb543563d858", size = 39936481, upload-time = "2026-09-16T17:37:47.624Z" }, - { url = "https://files.pythonhosted.org/packages/65/1a/589fa7eed624446559e3a5f2d926297265e03c833fdfdea6ca3d30d9469a/google_antigravity-0.1.17-py3-none-manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl", hash = "sha256:24fa246bf3bb930cce15c844ca5985a6053edd5465effb994b886078d67dbc68", size = 43989109, upload-time = "2026-09-16T17:37:51.982Z" }, - { url = "https://files.pythonhosted.org/packages/63/f4/bc6706f7759a1e54a28ff3dec1233d4ec7caabc7d17fbfb791fa101e9aa2/google_antigravity-0.1.17-py3-none-win_amd64.whl", hash = "sha256:c1e9d73cfe7649dede28f13a6db74c71e46e6c3c992a397941db8bd313587cb8", size = 45145262, upload-time = "2026-09-16T17:37:56.404Z" }, - { url = "https://files.pythonhosted.org/packages/a7/4d/58093cfb51c3b2a13384372f8de5098cb4aa2d8350ef5f45b70c3354ca13/google_antigravity-0.1.17-py3-none-win_arm64.whl", hash = "sha256:df9bf8263d604b71d401349607fc686026bfee04d207da166a1ceea6ecb4c499", size = 40948609, upload-time = "2026-09-16T17:38:01.493Z" }, + { url = "https://files.pythonhosted.org/packages/77/1c/115e346cf2b10eb9632e862de5e2a130fc7f33ac0a352558067e9e863617/google_antigravity-0.1.20-py3-none-macosx_11_0_arm64.whl", hash = "sha256:a9df0f117407a7d39c4a03de97f4e082e1c2f24650dcca876706c23574118159", size = 38385383, upload-time = "2026-09-27T22:19:21.628Z" }, + { url = "https://files.pythonhosted.org/packages/1d/b3/49c09f0645d6d9c08e559bbb0a5adc45d22e299c541439ff36b8d8ed869a/google_antigravity-0.1.20-py3-none-macosx_11_0_x86_64.whl", hash = "sha256:8beba12288733e9f3f53e11103318c86dbd6814115890b8767eb4b5976f363a6", size = 40737091, upload-time = "2026-09-27T22:19:24.774Z" }, + { url = "https://files.pythonhosted.org/packages/2a/b2/f0ebc284dbdf3217ed62abd3a6b290effa7ae025555512aa9700fd20bb22/google_antigravity-0.1.20-py3-none-manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl", hash = "sha256:1583b59ab45952231403da823e706a91d67f827cb2fbf27f97c2b9a26a803f09", size = 39260558, upload-time = "2026-09-27T22:19:28.063Z" }, + { url = "https://files.pythonhosted.org/packages/a1/38/a93e755d9504455f29ec483cd24e60c790ca82101191fe663e546f48bea1/google_antigravity-0.1.20-py3-none-manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl", hash = "sha256:ff95642ea4e0a65d6e8d8d8b991ce22868d04717005cdc4a60abf2a6af52c2fc", size = 43262816, upload-time = "2026-09-27T22:19:30.851Z" }, + { url = "https://files.pythonhosted.org/packages/38/86/cce6b1576170f80f746999659e405c82a79113945f48520f23d0099d9b48/google_antigravity-0.1.20-py3-none-win_amd64.whl", hash = "sha256:2c931b0a5cdd5c121a7ae663969ee9f9b9109fc219c71c56273a4d646e30c114", size = 44781977, upload-time = "2026-09-27T22:19:33.723Z" }, + { url = "https://files.pythonhosted.org/packages/7a/9d/6c5b1ee7512f86c089f6a2e46b46b2372d9fa713aedd1f0730e3d506b43f/google_antigravity-0.1.20-py3-none-win_arm64.whl", hash = "sha256:5138da9ec775f7c2c0ad13e0cd93949d76430fc2f972c4005dac16a29c065125", size = 40601510, upload-time = "2026-09-27T22:19:36.635Z" }, ] [[package]] @@ -948,31 +948,31 @@ wheels = [ [[package]] name = "openai-codex" -version = "0.157.1" +version = "0.160.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "openai-codex-cli-bin" }, { name = "packaging" }, { name = "pydantic" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/1e/b5/b50b061d575bd76fa616fcfb2b5e732bccf816d0429e68bd47636dc16511/openai_codex-0.157.1.tar.gz", hash = "sha256:7c371c3be7722ffe36b9e8d823c05e3339a86b2f13403cc08fc2eaccf658d480", size = 89397, upload-time = "2026-09-26T01:14:34.727Z" } +sdist = { url = "https://files.pythonhosted.org/packages/c8/75/9f0934ce92e8428b926ac9a555bb0f7b2728b054a59003edd039adc494dd/openai_codex-0.160.0.tar.gz", hash = "sha256:31c94d69a81794aaadfaad371c5f95480a28cd7703d9fc7ca3c574286cacaff3", size = 88970, upload-time = "2026-10-01T20:38:15.664Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/cb/9e/8620c10d9d76d21920162e81fa2d1bee9fbf55a3e66a7d9ba6d1f95a11d4/openai_codex-0.157.1-py3-none-any.whl", hash = "sha256:73a5051f9d68ab0c3e350e217664c2e46bb5aa10bfb3232144688bf600d65fbc", size = 97538, upload-time = "2026-09-26T01:14:33.348Z" }, + { url = "https://files.pythonhosted.org/packages/09/a6/3e848b805f31a9a736ee1e54f92c2457de2c4e9d0553404975f2bac2dd33/openai_codex-0.160.0-py3-none-any.whl", hash = "sha256:61d2d855ca2ebedfd51280fbeb60ff31fc47ccbd55ebce186505e3f3da096921", size = 97106, upload-time = "2026-10-01T20:38:13.998Z" }, ] [[package]] name = "openai-codex-cli-bin" -version = "0.157.1" +version = "0.160.0" source = { registry = "https://pypi.org/simple" } wheels = [ - { url = "https://files.pythonhosted.org/packages/c6/29/bb2884a56b938d7dbb9b81a42dbc527522e9540db09ed65200c512de2405/openai_codex_cli_bin-0.157.1-py3-none-macosx_10_9_x86_64.whl", hash = "sha256:a140e29b3c88a559067c9ec5bf300477e7ecb0f8cb5f49ffbcc0f68608637476", size = 130992160, upload-time = "2026-09-26T01:12:11.55Z" }, - { url = "https://files.pythonhosted.org/packages/8a/d5/f706f04b14664414fa7051f340426eb0f74b1bf17006795c2d4d7776a2cb/openai_codex_cli_bin-0.157.1-py3-none-macosx_11_0_arm64.whl", hash = "sha256:55b5b7cdb257440e97de69ad780a3ebff5a0adf8eb89564a7d7fc400c548b2de", size = 120546939, upload-time = "2026-09-26T01:12:18.951Z" }, - { url = "https://files.pythonhosted.org/packages/b5/58/aacc67a9556ccebdfd36c0c3c3ee9dc1bd878fb8b82eab14c846662b37d3/openai_codex_cli_bin-0.157.1-py3-none-manylinux_2_17_aarch64.whl", hash = "sha256:f26f1cdec2869f9a53155f3909d5ef5d85d6f80d49b59758d00cdcc4941edf82", size = 128579765, upload-time = "2026-09-26T01:12:28.551Z" }, - { url = "https://files.pythonhosted.org/packages/8a/d6/64d2eab534be58817262edf5949755aa665a22fea1220ce7273d751525c3/openai_codex_cli_bin-0.157.1-py3-none-manylinux_2_17_x86_64.whl", hash = "sha256:277a13acf88c2cde0d1a4f39373db4b267286b862ef8cf19bc9e8cc688b3786d", size = 138002592, upload-time = "2026-09-26T01:12:40.25Z" }, - { url = "https://files.pythonhosted.org/packages/ca/a0/f76fe6b91724175ce49b4c4bf4ec82cf1c33ee4a63f3972a26ca70c4fc2f/openai_codex_cli_bin-0.157.1-py3-none-musllinux_1_1_aarch64.whl", hash = "sha256:dc76cb00530a409b28233878f5961e85fc6e46ad9dd45ef958ef2594b1585baf", size = 138205669, upload-time = "2026-09-26T01:12:52.416Z" }, - { url = "https://files.pythonhosted.org/packages/60/24/53e9e1059d43dfd3ef89818adc189ed8cc56d2f2d9da1191e3ba23505fd0/openai_codex_cli_bin-0.157.1-py3-none-musllinux_1_1_x86_64.whl", hash = "sha256:477b6282b9b69131789b35c9ac198c8f499c374ba47dd82b2f34bf6472a585f4", size = 147768263, upload-time = "2026-09-26T01:13:05.761Z" }, - { url = "https://files.pythonhosted.org/packages/87/ab/2f06bb9bc77844deabeb9ace248b2033fd6e5fb5f79d8107ee10b849f2db/openai_codex_cli_bin-0.157.1-py3-none-win_amd64.whl", hash = "sha256:a6d589dd74645d448581f984f3d2427100fe53fd4eb4ca47db6a9d09190ab276", size = 147788910, upload-time = "2026-09-26T01:13:16.44Z" }, - { url = "https://files.pythonhosted.org/packages/f2/4c/ee1395f212a71ad25891fda1d2e93e4a07b17ac5a7b1bf4ccefd7ab709f8/openai_codex_cli_bin-0.157.1-py3-none-win_arm64.whl", hash = "sha256:14c40374b516edc27dface20b0e0817d8d60ccd398204771efa68abd6a650ca3", size = 136804354, upload-time = "2026-09-26T01:13:27.303Z" }, + { url = "https://files.pythonhosted.org/packages/ed/83/9fb994efa9da1e21a44c4a610d9884e398168503b90ebe31f4edeb289370/openai_codex_cli_bin-0.160.0-py3-none-macosx_10_9_x86_64.whl", hash = "sha256:06571f34b99feee1f1116577f66b82b1b6d582993e07d2099e20e346c73de374", size = 132620323, upload-time = "2026-10-01T20:29:23.127Z" }, + { url = "https://files.pythonhosted.org/packages/26/a1/105c05e179242f0a030cf4a2f7c2bcd574b1001e30379cb4959624294048/openai_codex_cli_bin-0.160.0-py3-none-macosx_11_0_arm64.whl", hash = "sha256:c9b472e8928d8f94f65e43ba4928e3ecac071ccf8680bbb8281334e32cec409b", size = 121753021, upload-time = "2026-10-01T20:29:28.164Z" }, + { url = "https://files.pythonhosted.org/packages/a2/e5/4e93ad22c849636d26ca993e78eaa285d9ec035d3a8a0faa885cd4e3ef56/openai_codex_cli_bin-0.160.0-py3-none-manylinux_2_17_aarch64.whl", hash = "sha256:6543e1d7f9ffb3f84c61b0234b62fd95c1d5f896310392cc8b03605100293f32", size = 129958661, upload-time = "2026-10-01T20:29:35.52Z" }, + { url = "https://files.pythonhosted.org/packages/82/36/a9d77dd01f0397f178d52ce3da543fec1e59cfa7b85bd4125b97a30957c2/openai_codex_cli_bin-0.160.0-py3-none-manylinux_2_17_x86_64.whl", hash = "sha256:b0664ef64a57f1d00ebac1b783089557b97a53872383bb7cbe288e4015769a15", size = 139465828, upload-time = "2026-10-01T20:29:40.242Z" }, + { url = "https://files.pythonhosted.org/packages/97/e4/c48f8852739de583421ce5941d9e8df44f2bee3975fc5a1384c102ed2b04/openai_codex_cli_bin-0.160.0-py3-none-musllinux_1_1_aarch64.whl", hash = "sha256:448a9510d4dc7ab74eaefb0c3f9bad8f814a12c4d87f40d1e12bba7a9523df27", size = 150949941, upload-time = "2026-10-01T20:29:45.56Z" }, + { url = "https://files.pythonhosted.org/packages/33/74/f82dcc0fb3e5ed95e25a67c5b4592bc4dd49ce9e511c15d6f4f8d99f56db/openai_codex_cli_bin-0.160.0-py3-none-musllinux_1_1_x86_64.whl", hash = "sha256:ae2f1c3fca1394046b301c108fd719c9be32f5fab999fc3dcf6002a5d32e03b7", size = 160746218, upload-time = "2026-10-01T20:29:50.814Z" }, + { url = "https://files.pythonhosted.org/packages/60/3c/3d5936011336a6e88b03fbfe532afe50527d534eacba5cfd2d4c9ec35ada/openai_codex_cli_bin-0.160.0-py3-none-win_amd64.whl", hash = "sha256:a1245cc0c7d390d22af4920d512ceae8519dee2cf51d8eec56f3899861a8160a", size = 149416482, upload-time = "2026-10-01T20:29:56.283Z" }, + { url = "https://files.pythonhosted.org/packages/7b/06/87c8137481a5ed334e2e61bf22859b99947f759182ce1c3b12d15e7515d2/openai_codex_cli_bin-0.160.0-py3-none-win_arm64.whl", hash = "sha256:64e9a3b64b92babd7cb3c35b5ee518a3983c891ce1fe839ce052eb4040307391", size = 138102109, upload-time = "2026-10-01T20:34:02.743Z" }, ] [[package]]