codex-agent-framework 0.1.19__tar.gz → 0.1.21__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 (114) hide show
  1. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/CHANGELOG.md +42 -0
  2. {codex_agent_framework-0.1.19/codex_agent_framework.egg-info → codex_agent_framework-0.1.21}/PKG-INFO +345 -132
  3. codex_agent_framework-0.1.21/README.md +858 -0
  4. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/__init__.py +16 -17
  5. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/agent.py +57 -55
  6. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/agent_runtime.py +3 -3
  7. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/ai.py +4 -4
  8. codex_agent_framework-0.1.21/codex_agent/builtin_plugins/bash/__init__.py +52 -0
  9. codex_agent_framework-0.1.21/codex_agent/builtin_plugins/content/__init__.py +30 -0
  10. {codex_agent_framework-0.1.19/codex_agent/builtin_tools → codex_agent_framework-0.1.21/codex_agent/builtin_plugins/content}/system.py +1 -1
  11. {codex_agent_framework-0.1.19/codex_agent/builtin_tools → codex_agent_framework-0.1.21/codex_agent/builtin_plugins/content}/vision.py +9 -20
  12. codex_agent_framework-0.1.21/codex_agent/builtin_plugins/environment/__init__.py +21 -0
  13. codex_agent_framework-0.1.21/codex_agent/builtin_plugins/files/__init__.py +28 -0
  14. codex_agent_framework-0.1.19/codex_agent/builtin_tools/files.py → codex_agent_framework-0.1.21/codex_agent/builtin_plugins/files/tools.py +2 -2
  15. codex_agent_framework-0.1.21/codex_agent/builtin_plugins/interface/__init__.py +23 -0
  16. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/builtin_plugins/memory/__init__.py +4 -3
  17. codex_agent_framework-0.1.21/codex_agent/builtin_plugins/python/__init__.py +49 -0
  18. codex_agent_framework-0.1.21/codex_agent/builtin_plugins/subagents/__init__.py +220 -0
  19. codex_agent_framework-0.1.21/codex_agent/builtin_plugins/subagents/profiles/explorer.json +12 -0
  20. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/cli/headless.py +3 -3
  21. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/client.py +16 -2
  22. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/command.py +101 -14
  23. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/config.py +17 -8
  24. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/context.py +4 -4
  25. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/event.py +68 -26
  26. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/mainloop.py +79 -26
  27. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/message.py +41 -5
  28. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/plugin.py +64 -9
  29. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/prompts/system_prompt.txt +11 -8
  30. codex_agent_framework-0.1.21/codex_agent/provider.py +58 -0
  31. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/scheduler.py +2 -2
  32. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/server/app.py +1 -1
  33. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/server/core.py +9 -9
  34. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/sessions.py +307 -17
  35. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/status.py +1 -1
  36. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/stream_utils.py +63 -37
  37. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/tool.py +128 -1
  38. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/tui/chat.py +4 -16
  39. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21/codex_agent_framework.egg-info}/PKG-INFO +345 -132
  40. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent_framework.egg-info/SOURCES.txt +11 -8
  41. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/pyproject.toml +2 -2
  42. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/tests/test_agent.py +949 -161
  43. codex_agent_framework-0.1.21/tests/test_builtin_config.py +33 -0
  44. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/tests/test_chat.py +22 -1
  45. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/tests/test_cli_headless.py +1 -1
  46. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/tests/test_events.py +23 -5
  47. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/tests/test_hooks.py +4 -10
  48. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/tests/test_image_message.py +5 -5
  49. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/tests/test_memory.py +13 -9
  50. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/tests/test_messages.py +13 -1
  51. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/tests/test_planner.py +1 -1
  52. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/tests/test_scheduler.py +5 -4
  53. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/tests/test_server.py +46 -44
  54. codex_agent_framework-0.1.19/README.md +0 -645
  55. codex_agent_framework-0.1.19/codex_agent/builtin_providers.py +0 -17
  56. codex_agent_framework-0.1.19/codex_agent/builtin_tools/__init__.py +0 -52
  57. codex_agent_framework-0.1.19/codex_agent/builtin_tools/server_tools.py +0 -4
  58. codex_agent_framework-0.1.19/codex_agent/builtin_tools/shell.py +0 -61
  59. codex_agent_framework-0.1.19/codex_agent/provider.py +0 -22
  60. codex_agent_framework-0.1.19/codex_agent/registry.py +0 -207
  61. codex_agent_framework-0.1.19/tests/test_builtin_config.py +0 -33
  62. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/LICENSE +0 -0
  63. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/MANIFEST.in +0 -0
  64. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/__main__.py +0 -0
  65. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/browser.py +0 -0
  66. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/builtin_commands.py +0 -0
  67. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/builtin_plugins/__init__.py +0 -0
  68. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/builtin_plugins/browser/__init__.py +0 -0
  69. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/builtin_plugins/desktop/__init__.py +0 -0
  70. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/builtin_plugins/planner/__init__.py +0 -0
  71. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/builtin_plugins/scheduler/__init__.py +0 -0
  72. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/cli/__init__.py +0 -0
  73. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/cli/main.py +0 -0
  74. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/cli/output.py +0 -0
  75. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/cli/root.py +0 -0
  76. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/cli/runner.py +0 -0
  77. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/desktop.py +0 -0
  78. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/get_text/__init__.py +0 -0
  79. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/get_text/default_gitignore +0 -0
  80. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/get_text/get_text.py +0 -0
  81. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/get_text/simpler_get_text.py +0 -0
  82. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/hooks.py +0 -0
  83. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/image.py +0 -0
  84. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/latex.py +0 -0
  85. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/prompts/image_generation_system_prompt.txt +0 -0
  86. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/runtime.py +0 -0
  87. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/scripts/install-system-dependencies.sh +0 -0
  88. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/server/__init__.py +0 -0
  89. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/service.py +0 -0
  90. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/tray.py +0 -0
  91. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/tui/__init__.py +0 -0
  92. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/tui/lifecycle.py +0 -0
  93. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/utils.py +0 -0
  94. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/voice.py +0 -0
  95. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent/worker.py +0 -0
  96. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent_framework.egg-info/dependency_links.txt +0 -0
  97. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent_framework.egg-info/entry_points.txt +0 -0
  98. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent_framework.egg-info/requires.txt +0 -0
  99. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/codex_agent_framework.egg-info/top_level.txt +0 -0
  100. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/dependencies.txt +0 -0
  101. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/setup.cfg +0 -0
  102. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/tests/test_agent_runtime.py +0 -0
  103. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/tests/test_ai.py +0 -0
  104. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/tests/test_browser.py +0 -0
  105. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/tests/test_cli.py +0 -0
  106. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/tests/test_cli_root.py +0 -0
  107. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/tests/test_client.py +0 -0
  108. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/tests/test_get_text_browser.py +0 -0
  109. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/tests/test_local_desktop.py +0 -0
  110. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/tests/test_service.py +0 -0
  111. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/tests/test_tray.py +0 -0
  112. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/tests/test_tui.py +0 -0
  113. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/tests/test_utils.py +0 -0
  114. {codex_agent_framework-0.1.19 → codex_agent_framework-0.1.21}/tests/test_worker.py +0 -0
@@ -4,6 +4,48 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  This project loosely follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and uses semantic versioning where practical.
6
6
 
7
+ ## [0.1.21] - 2026-05-10
8
+ ### Added
9
+ - Add the structured `AgentTurn` API: `agent(...)` and `AgentFuture.wait()` now return a turn object with `result`, `completed`, `reason`, `messages`, and `events`.
10
+ - Add resumable non-terminal turns for `auto_proceed=False`; turns that need another model step pause with `reason="requires_next_step"` and continue through `agent.resume_turn(turn)`.
11
+ - Add `agent.set_turn_result(data)` for tools/plugins that need to explicitly finish the current turn with a structured result.
12
+ - Add the built-in `subagents` plugin with profile-based child agents, compact parent results, child-local `set_result`, `SubagentEvent` relay, and a packaged read-only `explorer` profile.
13
+ - Add hierarchical `types` to messages and events while keeping `type` as the concrete computed type.
14
+ - Add configurable `exclude_tools` matching by public or canonical plugin tool names.
15
+
16
+ ### Changed
17
+ - Treat scheduled and post-restart wakeups as internal `DeveloperMessage` entries instead of user-authored messages.
18
+ - Make `AssistantTurnEndEvent` expose a terminal `reason` rather than carrying a raw result payload.
19
+ - Capture turn-local events and messages on `AgentTurn` so embedded callers can inspect what happened without replaying the whole session.
20
+ - Include packaged subagent profile JSON files in distributions.
21
+ - Refresh the packaged default system prompt around agent identity, clarification, durable fixes, and concise final reporting.
22
+
23
+ ### Fixed
24
+ - Preserve coherent turn state across suspended/resumed turns, including stable turn IDs, non-terminal suspension without a turn-end event, and terminal completion on resume.
25
+
26
+ ### Tests
27
+ - Validate the full suite at 483 passing tests.
28
+ - Validate post-restart wakeups after a real server restart and smoke-test `auto_proceed=False` `AgentTurn` suspension/resume behavior.
29
+
30
+ ## [0.1.20] - 2026-05-09
31
+ ### Added
32
+ - Make runtime plugins the single user-facing extension unit for tools, providers, commands, prompt sections, hooks, and events.
33
+ - Add explicit `ToolsManager` and `ProvidersManager` ownership in `tool.py` and `provider.py`.
34
+
35
+ ### Changed
36
+ - Move built-in tools and providers into built-in plugins so the core no longer special-cases `builtin_tools` or `builtin_providers` packages.
37
+ - Keep SDK-style `agent.add_tool()` and `agent.add_provider()` while routing persistent runtime extensions through plugins.
38
+ - Keep system-prompt templating on a small explicit namespace: `agent`, `os`, `runtime_join`, `root_join`, and `text_content`.
39
+ - Refresh README extension, plugin, runtime, and project-layout documentation around the plugin-centric architecture.
40
+
41
+ ### Removed
42
+ - Remove the old `RegistryManager` and `codex_agent/registry.py`.
43
+ - Remove legacy direct runtime loading from `tools/` and `providers/` folders.
44
+ - Remove the compatibility `codex_agent.builtin_tools` package, `codex_agent.builtin_providers` module, and related compatibility aliases.
45
+
46
+ ### Tests
47
+ - Validate the full suite at 456 passing tests.
48
+
7
49
  ## [0.1.19] - 2026-05-08
8
50
  ### Changed
9
51
  - Compacting a session now purges compacted raw history from the active session file, keeping only the previous compaction anchor, the new compaction summary, and any unfinished remainder turn.