agentshim 0.15.6__tar.gz → 0.15.7__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.
Files changed (112) hide show
  1. {agentshim-0.15.6 → agentshim-0.15.7}/CHANGELOG.md +10 -0
  2. {agentshim-0.15.6 → agentshim-0.15.7}/PKG-INFO +1 -1
  3. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/__init__.py +1 -1
  4. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/core/profile.py +11 -1
  5. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/codex/provider.py +4 -0
  6. {agentshim-0.15.6 → agentshim-0.15.7}/pyproject.toml +1 -1
  7. {agentshim-0.15.6 → agentshim-0.15.7}/.gitignore +0 -0
  8. {agentshim-0.15.6 → agentshim-0.15.7}/LICENSE +0 -0
  9. {agentshim-0.15.6 → agentshim-0.15.7}/README.md +0 -0
  10. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/agent.py +0 -0
  11. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/core/__init__.py +0 -0
  12. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/core/_files.py +0 -0
  13. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/core/checkpoints.py +0 -0
  14. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/core/clock.py +0 -0
  15. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/core/conversation.py +0 -0
  16. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/core/env.py +0 -0
  17. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/core/errors.py +0 -0
  18. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/core/events.py +0 -0
  19. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/core/home.py +0 -0
  20. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/core/ids.py +0 -0
  21. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/core/mcp.py +0 -0
  22. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/core/permissions.py +0 -0
  23. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/core/pricing.py +0 -0
  24. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/core/provider.py +0 -0
  25. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/core/schema.py +0 -0
  26. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/core/session_policy.py +0 -0
  27. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/core/skills.py +0 -0
  28. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/core/status.py +0 -0
  29. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/core/stream.py +0 -0
  30. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/core/turn.py +0 -0
  31. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/core/usage.py +0 -0
  32. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/execution/__init__.py +0 -0
  33. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/execution/confinement.py +0 -0
  34. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/execution/docker.py +0 -0
  35. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/execution/executor.py +0 -0
  36. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/execution/host.py +0 -0
  37. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/execution/process.py +0 -0
  38. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/execution/transform.py +0 -0
  39. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/oneshot.py +0 -0
  40. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/probe.py +0 -0
  41. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/__init__.py +0 -0
  42. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/claude/__init__.py +0 -0
  43. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/claude/events.py +0 -0
  44. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/claude/failures.py +0 -0
  45. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/claude/hooks/__init__.py +0 -0
  46. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/claude/hooks/confine_reads.py +0 -0
  47. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/claude/parser.py +0 -0
  48. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/claude/probe.py +0 -0
  49. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/claude/provider.py +0 -0
  50. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/claude/rate_limits.py +0 -0
  51. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/claude/sandbox.py +0 -0
  52. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/claude/scripted.py +0 -0
  53. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/claude/stream_argv.py +0 -0
  54. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/claude/stream_transport.py +0 -0
  55. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/claude/user_hooks.py +0 -0
  56. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/codex/__init__.py +0 -0
  57. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/codex/_toml.py +0 -0
  58. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/codex/app_server/__init__.py +0 -0
  59. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/codex/app_server/_wire.py +0 -0
  60. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/codex/app_server/approvals.py +0 -0
  61. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/codex/app_server/channel.py +0 -0
  62. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/codex/app_server/errors.py +0 -0
  63. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/codex/app_server/items.py +0 -0
  64. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/codex/app_server/mcp.py +0 -0
  65. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/codex/app_server/permissions.py +0 -0
  66. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/codex/app_server/profile.py +0 -0
  67. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/codex/app_server/protocol.py +0 -0
  68. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/codex/app_server/rate_limits.py +0 -0
  69. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/codex/app_server/transport.py +0 -0
  70. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/codex/app_server/usage.py +0 -0
  71. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/codex/events.py +0 -0
  72. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/codex/failures.py +0 -0
  73. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/codex/mcp_scope.py +0 -0
  74. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/codex/parser.py +0 -0
  75. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/codex/probe.py +0 -0
  76. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/codex/rules.py +0 -0
  77. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/codex/sandbox.py +0 -0
  78. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/codex/scripted.py +0 -0
  79. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/codex/skills.py +0 -0
  80. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/copilot/__init__.py +0 -0
  81. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/copilot/events.py +0 -0
  82. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/copilot/parser.py +0 -0
  83. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/copilot/probe.py +0 -0
  84. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/copilot/provider.py +0 -0
  85. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/copilot/scripted.py +0 -0
  86. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/gemini/__init__.py +0 -0
  87. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/gemini/events.py +0 -0
  88. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/gemini/parser.py +0 -0
  89. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/gemini/probe.py +0 -0
  90. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/gemini/provider.py +0 -0
  91. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/gemini/scripted.py +0 -0
  92. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/opencode/__init__.py +0 -0
  93. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/opencode/events.py +0 -0
  94. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/opencode/parser.py +0 -0
  95. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/opencode/probe.py +0 -0
  96. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/opencode/provider.py +0 -0
  97. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/providers/opencode/scripted.py +0 -0
  98. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/py.typed +0 -0
  99. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/runtime.py +0 -0
  100. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/session.py +0 -0
  101. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/testing/__init__.py +0 -0
  102. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/testing/claude_stream.py +0 -0
  103. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/testing/clock.py +0 -0
  104. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/testing/codex_app_server.py +0 -0
  105. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/testing/confinement.py +0 -0
  106. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/testing/contracts.py +0 -0
  107. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/testing/conversation.py +0 -0
  108. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/testing/probe.py +0 -0
  109. {agentshim-0.15.6 → agentshim-0.15.7}/agentshim/testing/process.py +0 -0
  110. {agentshim-0.15.6 → agentshim-0.15.7}/tests/fixtures/claude_stream/README.md +0 -0
  111. {agentshim-0.15.6 → agentshim-0.15.7}/tests/fixtures/codex/README.md +0 -0
  112. {agentshim-0.15.6 → agentshim-0.15.7}/tests/fixtures/codex_app_server/README.md +0 -0
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.15.7 (2026-10-09)
4
+
5
+ ### Added
6
+
7
+ - `ProviderProfile.resume_state_paths` (default empty): the home-relative paths, inside
8
+ `state_dirs`, that with `auth_files` are all the state a resumed conversation needs
9
+ persisted. A caller that cannot grant a whole state directory grants these instead;
10
+ empty means the provider is not known to run from that subset. Codex
11
+ `.codex/sessions`.
12
+
3
13
  ## 0.15.6 (2026-10-09)
4
14
 
5
15
  ### Fixed
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: agentshim
3
- Version: 0.15.6
3
+ Version: 0.15.7
4
4
  Summary: Provider-agnostic coding-agent CLI shims
5
5
  License-Expression: MIT
6
6
  License-File: LICENSE
@@ -156,7 +156,7 @@ from .providers.opencode import OpencodeProvider
156
156
  from .runtime import Agent
157
157
  from .session import Session, Turn, TurnTicket, map_mcp_servers
158
158
 
159
- __version__ = "0.15.6"
159
+ __version__ = "0.15.7"
160
160
 
161
161
  __all__ = [
162
162
  "Agent",
@@ -154,7 +154,9 @@ class ProviderProfile:
154
154
  the home-relative paths, each inside a ``state_dirs`` entry, whose
155
155
  contents are the minimal set to copy so the CLI is logged in elsewhere;
156
156
  ``credential_files`` (0.15.3+, default empty) is the subset of them that
157
- holds refreshable login credentials rather than settings.
157
+ holds refreshable login credentials rather than settings;
158
+ ``resume_state_paths`` (0.15.7+, default empty) names the conversation
159
+ history a resume reads back.
158
160
  ``mcp_config_file`` is the workspace-relative path a ``CONFIG_FILE``
159
161
  provider writes its MCP config to for a turn, and ``None`` for
160
162
  ``CLI_FLAGS``/``NONE`` providers.
@@ -182,6 +184,14 @@ class ProviderProfile:
182
184
  #: writable so a token refresh there is not lost, and keeps the rest of
183
185
  #: ``auth_files`` read-only. Every entry is also in ``auth_files``.
184
186
  credential_files: tuple[str, ...] = ()
187
+ #: Home-relative paths, each inside a ``state_dirs`` entry, that together
188
+ #: with ``auth_files`` are all the state a resumed conversation needs
189
+ #: persisted: the conversation history the resume flag reads back. A caller
190
+ #: that cannot grant the whole state directory (it also holds checkouts or
191
+ #: other tasks' data) grants just ``auth_files`` and these. Empty means the
192
+ #: provider is not known to run from that subset, so the caller must grant
193
+ #: the whole state directory.
194
+ resume_state_paths: tuple[str, ...] = ()
185
195
  mcp_config_file: str | None = None
186
196
  #: Whether the stream lists the skills offered (``SkillsDiscovered``).
187
197
  skill_discovery: SkillSignal = SkillSignal.NONE
@@ -102,6 +102,10 @@ PROFILE = ProviderProfile(
102
102
  # not needlessly expose it to an agent process.
103
103
  auth_files=(".codex/auth.json",),
104
104
  credential_files=(".codex/auth.json",),
105
+ # Every turn writes a rollout under sessions/, and `resume` reads it back.
106
+ # The rest of the state directory (worktrees, caches, logs) is not needed
107
+ # to log in or resume.
108
+ resume_state_paths=(".codex/sessions",),
105
109
  # CLI_FLAGS: Codex takes MCP servers as --config overrides, never a file.
106
110
  mcp_config_file=None,
107
111
  # A long Codex thread slows down and costs more per turn, so a session
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "agentshim"
3
- version = "0.15.6"
3
+ version = "0.15.7"
4
4
  description = "Provider-agnostic coding-agent CLI shims"
5
5
  readme = "README.md"
6
6
  license = "MIT"
File without changes
File without changes
File without changes