agent-core-bus 0.9.0__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 (239) hide show
  1. agent_core_bus-0.9.0/.gitignore +248 -0
  2. agent_core_bus-0.9.0/CHANGELOG.md +70 -0
  3. agent_core_bus-0.9.0/PKG-INFO +27 -0
  4. agent_core_bus-0.9.0/VERSION +1 -0
  5. agent_core_bus-0.9.0/docs/plugins.md +106 -0
  6. agent_core_bus-0.9.0/pyproject.toml +53 -0
  7. agent_core_bus-0.9.0/skills/README.md +31 -0
  8. agent_core_bus-0.9.0/skills/scheduler/SKILL.md +233 -0
  9. agent_core_bus-0.9.0/skills/scheduler/references/architecture.md +137 -0
  10. agent_core_bus-0.9.0/skills/scheduler/references/coordinate.md +189 -0
  11. agent_core_bus-0.9.0/skills/scheduler/references/inspect.md +333 -0
  12. agent_core_bus-0.9.0/src/agent_core/__init__.py +19 -0
  13. agent_core_bus-0.9.0/src/agent_core/audit.py +47 -0
  14. agent_core_bus-0.9.0/src/agent_core/bus/__init__.py +1 -0
  15. agent_core_bus-0.9.0/src/agent_core/bus/auth/__init__.py +1 -0
  16. agent_core_bus-0.9.0/src/agent_core/bus/auth/middleware.py +121 -0
  17. agent_core_bus-0.9.0/src/agent_core/bus/auth/pubkey_registry.py +79 -0
  18. agent_core_bus-0.9.0/src/agent_core/bus/auth/verify.py +56 -0
  19. agent_core_bus-0.9.0/src/agent_core/bus/backup.py +138 -0
  20. agent_core_bus-0.9.0/src/agent_core/bus/cli.py +446 -0
  21. agent_core_bus-0.9.0/src/agent_core/bus/config.py +140 -0
  22. agent_core_bus-0.9.0/src/agent_core/bus/core.py +548 -0
  23. agent_core_bus-0.9.0/src/agent_core/bus/envelope.py +191 -0
  24. agent_core_bus-0.9.0/src/agent_core/bus/handle.py +127 -0
  25. agent_core_bus-0.9.0/src/agent_core/bus/http_host.py +307 -0
  26. agent_core_bus-0.9.0/src/agent_core/bus/notify_broker.py +57 -0
  27. agent_core_bus-0.9.0/src/agent_core/bus/persistence.py +367 -0
  28. agent_core_bus-0.9.0/src/agent_core/bus/protocol.py +117 -0
  29. agent_core_bus-0.9.0/src/agent_core/bus/runner.py +285 -0
  30. agent_core_bus-0.9.0/src/agent_core/bus/supervisor.py +238 -0
  31. agent_core_bus-0.9.0/src/agent_core/bus/watchdog.py +176 -0
  32. agent_core_bus-0.9.0/src/agent_core/bus_hooks/__init__.py +1 -0
  33. agent_core_bus-0.9.0/src/agent_core/bus_hooks/daily_raw_jsonl.py +74 -0
  34. agent_core_bus-0.9.0/src/agent_core/bus_log/__init__.py +56 -0
  35. agent_core_bus-0.9.0/src/agent_core/bus_log/cli.py +97 -0
  36. agent_core_bus-0.9.0/src/agent_core/bus_log/projectors.py +250 -0
  37. agent_core_bus-0.9.0/src/agent_core/bus_log/reader.py +137 -0
  38. agent_core_bus-0.9.0/src/agent_core/bus_log/writer.py +61 -0
  39. agent_core_bus-0.9.0/src/agent_core/bus_tail/__init__.py +18 -0
  40. agent_core_bus-0.9.0/src/agent_core/bus_tail/endpoint.py +98 -0
  41. agent_core_bus-0.9.0/src/agent_core/bus_tail/mcp.py +160 -0
  42. agent_core_bus-0.9.0/src/agent_core/bus_tail/reader.py +228 -0
  43. agent_core_bus-0.9.0/src/agent_core/bus_tail/summaries.py +90 -0
  44. agent_core_bus-0.9.0/src/agent_core/cli.py +156 -0
  45. agent_core_bus-0.9.0/src/agent_core/clock.py +48 -0
  46. agent_core_bus-0.9.0/src/agent_core/daemon/__init__.py +1 -0
  47. agent_core_bus-0.9.0/src/agent_core/daemon/_env.py +28 -0
  48. agent_core_bus-0.9.0/src/agent_core/daemon/_win32.py +42 -0
  49. agent_core_bus-0.9.0/src/agent_core/daemon/autostart.py +112 -0
  50. agent_core_bus-0.9.0/src/agent_core/daemon/autostart_linux.py +70 -0
  51. agent_core_bus-0.9.0/src/agent_core/daemon/autostart_macos.py +88 -0
  52. agent_core_bus-0.9.0/src/agent_core/daemon/cli.py +724 -0
  53. agent_core_bus-0.9.0/src/agent_core/daemon/config_hygiene.py +122 -0
  54. agent_core_bus-0.9.0/src/agent_core/daemon/config_template.py +57 -0
  55. agent_core_bus-0.9.0/src/agent_core/daemon/install.py +95 -0
  56. agent_core_bus-0.9.0/src/agent_core/daemon/instance.py +66 -0
  57. agent_core_bus-0.9.0/src/agent_core/daemon/release.py +216 -0
  58. agent_core_bus-0.9.0/src/agent_core/daemon/supervisor.py +61 -0
  59. agent_core_bus-0.9.0/src/agent_core/daemon/venv_gc.py +343 -0
  60. agent_core_bus-0.9.0/src/agent_core/daemon/windows_service.py +219 -0
  61. agent_core_bus-0.9.0/src/agent_core/email/__init__.py +1 -0
  62. agent_core_bus-0.9.0/src/agent_core/email/cli.py +222 -0
  63. agent_core_bus-0.9.0/src/agent_core/email/client.py +40 -0
  64. agent_core_bus-0.9.0/src/agent_core/endpoints/__init__.py +1 -0
  65. agent_core_bus-0.9.0/src/agent_core/endpoints/claude_code_mcp/__init__.py +8 -0
  66. agent_core_bus-0.9.0/src/agent_core/endpoints/claude_code_mcp/_endpoint.py +783 -0
  67. agent_core_bus-0.9.0/src/agent_core/endpoints/claude_code_mcp/_session.py +74 -0
  68. agent_core_bus-0.9.0/src/agent_core/endpoints/claude_code_mcp/_tools.py +345 -0
  69. agent_core_bus-0.9.0/src/agent_core/endpoints/handoff_jobs.py +602 -0
  70. agent_core_bus-0.9.0/src/agent_core/endpoints/scheduler.py +668 -0
  71. agent_core_bus-0.9.0/src/agent_core/endpoints/stub.py +65 -0
  72. agent_core_bus-0.9.0/src/agent_core/githooks.py +67 -0
  73. agent_core_bus-0.9.0/src/agent_core/hooks/__init__.py +11 -0
  74. agent_core_bus-0.9.0/src/agent_core/hooks/handoff_status.py +104 -0
  75. agent_core_bus-0.9.0/src/agent_core/hooks/pipeline.py +117 -0
  76. agent_core_bus-0.9.0/src/agent_core/hooks/protocol.py +79 -0
  77. agent_core_bus-0.9.0/src/agent_core/hooks/tools/__init__.py +13 -0
  78. agent_core_bus-0.9.0/src/agent_core/hooks/tools/file_injector.py +106 -0
  79. agent_core_bus-0.9.0/src/agent_core/hooks/tools/handoff_bg.py +278 -0
  80. agent_core_bus-0.9.0/src/agent_core/hooks/tools/handoff_injector.py +193 -0
  81. agent_core_bus-0.9.0/src/agent_core/hooks/tools/handoff_writer.py +103 -0
  82. agent_core_bus-0.9.0/src/agent_core/hooks/tools/identity_injector.py +43 -0
  83. agent_core_bus-0.9.0/src/agent_core/hooks/tools/session_end_writer.py +260 -0
  84. agent_core_bus-0.9.0/src/agent_core/hooks/tools/time_injector.py +117 -0
  85. agent_core_bus-0.9.0/src/agent_core/logging.py +131 -0
  86. agent_core_bus-0.9.0/src/agent_core/mcp_audit/__init__.py +11 -0
  87. agent_core_bus-0.9.0/src/agent_core/mcp_audit/middleware.py +123 -0
  88. agent_core_bus-0.9.0/src/agent_core/mcp_audit/writer.py +123 -0
  89. agent_core_bus-0.9.0/src/agent_core/models.py +126 -0
  90. agent_core_bus-0.9.0/src/agent_core/plugins/builtin_aliases.py +93 -0
  91. agent_core_bus-0.9.0/src/agent_core/plugins/example_entrypoint.py +55 -0
  92. agent_core_bus-0.9.0/src/agent_core/plugins/manager.py +199 -0
  93. agent_core_bus-0.9.0/src/agent_core/plugins/specs.py +164 -0
  94. agent_core_bus-0.9.0/src/agent_core/skills/email/SKILL.md +64 -0
  95. agent_core_bus-0.9.0/src/agent_core/testing/__init__.py +46 -0
  96. agent_core_bus-0.9.0/src/agent_core/transcript.py +87 -0
  97. agent_core_bus-0.9.0/src/agent_core/vault_migration_plan.py +208 -0
  98. agent_core_bus-0.9.0/src/agent_core/wake_stats.py +108 -0
  99. agent_core_bus-0.9.0/tests/bus/__init__.py +0 -0
  100. agent_core_bus-0.9.0/tests/bus/fixtures/endpoints_d/endpoints.d/a.yaml +4 -0
  101. agent_core_bus-0.9.0/tests/bus/fixtures/endpoints_d/endpoints.d/b.yaml +4 -0
  102. agent_core_bus-0.9.0/tests/bus/fixtures/endpoints_d/main.yaml +11 -0
  103. agent_core_bus-0.9.0/tests/bus/fixtures/endpoints_d_collision/endpoints.d/dup.yaml +4 -0
  104. agent_core_bus-0.9.0/tests/bus/fixtures/endpoints_d_collision/main.yaml +9 -0
  105. agent_core_bus-0.9.0/tests/bus/fixtures/endpoints_d_malformed/endpoints.d/bad.yaml +1 -0
  106. agent_core_bus-0.9.0/tests/bus/fixtures/endpoints_d_malformed/main.yaml +6 -0
  107. agent_core_bus-0.9.0/tests/bus/test_backup.py +418 -0
  108. agent_core_bus-0.9.0/tests/bus/test_bus_auth_middleware.py +241 -0
  109. agent_core_bus-0.9.0/tests/bus/test_cli_dlq.py +136 -0
  110. agent_core_bus-0.9.0/tests/bus/test_cli_run.py +86 -0
  111. agent_core_bus-0.9.0/tests/bus/test_cli_status.py +122 -0
  112. agent_core_bus-0.9.0/tests/bus/test_cli_status_degraded.py +65 -0
  113. agent_core_bus-0.9.0/tests/bus/test_cli_trace.py +82 -0
  114. agent_core_bus-0.9.0/tests/bus/test_config.py +335 -0
  115. agent_core_bus-0.9.0/tests/bus/test_core_ack.py +89 -0
  116. agent_core_bus-0.9.0/tests/bus/test_core_degraded_boot.py +334 -0
  117. agent_core_bus-0.9.0/tests/bus/test_core_delivery_backoff.py +307 -0
  118. agent_core_bus-0.9.0/tests/bus/test_core_dispatch.py +248 -0
  119. agent_core_bus-0.9.0/tests/bus/test_core_lifecycle.py +94 -0
  120. agent_core_bus-0.9.0/tests/bus/test_core_sweeps.py +103 -0
  121. agent_core_bus-0.9.0/tests/bus/test_endpoints_stub.py +67 -0
  122. agent_core_bus-0.9.0/tests/bus/test_envelope.py +144 -0
  123. agent_core_bus-0.9.0/tests/bus/test_envelope_extension.py +142 -0
  124. agent_core_bus-0.9.0/tests/bus/test_envelope_notification.py +109 -0
  125. agent_core_bus-0.9.0/tests/bus/test_file_attachment_schema.py +47 -0
  126. agent_core_bus-0.9.0/tests/bus/test_handle.py +178 -0
  127. agent_core_bus-0.9.0/tests/bus/test_hooks.py +123 -0
  128. agent_core_bus-0.9.0/tests/bus/test_integration.py +158 -0
  129. agent_core_bus-0.9.0/tests/bus/test_persistence.py +274 -0
  130. agent_core_bus-0.9.0/tests/bus/test_persistence_backoff_migration.py +98 -0
  131. agent_core_bus-0.9.0/tests/bus/test_protocol.py +61 -0
  132. agent_core_bus-0.9.0/tests/bus/test_pubkey_registry.py +119 -0
  133. agent_core_bus-0.9.0/tests/bus/test_runner.py +187 -0
  134. agent_core_bus-0.9.0/tests/bus/test_runner_endpoints_d.py +237 -0
  135. agent_core_bus-0.9.0/tests/bus/test_supervisor.py +537 -0
  136. agent_core_bus-0.9.0/tests/bus/test_supervisor_config.py +173 -0
  137. agent_core_bus-0.9.0/tests/bus/test_watchdog.py +253 -0
  138. agent_core_bus-0.9.0/tests/conftest.py +85 -0
  139. agent_core_bus-0.9.0/tests/endpoints/__init__.py +0 -0
  140. agent_core_bus-0.9.0/tests/endpoints/fixtures/jobs_d/jobs.d/extra.yaml +11 -0
  141. agent_core_bus-0.9.0/tests/endpoints/fixtures/jobs_d/jobs.yaml +11 -0
  142. agent_core_bus-0.9.0/tests/endpoints/fixtures/jobs_d_collision/jobs.d/dup.yaml +9 -0
  143. agent_core_bus-0.9.0/tests/endpoints/fixtures/jobs_d_collision/jobs.yaml +9 -0
  144. agent_core_bus-0.9.0/tests/endpoints/fixtures/jobs_d_malformed/jobs.d/bad.yaml +1 -0
  145. agent_core_bus-0.9.0/tests/endpoints/fixtures/jobs_d_malformed/jobs.yaml +7 -0
  146. agent_core_bus-0.9.0/tests/endpoints/test_scheduler_jobs_d.py +42 -0
  147. agent_core_bus-0.9.0/tests/hooks/test_hook_alpha.py +13 -0
  148. agent_core_bus-0.9.0/tests/hooks/test_hook_beta.py +13 -0
  149. agent_core_bus-0.9.0/tests/test_bus_daemon_integration.py +104 -0
  150. agent_core_bus-0.9.0/tests/test_bus_daemon_push_integration.py +167 -0
  151. agent_core_bus-0.9.0/tests/test_bus_handle_persistence.py +31 -0
  152. agent_core_bus-0.9.0/tests/test_bus_log_cli.py +201 -0
  153. agent_core_bus-0.9.0/tests/test_bus_log_default_projectors.py +264 -0
  154. agent_core_bus-0.9.0/tests/test_bus_log_iter_for_agent.py +189 -0
  155. agent_core_bus-0.9.0/tests/test_bus_log_projector_discovery.py +96 -0
  156. agent_core_bus-0.9.0/tests/test_bus_log_projectors_registry.py +99 -0
  157. agent_core_bus-0.9.0/tests/test_bus_log_reader.py +142 -0
  158. agent_core_bus-0.9.0/tests/test_bus_snapshot_for_agent.py +65 -0
  159. agent_core_bus-0.9.0/tests/test_bus_tail_endpoint.py +82 -0
  160. agent_core_bus-0.9.0/tests/test_bus_tail_mcp.py +190 -0
  161. agent_core_bus-0.9.0/tests/test_bus_tail_runner.py +101 -0
  162. agent_core_bus-0.9.0/tests/test_bus_tail_summaries.py +108 -0
  163. agent_core_bus-0.9.0/tests/test_claude_code_mcp.py +408 -0
  164. agent_core_bus-0.9.0/tests/test_claude_code_mcp_audit_attach.py +48 -0
  165. agent_core_bus-0.9.0/tests/test_claude_code_mcp_auto_ack.py +429 -0
  166. agent_core_bus-0.9.0/tests/test_claude_code_mcp_batching.py +110 -0
  167. agent_core_bus-0.9.0/tests/test_claude_code_mcp_consume_reply.py +568 -0
  168. agent_core_bus-0.9.0/tests/test_claude_code_mcp_outbound_ack_race.py +217 -0
  169. agent_core_bus-0.9.0/tests/test_claude_code_mcp_peek.py +135 -0
  170. agent_core_bus-0.9.0/tests/test_claude_code_mcp_tools_list_changed.py +167 -0
  171. agent_core_bus-0.9.0/tests/test_claude_code_mcp_urgency_ordering.py +76 -0
  172. agent_core_bus-0.9.0/tests/test_cli.py +75 -0
  173. agent_core_bus-0.9.0/tests/test_clock.py +69 -0
  174. agent_core_bus-0.9.0/tests/test_daemon_autostart.py +205 -0
  175. agent_core_bus-0.9.0/tests/test_daemon_autostart_linux.py +129 -0
  176. agent_core_bus-0.9.0/tests/test_daemon_autostart_macos.py +143 -0
  177. agent_core_bus-0.9.0/tests/test_daemon_cli.py +1144 -0
  178. agent_core_bus-0.9.0/tests/test_daemon_config_hygiene.py +211 -0
  179. agent_core_bus-0.9.0/tests/test_daemon_config_template.py +132 -0
  180. agent_core_bus-0.9.0/tests/test_daemon_install.py +156 -0
  181. agent_core_bus-0.9.0/tests/test_daemon_instance.py +95 -0
  182. agent_core_bus-0.9.0/tests/test_daemon_release.py +428 -0
  183. agent_core_bus-0.9.0/tests/test_daemon_supervisor.py +77 -0
  184. agent_core_bus-0.9.0/tests/test_daemon_three_instance_coexistence.py +127 -0
  185. agent_core_bus-0.9.0/tests/test_daemon_venv_gc.py +467 -0
  186. agent_core_bus-0.9.0/tests/test_daemon_windows_service.py +215 -0
  187. agent_core_bus-0.9.0/tests/test_daily_raw_jsonl_hook.py +187 -0
  188. agent_core_bus-0.9.0/tests/test_dynamic_versioning.py +105 -0
  189. agent_core_bus-0.9.0/tests/test_email_cli.py +334 -0
  190. agent_core_bus-0.9.0/tests/test_email_client.py +53 -0
  191. agent_core_bus-0.9.0/tests/test_envelope_urgency.py +66 -0
  192. agent_core_bus-0.9.0/tests/test_file_injector.py +252 -0
  193. agent_core_bus-0.9.0/tests/test_githooks.py +109 -0
  194. agent_core_bus-0.9.0/tests/test_handoff_enqueue_integration.py +112 -0
  195. agent_core_bus-0.9.0/tests/test_handoff_injector.py +325 -0
  196. agent_core_bus-0.9.0/tests/test_handoff_jobs_endpoint.py +1451 -0
  197. agent_core_bus-0.9.0/tests/test_handoff_status.py +62 -0
  198. agent_core_bus-0.9.0/tests/test_handoff_writer.py +122 -0
  199. agent_core_bus-0.9.0/tests/test_hookspath_local_guard.py +47 -0
  200. agent_core_bus-0.9.0/tests/test_http_host.py +135 -0
  201. agent_core_bus-0.9.0/tests/test_jsonl_audit_log.py +90 -0
  202. agent_core_bus-0.9.0/tests/test_list_pending_meta_invariants.py +92 -0
  203. agent_core_bus-0.9.0/tests/test_lock_no_thrash.py +39 -0
  204. agent_core_bus-0.9.0/tests/test_mcp_audit_integration.py +98 -0
  205. agent_core_bus-0.9.0/tests/test_mcp_audit_middleware.py +206 -0
  206. agent_core_bus-0.9.0/tests/test_mcp_audit_runner.py +89 -0
  207. agent_core_bus-0.9.0/tests/test_mcp_audit_writer.py +210 -0
  208. agent_core_bus-0.9.0/tests/test_member_cache_keys_guard.py +39 -0
  209. agent_core_bus-0.9.0/tests/test_models.py +67 -0
  210. agent_core_bus-0.9.0/tests/test_notify_broker.py +76 -0
  211. agent_core_bus-0.9.0/tests/test_notify_broker_publish_hook.py +115 -0
  212. agent_core_bus-0.9.0/tests/test_notify_mail_arrived.py +523 -0
  213. agent_core_bus-0.9.0/tests/test_notify_route.py +145 -0
  214. agent_core_bus-0.9.0/tests/test_pepper_example_yaml.py +249 -0
  215. agent_core_bus-0.9.0/tests/test_persistence_reader.py +373 -0
  216. agent_core_bus-0.9.0/tests/test_persistence_urgency_migration.py +115 -0
  217. agent_core_bus-0.9.0/tests/test_pipeline.py +138 -0
  218. agent_core_bus-0.9.0/tests/test_plugin_envelope_renderers.py +110 -0
  219. agent_core_bus-0.9.0/tests/test_plugins.py +291 -0
  220. agent_core_bus-0.9.0/tests/test_pyproject_uv_index.py +64 -0
  221. agent_core_bus-0.9.0/tests/test_release_export.py +140 -0
  222. agent_core_bus-0.9.0/tests/test_runner_http_host.py +113 -0
  223. agent_core_bus-0.9.0/tests/test_scheduler_endpoint.py +1170 -0
  224. agent_core_bus-0.9.0/tests/test_scheduler_integration.py +255 -0
  225. agent_core_bus-0.9.0/tests/test_send_tool_urgency.py +87 -0
  226. agent_core_bus-0.9.0/tests/test_session_end_writer.py +233 -0
  227. agent_core_bus-0.9.0/tests/test_session_registry.py +83 -0
  228. agent_core_bus-0.9.0/tests/test_show_my_day_mcp_tool.py +131 -0
  229. agent_core_bus-0.9.0/tests/test_structured_logging.py +424 -0
  230. agent_core_bus-0.9.0/tests/test_time_injector.py +161 -0
  231. agent_core_bus-0.9.0/tests/test_transcript.py +157 -0
  232. agent_core_bus-0.9.0/tests/test_vault_migration_plan.py +114 -0
  233. agent_core_bus-0.9.0/tests/test_venv_builder.py +433 -0
  234. agent_core_bus-0.9.0/tests/test_venv_cli.py +115 -0
  235. agent_core_bus-0.9.0/tests/test_venv_mcp_config.py +202 -0
  236. agent_core_bus-0.9.0/tests/test_version.py +19 -0
  237. agent_core_bus-0.9.0/tests/test_wake_meta_drift_guard.py +74 -0
  238. agent_core_bus-0.9.0/tests/test_wake_stats.py +128 -0
  239. agent_core_bus-0.9.0/towncrier.toml +38 -0
@@ -0,0 +1,248 @@
1
+ # Memory compiler runtime state
2
+ memory-compiler/daily/
3
+ memory-compiler/reports/
4
+ memory-compiler/scripts/state.json
5
+ memory-compiler/scripts/last-flush.json
6
+ memory-compiler/scripts/flush.log
7
+ memory-compiler/scripts/compile.log
8
+ memory-compiler/scripts/session-flush-*.md
9
+ memory-compiler/scripts/flush-context-*.md
10
+
11
+ # Handoff writer state (placed alongside handoff files)
12
+ **/handoff-state.json
13
+
14
+ # Git worktrees (superpowers / parallel feature work)
15
+ .worktrees/
16
+ # Native (harness) worktrees
17
+ .claude/worktrees/
18
+
19
+ # Superpowers brainstorm mockups / scratch
20
+ .superpowers/
21
+
22
+ # Agent-core runtime state (handoffs, bus.sqlite, transcripts, etc.)
23
+ .agent-core/
24
+
25
+ # Local scratch / smoke-test artifacts
26
+ .tmp/
27
+
28
+ # Claude Code per-machine local overrides
29
+ .claude/settings.local.json
30
+ .claude/*.lock
31
+
32
+ # Byte-compiled / optimized / DLL files
33
+ __pycache__/
34
+ *.py[codz]
35
+ *$py.class
36
+
37
+ # C extensions
38
+ *.so
39
+
40
+ # Distribution / packaging
41
+ .Python
42
+ build/
43
+ develop-eggs/
44
+ dist/
45
+ downloads/
46
+ eggs/
47
+ .eggs/
48
+ lib/
49
+ lib64/
50
+ parts/
51
+ sdist/
52
+ var/
53
+ wheels/
54
+ share/python-wheels/
55
+ *.egg-info/
56
+ .installed.cfg
57
+ *.egg
58
+ MANIFEST
59
+
60
+ # PyInstaller
61
+ # Usually these files are written by a python script from a template
62
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
63
+ *.manifest
64
+ *.spec
65
+
66
+ # Installer logs
67
+ pip-log.txt
68
+ pip-delete-this-directory.txt
69
+
70
+ # Unit test / coverage reports
71
+ htmlcov/
72
+ .tox/
73
+ .nox/
74
+ .coverage
75
+ .coverage.*
76
+ .cache
77
+ nosetests.xml
78
+ coverage.xml
79
+ *.cover
80
+ *.py.cover
81
+ .hypothesis/
82
+ .pytest_cache/
83
+ cover/
84
+
85
+ # Translations
86
+ *.mo
87
+ *.pot
88
+
89
+ # Django stuff:
90
+ *.log
91
+ local_settings.py
92
+ db.sqlite3
93
+ db.sqlite3-journal
94
+
95
+ # Flask stuff:
96
+ instance/
97
+ .webassets-cache
98
+
99
+ # Scrapy stuff:
100
+ .scrapy
101
+
102
+ # Sphinx documentation
103
+ docs/_build/
104
+
105
+ # PyBuilder
106
+ .pybuilder/
107
+ target/
108
+
109
+ # Jupyter Notebook
110
+ .ipynb_checkpoints
111
+
112
+ # IPython
113
+ profile_default/
114
+ ipython_config.py
115
+
116
+ # pyenv
117
+ # For a library or package, you might want to ignore these files since the code is
118
+ # intended to run in multiple environments; otherwise, check them in:
119
+ # .python-version
120
+
121
+ # pipenv
122
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
123
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
124
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
125
+ # install all needed dependencies.
126
+ #Pipfile.lock
127
+
128
+ # UV
129
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
130
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
131
+ # commonly ignored for libraries.
132
+ #uv.lock
133
+
134
+ # poetry
135
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
136
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
137
+ # commonly ignored for libraries.
138
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
139
+ #poetry.lock
140
+ #poetry.toml
141
+
142
+ # pdm
143
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
144
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
145
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
146
+ #pdm.lock
147
+ #pdm.toml
148
+ .pdm-python
149
+ .pdm-build/
150
+
151
+ # pixi
152
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
153
+ #pixi.lock
154
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
155
+ # in the .venv directory. It is recommended not to include this directory in version control.
156
+ .pixi
157
+
158
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
159
+ __pypackages__/
160
+
161
+ # Celery stuff
162
+ celerybeat-schedule
163
+ celerybeat.pid
164
+
165
+ # SageMath parsed files
166
+ *.sage.py
167
+
168
+ # Environments
169
+ .env
170
+ .envrc
171
+ .venv
172
+ env/
173
+ venv/
174
+ ENV/
175
+ env.bak/
176
+ venv.bak/
177
+ # ...but agent_core.venv is a SOURCE package, not a virtualenv — don't ignore it.
178
+ !packages/core/src/agent_core/venv/
179
+ !packages/core/src/agent_core/venv/**
180
+
181
+ # Spyder project settings
182
+ .spyderproject
183
+ .spyproject
184
+
185
+ # Rope project settings
186
+ .ropeproject
187
+
188
+ # mkdocs documentation
189
+ /site
190
+
191
+ # mypy
192
+ .mypy_cache/
193
+ .dmypy.json
194
+ dmypy.json
195
+
196
+ # Pyre type checker
197
+ .pyre/
198
+
199
+ # pytype static type analyzer
200
+ .pytype/
201
+
202
+ # Cython debug symbols
203
+ cython_debug/
204
+
205
+ # PyCharm
206
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
207
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
208
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
209
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
210
+ #.idea/
211
+
212
+ # Abstra
213
+ # Abstra is an AI-powered process automation framework.
214
+ # Ignore directories containing user credentials, local state, and settings.
215
+ # Learn more at https://abstra.io/docs
216
+ .abstra/
217
+
218
+ # Visual Studio Code
219
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
220
+ # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
221
+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
222
+ # you could uncomment the following to ignore the entire vscode folder
223
+ # .vscode/
224
+
225
+ # Ruff stuff:
226
+ .ruff_cache/
227
+
228
+ # PyPI configuration file
229
+ .pypirc
230
+
231
+ # Cursor
232
+ # Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
233
+ # exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
234
+ # refer to https://docs.cursor.com/context/ignore-files
235
+ .cursorignore
236
+ .cursorindexingignore
237
+
238
+ # Marimo
239
+ marimo/_static/
240
+ marimo/_lsp/
241
+ __marimo__/
242
+ .gstack/
243
+
244
+ # macOS Finder metadata (occasionally sneaks in via vendored sources)
245
+ .DS_Store
246
+
247
+ # Operational docs that must not live in source control
248
+ pepper-vault-plan.txt
@@ -0,0 +1,70 @@
1
+ # Changelog
2
+
3
+ ## [0.9.0](https://github.com/jeffrichley/agent_core/compare/v0.8.2...agent-core-v0.9.0) (2026-08-03)
4
+
5
+
6
+ ### Features
7
+
8
+ * **bus:** add ASGI auth middleware with bus_auth_mode (off/warn/enforce) ([#544](https://github.com/jeffrichley/agent_core/issues/544)) ([d925501](https://github.com/jeffrichley/agent_core/commit/d9255013a0d50a8e694d0ba98e601970827fd3cf))
9
+ * **bus:** add PubkeyRegistry loader for being → Ed25519 pubkey (Dβ-2a) ([#533](https://github.com/jeffrichley/agent_core/issues/533)) ([20e2f91](https://github.com/jeffrichley/agent_core/commit/20e2f91ae3eb766065964d260dc0e8eb372f4685))
10
+ * **daemon:** add venv GC report engine and detectors to daemon doctor ([#540](https://github.com/jeffrichley/agent_core/issues/540)) ([0c30c78](https://github.com/jeffrichley/agent_core/commit/0c30c787b56e0f262f2464a7e93550869904f12b))
11
+ * **daemon:** wire --fix to remove dead central corpse venvs (C2-3c) ([#550](https://github.com/jeffrichley/agent_core/issues/550)) ([3ee03b7](https://github.com/jeffrichley/agent_core/commit/3ee03b7b601acce0eea0c31013edc4d0c0d6cd16))
12
+ * **qa:** session-scoped auto-start daemon fixture, replace skip-unless-live autouse ([#534](https://github.com/jeffrichley/agent_core/issues/534)) ([407c387](https://github.com/jeffrichley/agent_core/commit/407c3874a0636641b0b546a4c262408c839973d3))
13
+ * **venv:** canonical .mcp.json generator (C2-2, [#316](https://github.com/jeffrichley/agent_core/issues/316)) ([#482](https://github.com/jeffrichley/agent_core/issues/482)) ([e376ab2](https://github.com/jeffrichley/agent_core/commit/e376ab2bf4e8130ca8654800a9b3c0034bf68dac))
14
+
15
+ ## [0.8.2](https://github.com/jeffrichley/agent_core/compare/v0.8.1...agent-core-v0.8.2) (2026-07-22)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * republish package family to complete rate-limited first publish ([#477](https://github.com/jeffrichley/agent_core/issues/477)) ([32977ac](https://github.com/jeffrichley/agent_core/commit/32977ac78da4a15553329bb4e1fdaa9e894834ad))
21
+
22
+ ## [0.8.1](https://github.com/jeffrichley/agent_core/compare/v0.8.0...agent-core-v0.8.1) (2026-07-22)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * rename flagship dist to agent-core-bus + bump inter-package pins to 0.8.x ([#474](https://github.com/jeffrichley/agent_core/issues/474)) ([48426e7](https://github.com/jeffrichley/agent_core/commit/48426e7ff753d8f35d4a4626308546e9d0f331f7))
28
+
29
+ ## [0.8.0](https://github.com/jeffrichley/agent_core/compare/v0.7.0...agent-core-v0.8.0) (2026-07-21)
30
+
31
+
32
+ ### Features
33
+
34
+ * **bus:** add backup/restore — VACUUM INTO snapshots, retention, CLI ([#415](https://github.com/jeffrichley/agent_core/issues/415)) ([0a18681](https://github.com/jeffrichley/agent_core/commit/0a18681efa5fe444f716b46300f74c24eee690ba))
35
+ * **bus:** add BusHandle.spawn() tracked-task API ([#290](https://github.com/jeffrichley/agent_core/issues/290)) ([#294](https://github.com/jeffrichley/agent_core/issues/294)) ([d0b0791](https://github.com/jeffrichley/agent_core/commit/d0b0791ef7b56783de5c44376eecf0bb739ce202))
36
+ * **bus:** add delivery retry backoff with next_attempt_at (T5) ([#285](https://github.com/jeffrichley/agent_core/issues/285)) ([2169071](https://github.com/jeffrichley/agent_core/commit/21690717295e85327e6dff868d34ee8e7515095e))
37
+ * **bus:** add EndpointSupervisor + circuit-breaker state machine ([#292](https://github.com/jeffrichley/agent_core/issues/292)) ([d1f3fb1](https://github.com/jeffrichley/agent_core/commit/d1f3fb14478c44d491117912f56c7f1e82cda3a7))
38
+ * **bus:** add portable liveness watchdog (heartbeat + self-terminate) ([#343](https://github.com/jeffrichley/agent_core/issues/343)) ([628ffdb](https://github.com/jeffrichley/agent_core/commit/628ffdb418d126c95305dd54eb5cb0d062b74f38))
39
+ * **bus:** add pydantic daemon-config schema and real validate_config ([#422](https://github.com/jeffrichley/agent_core/issues/422)) ([e3e1a8d](https://github.com/jeffrichley/agent_core/commit/e3e1a8d6c3555d2bcfc2394f59d91508d997633e))
40
+ * **bus:** add SupervisorConfig block to BusConfig with boot logging ([#279](https://github.com/jeffrichley/agent_core/issues/279)) ([97a8522](https://github.com/jeffrichley/agent_core/commit/97a8522627205efcad41c19c7657f5b8ca48848d))
41
+ * **bus:** degraded boot, wire supervisor, state-change events, bus status ([#313](https://github.com/jeffrichley/agent_core/issues/313)) ([24a8eb4](https://github.com/jeffrichley/agent_core/commit/24a8eb452bef85f1955f0f3a6df2483e395bee53))
42
+ * **bus:** offload VoiceEndpoint construction to start() and add slow-deliver watchdog ([#331](https://github.com/jeffrichley/agent_core/issues/331)) ([57d98f5](https://github.com/jeffrichley/agent_core/commit/57d98f546d34afa250b69cc57256e2220a263228))
43
+ * **bus:** per-being config-fragment isolation + degraded load + migrate Pepper ([#381](https://github.com/jeffrichley/agent_core/issues/381)) ([808a271](https://github.com/jeffrichley/agent_core/commit/808a2713c74d0216f523fa4fe79b6d4555de8d83))
44
+ * **core:** hoist JsonlAuditLog base into core, subclass in briefs/voice/webcam ([#465](https://github.com/jeffrichley/agent_core/issues/465)) ([2c7843a](https://github.com/jeffrichley/agent_core/commit/2c7843afd278ed5732388ebb6a3b8350f4f14810))
45
+ * **core:** replace hardcoded __version__ with importlib.metadata lookup ([#342](https://github.com/jeffrichley/agent_core/issues/342)) ([c0e5238](https://github.com/jeffrichley/agent_core/commit/c0e52386ca3d575845310f2a9a1e3ef6439b53cc))
46
+ * **daemon:** add config hygiene / drift detection to daemon doctor (Cα-3) ([#379](https://github.com/jeffrichley/agent_core/issues/379)) ([38ae9c9](https://github.com/jeffrichley/agent_core/commit/38ae9c98ce3c617be8609cc9ca3973ac1a39821c))
47
+ * **daemon:** add cross-platform autostart framework for Linux and macOS ([#340](https://github.com/jeffrichley/agent_core/issues/340)) ([b1d93d8](https://github.com/jeffrichley/agent_core/commit/b1d93d880848332f411e6190863cb2755505af95))
48
+ * **daemon:** add Windows Service headless autostart with unbounded restart ([#337](https://github.com/jeffrichley/agent_core/issues/337)) ([5b1b8df](https://github.com/jeffrichley/agent_core/commit/5b1b8dff47a69cf7aa8d160a9dd0b36a7fb73316))
49
+ * **deps:** version-pin sibling deps and remove qwen-tts from voice ([#430](https://github.com/jeffrichley/agent_core/issues/430)) ([3b173ee](https://github.com/jeffrichley/agent_core/commit/3b173eebd24fb8eab995785a9e154a0dda870f19))
50
+ * **hatchery:** ungendered templates + .mcp.json generation ([#81](https://github.com/jeffrichley/agent_core/issues/81)/[#82](https://github.com/jeffrichley/agent_core/issues/82)) ([#357](https://github.com/jeffrichley/agent_core/issues/357)) ([f48762d](https://github.com/jeffrichley/agent_core/commit/f48762df78eb12cfa9524e9b5a277741534ea8a7)), closes [#311](https://github.com/jeffrichley/agent_core/issues/311)
51
+ * **logging:** add structured JSON logging and correlation-id contextvar ([#462](https://github.com/jeffrichley/agent_core/issues/462)) ([b3397a2](https://github.com/jeffrichley/agent_core/commit/b3397a2b08aa2b083d26ba9d230bacfa07a23641))
52
+ * mypy --strict for agent-core-discord + log CancelledError swallows (closes [#444](https://github.com/jeffrichley/agent_core/issues/444)) ([#470](https://github.com/jeffrichley/agent_core/issues/470)) ([3ca9419](https://github.com/jeffrichley/agent_core/commit/3ca94193c98d547acfe2cd5203b314cb134656d4))
53
+ * **release:** configure release-please for 12-package synchronized version train ([#428](https://github.com/jeffrichley/agent_core/issues/428)) ([c1b4097](https://github.com/jeffrichley/agent_core/commit/c1b409765c61d09a6657b0e8b5e43a27cb235b3e))
54
+ * **secrets:** add vault-API accessor and scrub subprocess env ([#399](https://github.com/jeffrichley/agent_core/issues/399)) ([adb404b](https://github.com/jeffrichley/agent_core/commit/adb404b046bd224b56d64188b2cb56eb134d99b7))
55
+ * **venv:** add per-being pinned venv builder + absolute uv resolution ([#365](https://github.com/jeffrichley/agent_core/issues/365)) ([07ece11](https://github.com/jeffrichley/agent_core/commit/07ece113ddea8b111dece79588a74fc840864aea)), closes [#315](https://github.com/jeffrichley/agent_core/issues/315)
56
+
57
+
58
+ ### Bug Fixes
59
+
60
+ * 6 HIGH findings from the adversarial review (leaks, fragility, footguns) ([#469](https://github.com/jeffrichley/agent_core/issues/469)) ([f546c54](https://github.com/jeffrichley/agent_core/commit/f546c548d2da6455e611c5b5820a21fa8c86211e))
61
+ * **bus:** install signal handlers before announcing readiness (deflake test_cli_run) ([#283](https://github.com/jeffrichley/agent_core/issues/283)) ([08fd821](https://github.com/jeffrichley/agent_core/commit/08fd8214a7958a921d0a6216ced2a1e0183d40ca))
62
+ * log or justify bare except-pass swallows + test get_client factory (closes [#408](https://github.com/jeffrichley/agent_core/issues/408)) ([#471](https://github.com/jeffrichley/agent_core/issues/471)) ([e67783c](https://github.com/jeffrichley/agent_core/commit/e67783ccb4dfab6f1783d6a67223f475f81526ea))
63
+ * **scheduler:** dispose aiosqlite engine on stop + guard against connection leaks ([#468](https://github.com/jeffrichley/agent_core/issues/468)) ([d14421f](https://github.com/jeffrichley/agent_core/commit/d14421f769b62566b8759a541e401ea050c81c44))
64
+
65
+ ## Changelog
66
+
67
+ All notable changes to `agent-core` are documented in this file. The format
68
+ is generated by towncrier from fragments in `changelog.d/` at release time.
69
+
70
+ <!-- towncrier release notes start -->
@@ -0,0 +1,27 @@
1
+ Metadata-Version: 2.4
2
+ Name: agent-core-bus
3
+ Version: 0.9.0
4
+ Summary: Core infrastructure for AI agents - memory, knowledge compilation, and tooling
5
+ License-Expression: MIT
6
+ Requires-Python: >=3.12
7
+ Requires-Dist: agent-core-credentials<0.9,>=0.8
8
+ Requires-Dist: agentmail>=0.4
9
+ Requires-Dist: aiosqlite>=0.20
10
+ Requires-Dist: apscheduler>=4.0.0a5
11
+ Requires-Dist: claude-agent-sdk>=0.1.29
12
+ Requires-Dist: cryptography>=42.0
13
+ Requires-Dist: fastmcp>=2.0
14
+ Requires-Dist: pluggy>=1.6
15
+ Requires-Dist: psutil>=5.9
16
+ Requires-Dist: pydantic>=2.0
17
+ Requires-Dist: pyjwt[crypto]>=2.8
18
+ Requires-Dist: python-dotenv>=1.0.0
19
+ Requires-Dist: pywin32>=300; sys_platform == 'win32'
20
+ Requires-Dist: pyyaml>=6.0
21
+ Requires-Dist: rich>=13.0
22
+ Requires-Dist: sniffio>=1.3
23
+ Requires-Dist: sqlalchemy>=2.0
24
+ Requires-Dist: starlette>=1.3.1
25
+ Requires-Dist: typer>=0.12
26
+ Requires-Dist: tzdata>=2024.1
27
+ Requires-Dist: uvicorn>=0.30
@@ -0,0 +1 @@
1
+ 0.9.0
@@ -0,0 +1,106 @@
1
+ # agent_core Plugin Hooks (v1)
2
+
3
+ `agent_core` uses [Pluggy](https://pluggy.readthedocs.io/) for runtime extension points.
4
+ Plugins are discovered through setuptools entry points in the `agent_core` group.
5
+
6
+ ## Register a plugin
7
+
8
+ Add an entry point in your package's `pyproject.toml`:
9
+
10
+ ```toml
11
+ [project.entry-points."agent_core"]
12
+ my_plugin = "my_package.agent_core_plugin"
13
+ ```
14
+
15
+ Then implement one or more hook functions with:
16
+
17
+ ```python
18
+ import pluggy
19
+
20
+ hookimpl = pluggy.HookimplMarker("agent_core")
21
+ ```
22
+
23
+ ## Hook surface
24
+
25
+ - `register_endpoint_types()`
26
+ Return endpoint type registrations used for YAML `endpoints[].type`.
27
+ - `register_bus_hook_types()`
28
+ Return bus-hook type registrations used for YAML `bus_hooks[].type`.
29
+ - `register_hook_tool_types()`
30
+ Return hook-tool type registrations used for pipeline tool ids.
31
+ - `configure_endpoint_instance(instance, endpoint_name, endpoint_config, services)`
32
+ Post-construction endpoint wiring.
33
+ - `configure_bus_hook_instance(instance, stage, hook_config, services)`
34
+ Post-construction bus hook wiring.
35
+ - `validate_config(raw_config)`
36
+ Validate runner config early; raise to block startup.
37
+
38
+ ## Resolution order
39
+
40
+ Runtime resolution uses the plugin registry maps built at startup.
41
+ Unknown type ids fail startup/config load immediately.
42
+
43
+ ## RunnerServices
44
+
45
+ Wiring hooks receive a `RunnerServices` instance.
46
+
47
+ Current fields:
48
+
49
+ - `notify_broker`: shared notify broker used for push fan-out
50
+
51
+ Treat this object as runtime-owned shared state; do not replace it.
52
+
53
+ ## Built-in behavior
54
+
55
+ Core ships with a built-in runtime plugin that:
56
+
57
+ - attaches `notify_broker` to endpoints implementing `NotificationBrokerAwareEndpoint`
58
+ - keeps bus-hook wiring and config validation as no-op defaults
59
+
60
+ Core also ships an entrypoint-loaded alias plugin:
61
+
62
+ - endpoint aliases:
63
+ - `builtin.claude_code_mcp` -> `agent_core.endpoints.claude_code_mcp.ClaudeCodeMCPEndpoint`
64
+ - `builtin.discord` -> `agent_core_discord.endpoint.DiscordEndpoint`
65
+ - `builtin.stub` -> `agent_core.endpoints.stub.StubEndpoint`
66
+ - `builtin.scheduler` -> `agent_core.endpoints.scheduler.SchedulerEndpoint`
67
+ - `builtin.handoff_jobs` -> `agent_core.endpoints.handoff_jobs.HandoffJobsEndpoint`
68
+ - hook tool aliases:
69
+ - `builtin.handoff_writer` -> `agent_core.hooks.tools.handoff_writer.HandoffWriter`
70
+ - `builtin.identity_injector` -> `agent_core.hooks.tools.identity_injector.IdentityInjector`
71
+ - `builtin.time_injector` -> `agent_core.hooks.tools.time_injector.TimeInjector`
72
+
73
+ Your plugin hooks run alongside these defaults.
74
+
75
+ ## Handoff daemon setup (default pattern)
76
+
77
+ Use `builtin.handoff_jobs` to host the enqueue endpoint, then point
78
+ `builtin.handoff_writer` at that endpoint. The hook remains enqueue-only.
79
+
80
+ ```yaml
81
+ http:
82
+ bind_host: 127.0.0.1
83
+ bind_port: 8788
84
+
85
+ endpoints:
86
+ - type: builtin.handoff_jobs
87
+ name: handoff-jobs
88
+ params:
89
+ mount: /internal/handoff-jobs
90
+
91
+ pipelines:
92
+ SessionEnd:
93
+ - type: builtin.handoff_writer
94
+ params:
95
+ output_path: "C:\\Users\\you\\Memory\\agent\\handoff.md"
96
+ vault_root: "C:\\Users\\you\\Memory\\agent"
97
+ handoff_status_path: "C:\\Users\\you\\Memory\\agent\\handoff-status.json"
98
+ handoff_jobs_url: "http://127.0.0.1:8788/internal/handoff-jobs"
99
+ agent_name: "YourAgent"
100
+ ```
101
+
102
+ With this setup:
103
+
104
+ - hook writes no handoff files and runs no LLM extraction
105
+ - daemon worker writes `handoff.md`
106
+ - daemon worker is the single writer of `handoff-status.json`
@@ -0,0 +1,53 @@
1
+ [project]
2
+ name = "agent-core-bus"
3
+ dynamic = ["version"]
4
+ description = "Core infrastructure for AI agents - memory, knowledge compilation, and tooling"
5
+ license = "MIT"
6
+ requires-python = ">=3.12"
7
+ dependencies = [
8
+ "claude-agent-sdk>=0.1.29",
9
+ "agent-core-credentials>=0.8,<0.9",
10
+ "python-dotenv>=1.0.0",
11
+ "tzdata>=2024.1",
12
+ "pydantic>=2.0",
13
+ "typer>=0.12",
14
+ "rich>=13.0",
15
+ "pyyaml>=6.0",
16
+ "agentmail>=0.4",
17
+ "aiosqlite>=0.20",
18
+ "fastmcp>=2.0",
19
+ "starlette>=1.3.1",
20
+ "uvicorn>=0.30",
21
+ "cryptography>=42.0",
22
+ "PyJWT[crypto]>=2.8",
23
+ "psutil>=5.9",
24
+ "apscheduler>=4.0.0a5",
25
+ "sqlalchemy>=2.0",
26
+ "sniffio>=1.3",
27
+ "pluggy>=1.6",
28
+ "pywin32>=300; sys_platform == 'win32'",
29
+ ]
30
+
31
+ [project.scripts]
32
+ agent-core = "agent_core.cli:app"
33
+ agent-core-daemon = "agent_core.daemon.cli:app"
34
+
35
+ [project.entry-points."agent_core"]
36
+ aliases = "agent_core.plugins.builtin_aliases"
37
+ example = "agent_core.plugins.example_entrypoint"
38
+
39
+ [build-system]
40
+ requires = ["hatchling", "uv-dynamic-versioning"]
41
+ build-backend = "hatchling.build"
42
+
43
+ [tool.hatch.build.targets.wheel]
44
+ packages = ["src/agent_core"]
45
+
46
+ [tool.hatch.version]
47
+ source = "uv-dynamic-versioning"
48
+
49
+ [tool.uv-dynamic-versioning]
50
+ fallback-version = "0.0.0"
51
+
52
+ [tool.uv]
53
+ cache-keys = [{ file = "pyproject.toml" }, { git = { commit = true, tags = true } }]
@@ -0,0 +1,31 @@
1
+ # Canonical skills (packages/core/skills/)
2
+
3
+ This directory holds the **canonical, shipped skills** for bus endpoints implemented in the `core` package. Each skill lives under `skills/<skill-name>/` co-located with the endpoint it documents and depends on.
4
+
5
+ For the broader placement convention across all agent-core packages, see [`docs/skills/PLACEMENT.md`](../../../docs/skills/PLACEMENT.md).
6
+
7
+ ## Skills in this directory
8
+
9
+ | Skill | Endpoint dependency | Endpoint source |
10
+ |---|---|---|
11
+ | `scheduler/` | `builtin.scheduler` | [`src/agent_core/endpoints/scheduler.py`](../src/agent_core/endpoints/scheduler.py) |
12
+
13
+ ## How beings install these
14
+
15
+ Beings (Wren, Pepper, testbot, future beings) install these skills into their own `~/.<being>/.claude/skills/` directory via the **canonical-replacement-install pattern**:
16
+
17
+ 1. Rename the being's current skill file (if present) to `<original>.stale-bak-YYYYMMDD`
18
+ 2. Copy the new canonical version from this package into the being's vault using `cp -R src/. dst/` (the trailing `/.` matters on Git Bash — `cp -R src/ dst/` nests `src` inside `dst/` when `dst` already exists)
19
+ 3. Verify post-install via line-count cross-check or `grep` for expected new content
20
+ 4. After one auto-backup cycle, delete the `.stale-bak-YYYYMMDD` file
21
+
22
+ Until a unified install tool ships (planned future work), beings perform this manually. The pattern is documented in detail in Wren's `feedback_stale_bak_retention_pattern` memory and Pepper's equivalent.
23
+
24
+ ## Adding a new endpoint-coupled skill to `core`
25
+
26
+ 1. Implement the endpoint in `src/agent_core/endpoints/<endpoint>.py`
27
+ 2. Author the skill in `skills/<skill-name>/SKILL.md` (+ optional `references/` subdir for deep-dive docs)
28
+ 3. Update this README's table to add the new skill
29
+ 4. Open a PR; criterion-check happens at PR review (see `docs/skills/PLACEMENT.md` for the criterion-check shape)
30
+
31
+ Skills should be **readable without their endpoint installed** — they ship together but the skill itself is also a setup guide for a reader who's never run the endpoint.