agentshim 0.23.0__tar.gz → 0.23.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {agentshim-0.23.0 → agentshim-0.23.1}/CHANGELOG.md +16 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/PKG-INFO +1 -1
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/__init__.py +1 -1
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/pricing.py +1 -1
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/model_data.py +7 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/pyproject.toml +1 -1
- {agentshim-0.23.0 → agentshim-0.23.1}/.gitignore +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/LICENSE +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/README.md +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/agent.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/core/__init__.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/core/_files.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/core/auth.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/core/checkpoints.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/core/clock.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/core/conversation.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/core/env.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/core/errors.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/core/events.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/core/home.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/core/ids.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/core/mcp.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/core/models.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/core/permissions.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/core/plugin.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/core/pricing.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/core/profile.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/core/provider.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/core/schema.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/core/session_policy.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/core/skills.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/core/status.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/core/stream.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/core/turn.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/core/usage.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/execution/__init__.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/execution/confinement.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/execution/docker.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/execution/executor.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/execution/host.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/execution/process.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/execution/readiness.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/execution/transform.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/models.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/oneshot.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/probe.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/__init__.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/_testing.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/catalog.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/claude/__init__.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/claude/cost.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/claude/events.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/claude/failures.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/claude/hooks/__init__.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/claude/hooks/confine_reads.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/claude/model_data.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/claude/parser.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/claude/plugin.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/claude/probe.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/claude/provider.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/claude/rate_limits.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/claude/sandbox.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/claude/scripted.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/claude/stream_argv.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/claude/stream_transport.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/claude/testing.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/claude/tools.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/claude/user_hooks.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/__init__.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/_toml.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/app_server/__init__.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/app_server/_wire.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/app_server/approvals.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/app_server/channel.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/app_server/errors.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/app_server/items.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/app_server/mcp.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/app_server/permissions.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/app_server/profile.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/app_server/protocol.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/app_server/rate_limits.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/app_server/transport.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/app_server/usage.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/events.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/failures.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/mcp_scope.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/parser.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/plugin.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/probe.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/provider.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/rules.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/sandbox.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/scripted.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/skills.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/codex/testing.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/copilot/__init__.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/copilot/events.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/copilot/parser.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/copilot/plugin.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/copilot/probe.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/copilot/provider.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/copilot/scripted.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/copilot/testing.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/gemini/__init__.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/gemini/events.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/gemini/parser.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/gemini/plugin.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/gemini/probe.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/gemini/provider.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/gemini/scripted.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/gemini/testing.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/opencode/__init__.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/opencode/events.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/opencode/model_data.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/opencode/parser.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/opencode/plugin.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/opencode/probe.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/opencode/provider.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/opencode/scripted.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/opencode/testing.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/providers/static_plugin.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/py.typed +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/runtime.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/session.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/testing/__init__.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/testing/claude_stream.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/testing/clock.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/testing/codex_app_server.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/testing/confinement.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/testing/contracts.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/testing/conversation.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/testing/probe.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/agentshim/testing/process.py +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/tests/fixtures/claude/README.md +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/tests/fixtures/claude_stream/README.md +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/tests/fixtures/codex/README.md +0 -0
- {agentshim-0.23.0 → agentshim-0.23.1}/tests/fixtures/codex_app_server/README.md +0 -0
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.23.1 (2026-10-30)
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- `gpt-6.1-sol` has a price. The catalogue listed it since 0.18.2 but the price table did not, so
|
|
8
|
+
`price_for("codex", "gpt-6.1-sol")` returned `None` and its turns recorded no cost. The rates are
|
|
9
|
+
the standard short-context tier on https://developers.openai.com/api/docs/pricing, read
|
|
10
|
+
2026-10-30: input 2.00, cache read 0.10, cache write 2.50, output 10.00 USD per million tokens.
|
|
11
|
+
The cache read rate is half of `gpt-6-sol`'s. The table version is `2026-10-30`.
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- A test that every model the catalogue or a provider profile lists is priced or named, with its
|
|
16
|
+
reason, in an exclusion list. `gemini-3-pro-preview` is the one exclusion: Google's pricing page
|
|
17
|
+
no longer lists it, so no official number can be checked, and Gemini models are not priced.
|
|
18
|
+
|
|
3
19
|
## 0.23.0 (2026-10-20)
|
|
4
20
|
|
|
5
21
|
### Added
|
|
@@ -186,7 +186,7 @@ from .providers.opencode import OpencodeProvider
|
|
|
186
186
|
from .runtime import Agent
|
|
187
187
|
from .session import Session, Turn, TurnTicket, map_mcp_servers
|
|
188
188
|
|
|
189
|
-
__version__ = "0.23.
|
|
189
|
+
__version__ = "0.23.1"
|
|
190
190
|
|
|
191
191
|
__all__ = [ # noqa: RUF022 - public API test uses Python's case-sensitive order
|
|
192
192
|
"Agent",
|
|
@@ -106,4 +106,4 @@ def default_pricing(*, catalog: ProviderCatalog | None = None) -> PricingTable:
|
|
|
106
106
|
by_key[entry.key] = entry
|
|
107
107
|
entries = tuple(by_key.values())
|
|
108
108
|
updated = max((entry.checked for entry in entries), default=dt.date(2026, 9, 27))
|
|
109
|
-
return PricingTable(version="2026-10-
|
|
109
|
+
return PricingTable(version="2026-10-30", last_updated=updated, entries=entries)
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""Codex-owned model and price facts."""
|
|
2
2
|
|
|
3
3
|
import datetime as dt
|
|
4
|
+
from dataclasses import replace
|
|
4
5
|
|
|
5
6
|
from agentshim.core.models import ModelSpec
|
|
6
7
|
from agentshim.core.pricing import ModelPricing
|
|
@@ -9,6 +10,8 @@ OPENAI_MODELS_URL = "https://developers.openai.com/api/docs/models"
|
|
|
9
10
|
OPENAI_PRICING_URL = "https://developers.openai.com/api/docs/pricing"
|
|
10
11
|
_MODEL_CHECKED = dt.date(2026, 10, 17)
|
|
11
12
|
_PRICE_CHECKED = dt.date(2026, 9, 27)
|
|
13
|
+
#: ``gpt-6.1-sol`` was read from the page on its own date, after the rest of the table.
|
|
14
|
+
_SOL_6_1_CHECKED = dt.date(2026, 10, 30)
|
|
12
15
|
|
|
13
16
|
|
|
14
17
|
def _openai_model(
|
|
@@ -88,6 +91,10 @@ def _openai(
|
|
|
88
91
|
|
|
89
92
|
PRICING_ENTRIES = (
|
|
90
93
|
_openai("gpt-6-astra", 10.00, 1.00, 50.00, cache_write_usd=12.50),
|
|
94
|
+
replace(
|
|
95
|
+
_openai("gpt-6.1-sol", 2.00, 0.10, 10.00, cache_write_usd=2.50),
|
|
96
|
+
checked=_SOL_6_1_CHECKED,
|
|
97
|
+
),
|
|
91
98
|
_openai("gpt-6-sol", 2.00, 0.20, 10.00, cache_write_usd=2.50),
|
|
92
99
|
_openai("gpt-6-luna", 0.10, 0.01, 0.50, cache_write_usd=0.125),
|
|
93
100
|
_openai("gpt-5.6-sol", 4.00, 0.40, 20.00, cache_write_usd=5.00),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|