evo-agents-core-plugins 2.1.2__tar.gz → 2.2.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 (141) hide show
  1. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/PKG-INFO +22 -3
  2. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/README.md +21 -2
  3. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_agents_core_plugins.egg-info/PKG-INFO +22 -3
  4. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_agents_core_plugins.egg-info/SOURCES.txt +2 -0
  5. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/__init__.py +1 -1
  6. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/chats/__init__.py +1 -1
  7. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/crm/__init__.py +1 -1
  8. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/__init__.py +1 -1
  9. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/__init__.py +1 -1
  10. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/pm/__init__.py +1 -1
  11. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/telegram/__init__.py +13 -5
  12. evo_agents_core_plugins-2.2.0/evo_core_plugins/telegram/bridge.py +538 -0
  13. evo_agents_core_plugins-2.2.0/evo_core_plugins/telegram/bridge_model.py +334 -0
  14. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/telegram/server.py +50 -6
  15. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/LICENSE +0 -0
  16. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_agents_core_plugins.egg-info/dependency_links.txt +0 -0
  17. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_agents_core_plugins.egg-info/entry_points.txt +0 -0
  18. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_agents_core_plugins.egg-info/top_level.txt +0 -0
  19. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/__main__.py +0 -0
  20. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/chats/kg.py +0 -0
  21. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/crm/cli.json +0 -0
  22. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/crm/cli_text.py +0 -0
  23. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/crm/github.py +0 -0
  24. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/crm/intake.py +0 -0
  25. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/crm/job.py +0 -0
  26. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/crm/kg.py +0 -0
  27. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/crm/loop.py +0 -0
  28. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/crm/migrations/0001_adopt.py +0 -0
  29. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/crm/migrations/__init__.py +0 -0
  30. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/crm/models.py +0 -0
  31. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/crm/push.py +0 -0
  32. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/crm/rules.py +0 -0
  33. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/crm/server.py +0 -0
  34. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/crm/settings.py +0 -0
  35. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/crm/staging.py +0 -0
  36. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/crm/store.py +0 -0
  37. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/crm/tables.py +0 -0
  38. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/crm/tools.py +0 -0
  39. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/crm/ui/pages/common.css +0 -0
  40. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/crm/ui/pages/common.js +0 -0
  41. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/crm/ui/pages/contacts.html +0 -0
  42. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/crm/ui/pages/contacts.js +0 -0
  43. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/crm/ui/pages/i18n/en.js +0 -0
  44. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/crm/ui/pages/i18n/vi.js +0 -0
  45. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/cli.json +0 -0
  46. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/cli_text.py +0 -0
  47. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/document.py +0 -0
  48. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/events.py +0 -0
  49. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/flow.py +0 -0
  50. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/judge.py +0 -0
  51. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/kg.py +0 -0
  52. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/ledger.py +0 -0
  53. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/marginalia.py +0 -0
  54. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/migrations/0001_create.py +0 -0
  55. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/migrations/0002_flow.py +0 -0
  56. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/migrations/__init__.py +0 -0
  57. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/models.py +0 -0
  58. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/probes.py +0 -0
  59. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/server.py +0 -0
  60. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/service.py +0 -0
  61. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/settings.py +0 -0
  62. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/store.py +0 -0
  63. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/tables.py +0 -0
  64. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/tools.py +0 -0
  65. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/ui/pages/common.css +0 -0
  66. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/ui/pages/common.js +0 -0
  67. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/ui/pages/feedback.html +0 -0
  68. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/ui/pages/feedback.js +0 -0
  69. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/ui/pages/i18n/en.js +0 -0
  70. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/ui/pages/i18n/vi.js +0 -0
  71. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/ui/pages/posts.html +0 -0
  72. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/editorial/ui/pages/posts.js +0 -0
  73. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/adapters/__init__.py +0 -0
  74. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/adapters/apis.py +0 -0
  75. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/adapters/base.py +0 -0
  76. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/adapters/oauth1.py +0 -0
  77. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/breaker.py +0 -0
  78. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/browser.py +0 -0
  79. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/budget.py +0 -0
  80. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/campaign.py +0 -0
  81. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/cli.json +0 -0
  82. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/cli_text.py +0 -0
  83. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/flow.py +0 -0
  84. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/gate.py +0 -0
  85. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/health.py +0 -0
  86. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/job.py +0 -0
  87. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/judge.py +0 -0
  88. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/loop.py +0 -0
  89. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/metrics.py +0 -0
  90. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/migrations/0001_adopt.py +0 -0
  91. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/migrations/__init__.py +0 -0
  92. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/models.py +0 -0
  93. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/outcome.py +0 -0
  94. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/push.py +0 -0
  95. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/registry.py +0 -0
  96. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/replies.py +0 -0
  97. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/server.py +0 -0
  98. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/settings.py +0 -0
  99. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/store.py +0 -0
  100. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/tables.py +0 -0
  101. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/tools.py +0 -0
  102. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/ui/pages/common.css +0 -0
  103. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/ui/pages/common.js +0 -0
  104. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/ui/pages/decide.html +0 -0
  105. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/ui/pages/decide.js +0 -0
  106. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/ui/pages/i18n/en.js +0 -0
  107. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/ui/pages/i18n/vi.js +0 -0
  108. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/ui/pages/marketing.js +0 -0
  109. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/ui/pages/overview.html +0 -0
  110. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/ui/pages/overview.js +0 -0
  111. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/ui/pages/posts.html +0 -0
  112. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/ui/pages/posts.js +0 -0
  113. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/ui/pages/weekly.html +0 -0
  114. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/ui/pages/weekly.js +0 -0
  115. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/marketing/weekly.py +0 -0
  116. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/pm/agent.py +0 -0
  117. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/pm/cli.json +0 -0
  118. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/pm/cli_text.py +0 -0
  119. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/pm/facts.py +0 -0
  120. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/pm/job.py +0 -0
  121. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/pm/migrations/0001_adopt.py +0 -0
  122. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/pm/migrations/__init__.py +0 -0
  123. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/pm/models.py +0 -0
  124. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/pm/outcome.py +0 -0
  125. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/pm/reads.py +0 -0
  126. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/pm/report.py +0 -0
  127. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/pm/server.py +0 -0
  128. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/pm/service.py +0 -0
  129. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/pm/settings.py +0 -0
  130. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/pm/sprint_view.py +0 -0
  131. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/pm/tables.py +0 -0
  132. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/pm/ui/pages/common.css +0 -0
  133. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/pm/ui/pages/common.js +0 -0
  134. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/pm/ui/pages/daily.html +0 -0
  135. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/pm/ui/pages/daily.js +0 -0
  136. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/pm/ui/pages/i18n/en.js +0 -0
  137. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/pm/ui/pages/i18n/vi.js +0 -0
  138. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/pm/workdays.py +0 -0
  139. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/evo_core_plugins/telegram/model.py +0 -0
  140. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/pyproject.toml +0 -0
  141. {evo_agents_core_plugins-2.1.2 → evo_agents_core_plugins-2.2.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: evo-agents-core-plugins
3
- Version: 2.1.2
3
+ Version: 2.2.0
4
4
  Summary: The first-party core plugins of the evo-agents hub: Telegram, the chat history in the knowledge graph, crm, pm, marketing and editorial
5
5
  Author: maycuatroi
6
6
  License-Expression: Apache-2.0
@@ -21,7 +21,7 @@ and built on its API of core plugins alone (`evo_agents.hub.server.core_plugin_a
21
21
 
22
22
  | Plugin | Package | What it does |
23
23
  |---|---|---|
24
- | `telegram` | `evo_core_plugins.telegram` | The hub's Telegram channel: a member links a private chat from the web, gets decisions, proposals and notices there, with the files of a run and of a question as photos or documents, and answers them with buttons or replies |
24
+ | `telegram` | `evo_core_plugins.telegram` | The hub's Telegram channel: a member links a private chat from the web, gets decisions, proposals and notices there, with the files of a run and of a question as photos or documents, and answers them with buttons or replies; and, in a project that enables it, the bridge of a Telegram group to a group chat of the hub, both ways ([docs/telegram-plugin.md](docs/telegram-plugin.md)) |
25
25
  | `chats` | `evo_core_plugins.chats` | The messages of the hub's group chats in each project's knowledge graph, for who is in each chat |
26
26
  | `pm` | `evo_core_plugins.pm` | The daily report of a project's delivery, read from the hub's tasks, srs, plans, runs and decisions, sent as a digest with escalations of old blockers ([docs/pm-plugin.md](docs/pm-plugin.md)) |
27
27
  | `crm` | `evo_core_plugins.crm` | The people who found a project themselves, as contacts with a stage (lead, invited, activated, retained) pushed to Signal ([docs/crm-plugin.md](docs/crm-plugin.md)) |
@@ -38,6 +38,19 @@ of Alembic migrations (`migrations/`, version table `alembic_version_<id>`), who
38
38
  hub's migrations made before, rows and all. Their pages are files under `ui/pages`, which the hub frames, and their
39
39
  commands a `cli.json` the CLI reads without importing the plugin, with the words without `--json` from `cli_text.py`.
40
40
 
41
+ ### The Telegram group bridge
42
+
43
+ Before you bridge a group, read [docs/telegram-plugin.md](docs/telegram-plugin.md). In short:
44
+
45
+ - **Turn privacy mode off** with @BotFather (*Bot Settings*, then *Group Privacy*, then *Turn off*), then add the bot
46
+ to the group again. With privacy mode on, the members' messages never reach the hub.
47
+ - **Anyone in the group reads what goes out**, at the level the chat's label and the project's `telegram` channel sink
48
+ allow, whether or not they are a member of the hub.
49
+ - **The group's admins manage its members** in Telegram. The hub does not know who is in the group.
50
+ - The project enables `telegram` with `chats:read` and `chats:write` and declares a sink of kind `channel` named
51
+ `telegram` in `knowledge.yaml`. A hub admin runs `evo-agents hub admin telegram --set-webhook` again after the
52
+ upgrade, so the bot learns when it is taken out of a group.
53
+
41
54
  ## How the hub installs it
42
55
 
43
56
  One distribution, `evo-agents-core-plugins`, with one entry point per plugin in group `evo_agents.plugins`. The hub's
@@ -75,9 +88,15 @@ versions.
75
88
  | 2.1.0 | 1.4 | `3e42aad7d4c626f43d6cf86a529e188b9fb1e76f` (pull request #270) |
76
89
  | 2.1.1 | 1.4 | the same |
77
90
  | 2.1.2 | 1.4 | the same |
91
+ | 2.2.0 | 1.5 | `49359c9ba0e5aca315f62520f03aeb127b05ac93` (pull request #293, plan chat-bridges) |
78
92
 
79
93
  ### Releases
80
94
 
95
+ - **2.2.0**: `telegram` bridges a Telegram group with a chat of the hub through the chat bridge of API 1.5:
96
+ `/link <code>` in the group, linked members' messages come in as theirs (`@<bot>` mentions an agent), the chat's
97
+ messages go out when their label is cleared for the project's `channel` sink, with photos, documents, run progress
98
+ as one edited message and an agent's ✅ and ❌ as reactions. The 1:1 channel is unchanged. Every plugin asks for API
99
+ 1.5; hub admins run `evo-agents hub admin telegram --set-webhook` again for `my_chat_member`. No migration.
81
100
  - **2.1.2**: `editorial` hands the writer a task on a gate's answer only when it came through the hub (`via` hub,
82
101
  the default); an answer from inside a session (`claude-code`, `codex`) is kept and hands none, as that session goes
83
102
  on itself. API 1.4, no migration.
@@ -138,7 +157,7 @@ checks out main instead of the lock, and `make lock` says whether `.evo-agents`
138
157
  `plugin_tests/test_telegram.py`, `test_telegram_model.py`, `fake_telegram.py` and `test_chats_kg_source.py` are the
139
158
  tests telegram and chats had in evo-agents; `test_pm_*.py`, `test_hub_pm_cli.py`, `test_crm_*.py`, `test_marketing_*.py`
140
159
  and `test_growth_*.py` the tests of pm, crm and marketing there (`tests/hub`). `test_telegram_files.py` sends the files of notifications through the channel
141
- alone, and `test_telegram_outputs.py` through a hub that gives them; it skips with evo-agents at a commit whose hub
160
+ alone, `test_telegram_bridge.py` drives the group bridge through a hub and the fake Bot API, and `test_telegram_outputs.py` through a hub that gives them; it skips with evo-agents at a commit whose hub
142
161
  gives channels no files. They use evo-agents' test helpers from the checkout at the lock: `tests.hub.pg`,
143
162
  `tests.hub.live`, the fixtures of `tests/hub/conftest.py` and functions of its test modules (`conftest.py` puts the
144
163
  checkout on `sys.path` and loads them). **These helpers are not part of the API of core plugins.** No wheel holds them
@@ -5,7 +5,7 @@ and built on its API of core plugins alone (`evo_agents.hub.server.core_plugin_a
5
5
 
6
6
  | Plugin | Package | What it does |
7
7
  |---|---|---|
8
- | `telegram` | `evo_core_plugins.telegram` | The hub's Telegram channel: a member links a private chat from the web, gets decisions, proposals and notices there, with the files of a run and of a question as photos or documents, and answers them with buttons or replies |
8
+ | `telegram` | `evo_core_plugins.telegram` | The hub's Telegram channel: a member links a private chat from the web, gets decisions, proposals and notices there, with the files of a run and of a question as photos or documents, and answers them with buttons or replies; and, in a project that enables it, the bridge of a Telegram group to a group chat of the hub, both ways ([docs/telegram-plugin.md](docs/telegram-plugin.md)) |
9
9
  | `chats` | `evo_core_plugins.chats` | The messages of the hub's group chats in each project's knowledge graph, for who is in each chat |
10
10
  | `pm` | `evo_core_plugins.pm` | The daily report of a project's delivery, read from the hub's tasks, srs, plans, runs and decisions, sent as a digest with escalations of old blockers ([docs/pm-plugin.md](docs/pm-plugin.md)) |
11
11
  | `crm` | `evo_core_plugins.crm` | The people who found a project themselves, as contacts with a stage (lead, invited, activated, retained) pushed to Signal ([docs/crm-plugin.md](docs/crm-plugin.md)) |
@@ -22,6 +22,19 @@ of Alembic migrations (`migrations/`, version table `alembic_version_<id>`), who
22
22
  hub's migrations made before, rows and all. Their pages are files under `ui/pages`, which the hub frames, and their
23
23
  commands a `cli.json` the CLI reads without importing the plugin, with the words without `--json` from `cli_text.py`.
24
24
 
25
+ ### The Telegram group bridge
26
+
27
+ Before you bridge a group, read [docs/telegram-plugin.md](docs/telegram-plugin.md). In short:
28
+
29
+ - **Turn privacy mode off** with @BotFather (*Bot Settings*, then *Group Privacy*, then *Turn off*), then add the bot
30
+ to the group again. With privacy mode on, the members' messages never reach the hub.
31
+ - **Anyone in the group reads what goes out**, at the level the chat's label and the project's `telegram` channel sink
32
+ allow, whether or not they are a member of the hub.
33
+ - **The group's admins manage its members** in Telegram. The hub does not know who is in the group.
34
+ - The project enables `telegram` with `chats:read` and `chats:write` and declares a sink of kind `channel` named
35
+ `telegram` in `knowledge.yaml`. A hub admin runs `evo-agents hub admin telegram --set-webhook` again after the
36
+ upgrade, so the bot learns when it is taken out of a group.
37
+
25
38
  ## How the hub installs it
26
39
 
27
40
  One distribution, `evo-agents-core-plugins`, with one entry point per plugin in group `evo_agents.plugins`. The hub's
@@ -59,9 +72,15 @@ versions.
59
72
  | 2.1.0 | 1.4 | `3e42aad7d4c626f43d6cf86a529e188b9fb1e76f` (pull request #270) |
60
73
  | 2.1.1 | 1.4 | the same |
61
74
  | 2.1.2 | 1.4 | the same |
75
+ | 2.2.0 | 1.5 | `49359c9ba0e5aca315f62520f03aeb127b05ac93` (pull request #293, plan chat-bridges) |
62
76
 
63
77
  ### Releases
64
78
 
79
+ - **2.2.0**: `telegram` bridges a Telegram group with a chat of the hub through the chat bridge of API 1.5:
80
+ `/link <code>` in the group, linked members' messages come in as theirs (`@<bot>` mentions an agent), the chat's
81
+ messages go out when their label is cleared for the project's `channel` sink, with photos, documents, run progress
82
+ as one edited message and an agent's ✅ and ❌ as reactions. The 1:1 channel is unchanged. Every plugin asks for API
83
+ 1.5; hub admins run `evo-agents hub admin telegram --set-webhook` again for `my_chat_member`. No migration.
65
84
  - **2.1.2**: `editorial` hands the writer a task on a gate's answer only when it came through the hub (`via` hub,
66
85
  the default); an answer from inside a session (`claude-code`, `codex`) is kept and hands none, as that session goes
67
86
  on itself. API 1.4, no migration.
@@ -122,7 +141,7 @@ checks out main instead of the lock, and `make lock` says whether `.evo-agents`
122
141
  `plugin_tests/test_telegram.py`, `test_telegram_model.py`, `fake_telegram.py` and `test_chats_kg_source.py` are the
123
142
  tests telegram and chats had in evo-agents; `test_pm_*.py`, `test_hub_pm_cli.py`, `test_crm_*.py`, `test_marketing_*.py`
124
143
  and `test_growth_*.py` the tests of pm, crm and marketing there (`tests/hub`). `test_telegram_files.py` sends the files of notifications through the channel
125
- alone, and `test_telegram_outputs.py` through a hub that gives them; it skips with evo-agents at a commit whose hub
144
+ alone, `test_telegram_bridge.py` drives the group bridge through a hub and the fake Bot API, and `test_telegram_outputs.py` through a hub that gives them; it skips with evo-agents at a commit whose hub
126
145
  gives channels no files. They use evo-agents' test helpers from the checkout at the lock: `tests.hub.pg`,
127
146
  `tests.hub.live`, the fixtures of `tests/hub/conftest.py` and functions of its test modules (`conftest.py` puts the
128
147
  checkout on `sys.path` and loads them). **These helpers are not part of the API of core plugins.** No wheel holds them
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: evo-agents-core-plugins
3
- Version: 2.1.2
3
+ Version: 2.2.0
4
4
  Summary: The first-party core plugins of the evo-agents hub: Telegram, the chat history in the knowledge graph, crm, pm, marketing and editorial
5
5
  Author: maycuatroi
6
6
  License-Expression: Apache-2.0
@@ -21,7 +21,7 @@ and built on its API of core plugins alone (`evo_agents.hub.server.core_plugin_a
21
21
 
22
22
  | Plugin | Package | What it does |
23
23
  |---|---|---|
24
- | `telegram` | `evo_core_plugins.telegram` | The hub's Telegram channel: a member links a private chat from the web, gets decisions, proposals and notices there, with the files of a run and of a question as photos or documents, and answers them with buttons or replies |
24
+ | `telegram` | `evo_core_plugins.telegram` | The hub's Telegram channel: a member links a private chat from the web, gets decisions, proposals and notices there, with the files of a run and of a question as photos or documents, and answers them with buttons or replies; and, in a project that enables it, the bridge of a Telegram group to a group chat of the hub, both ways ([docs/telegram-plugin.md](docs/telegram-plugin.md)) |
25
25
  | `chats` | `evo_core_plugins.chats` | The messages of the hub's group chats in each project's knowledge graph, for who is in each chat |
26
26
  | `pm` | `evo_core_plugins.pm` | The daily report of a project's delivery, read from the hub's tasks, srs, plans, runs and decisions, sent as a digest with escalations of old blockers ([docs/pm-plugin.md](docs/pm-plugin.md)) |
27
27
  | `crm` | `evo_core_plugins.crm` | The people who found a project themselves, as contacts with a stage (lead, invited, activated, retained) pushed to Signal ([docs/crm-plugin.md](docs/crm-plugin.md)) |
@@ -38,6 +38,19 @@ of Alembic migrations (`migrations/`, version table `alembic_version_<id>`), who
38
38
  hub's migrations made before, rows and all. Their pages are files under `ui/pages`, which the hub frames, and their
39
39
  commands a `cli.json` the CLI reads without importing the plugin, with the words without `--json` from `cli_text.py`.
40
40
 
41
+ ### The Telegram group bridge
42
+
43
+ Before you bridge a group, read [docs/telegram-plugin.md](docs/telegram-plugin.md). In short:
44
+
45
+ - **Turn privacy mode off** with @BotFather (*Bot Settings*, then *Group Privacy*, then *Turn off*), then add the bot
46
+ to the group again. With privacy mode on, the members' messages never reach the hub.
47
+ - **Anyone in the group reads what goes out**, at the level the chat's label and the project's `telegram` channel sink
48
+ allow, whether or not they are a member of the hub.
49
+ - **The group's admins manage its members** in Telegram. The hub does not know who is in the group.
50
+ - The project enables `telegram` with `chats:read` and `chats:write` and declares a sink of kind `channel` named
51
+ `telegram` in `knowledge.yaml`. A hub admin runs `evo-agents hub admin telegram --set-webhook` again after the
52
+ upgrade, so the bot learns when it is taken out of a group.
53
+
41
54
  ## How the hub installs it
42
55
 
43
56
  One distribution, `evo-agents-core-plugins`, with one entry point per plugin in group `evo_agents.plugins`. The hub's
@@ -75,9 +88,15 @@ versions.
75
88
  | 2.1.0 | 1.4 | `3e42aad7d4c626f43d6cf86a529e188b9fb1e76f` (pull request #270) |
76
89
  | 2.1.1 | 1.4 | the same |
77
90
  | 2.1.2 | 1.4 | the same |
91
+ | 2.2.0 | 1.5 | `49359c9ba0e5aca315f62520f03aeb127b05ac93` (pull request #293, plan chat-bridges) |
78
92
 
79
93
  ### Releases
80
94
 
95
+ - **2.2.0**: `telegram` bridges a Telegram group with a chat of the hub through the chat bridge of API 1.5:
96
+ `/link <code>` in the group, linked members' messages come in as theirs (`@<bot>` mentions an agent), the chat's
97
+ messages go out when their label is cleared for the project's `channel` sink, with photos, documents, run progress
98
+ as one edited message and an agent's ✅ and ❌ as reactions. The 1:1 channel is unchanged. Every plugin asks for API
99
+ 1.5; hub admins run `evo-agents hub admin telegram --set-webhook` again for `my_chat_member`. No migration.
81
100
  - **2.1.2**: `editorial` hands the writer a task on a gate's answer only when it came through the hub (`via` hub,
82
101
  the default); an answer from inside a session (`claude-code`, `codex`) is kept and hands none, as that session goes
83
102
  on itself. API 1.4, no migration.
@@ -138,7 +157,7 @@ checks out main instead of the lock, and `make lock` says whether `.evo-agents`
138
157
  `plugin_tests/test_telegram.py`, `test_telegram_model.py`, `fake_telegram.py` and `test_chats_kg_source.py` are the
139
158
  tests telegram and chats had in evo-agents; `test_pm_*.py`, `test_hub_pm_cli.py`, `test_crm_*.py`, `test_marketing_*.py`
140
159
  and `test_growth_*.py` the tests of pm, crm and marketing there (`tests/hub`). `test_telegram_files.py` sends the files of notifications through the channel
141
- alone, and `test_telegram_outputs.py` through a hub that gives them; it skips with evo-agents at a commit whose hub
160
+ alone, `test_telegram_bridge.py` drives the group bridge through a hub and the fake Bot API, and `test_telegram_outputs.py` through a hub that gives them; it skips with evo-agents at a commit whose hub
142
161
  gives channels no files. They use evo-agents' test helpers from the checkout at the lock: `tests.hub.pg`,
143
162
  `tests.hub.live`, the fixtures of `tests/hub/conftest.py` and functions of its test modules (`conftest.py` puts the
144
163
  checkout on `sys.path` and loads them). **These helpers are not part of the API of core plugins.** No wheel holds them
@@ -133,5 +133,7 @@ evo_core_plugins/pm/ui/pages/daily.js
133
133
  evo_core_plugins/pm/ui/pages/i18n/en.js
134
134
  evo_core_plugins/pm/ui/pages/i18n/vi.js
135
135
  evo_core_plugins/telegram/__init__.py
136
+ evo_core_plugins/telegram/bridge.py
137
+ evo_core_plugins/telegram/bridge_model.py
136
138
  evo_core_plugins/telegram/model.py
137
139
  evo_core_plugins/telegram/server.py
@@ -10,7 +10,7 @@ which every plugin of one release shares.
10
10
  Nothing here imports another plugin's package: ``PLUGINS`` names them for the checks and the command alone.
11
11
  """
12
12
 
13
- __version__ = "2.1.2"
13
+ __version__ = "2.2.0"
14
14
 
15
15
  PLUGINS = (
16
16
  "telegram",
@@ -19,7 +19,7 @@ the API the plugin is written for: a hub that serves another leaves the plugin o
19
19
 
20
20
  from evo_agents.hub.server import core_plugin_api as hub
21
21
 
22
- API = (1, 4) # the version of the API of core plugins this plugin is written for
22
+ API = (1, 5) # the version of the API of core plugins this plugin is written for
23
23
  KG = "evo_core_plugins.chats.kg"
24
24
  READS = "chats:read" # what the source reads: the project's group chats (evo_agents.plugins.manifest.PERMISSIONS)
25
25
 
@@ -195,7 +195,7 @@ MANIFEST = {
195
195
  },
196
196
  }
197
197
 
198
- API = (1, 4) # the version of the core plugin API the plugin is written for
198
+ API = (1, 5) # the version of the core plugin API the plugin is written for
199
199
 
200
200
 
201
201
  def manifest() -> dict:
@@ -200,7 +200,7 @@ def _manifest() -> dict:
200
200
  }
201
201
 
202
202
 
203
- API = (1, 4) # the version of the core plugin API the plugin is written for
203
+ API = (1, 5) # the version of the core plugin API the plugin is written for
204
204
 
205
205
 
206
206
  def manifest() -> dict:
@@ -349,7 +349,7 @@ MANIFEST = {
349
349
  },
350
350
  }
351
351
 
352
- API = (1, 4) # the version of the core plugin API the plugin is written for
352
+ API = (1, 5) # the version of the core plugin API the plugin is written for
353
353
 
354
354
 
355
355
  def manifest() -> dict:
@@ -190,7 +190,7 @@ MANIFEST = {
190
190
  },
191
191
  }
192
192
 
193
- API = (1, 4) # the version of the core plugin API the plugin is written for
193
+ API = (1, 5) # the version of the core plugin API the plugin is written for
194
194
 
195
195
 
196
196
  def manifest() -> dict:
@@ -6,12 +6,17 @@ It left evo-agents as it was there: the same variables (EVO_HUB_TELEGRAM_*), rou
6
6
  publisher and entry point name, which the hub's store, the members' channels of kind ``telegram`` and the projects
7
7
  rely on. Its channel is a kind of members' channel (``telegram``); its routes keep the paths they had (the empty
8
8
  prefix: each router carries its own under /v1); its link codes are the rows of kind telegram of the hub's
9
- channel_link_codes, which it owns no more than any other core plugin does. Nothing of it is per project, so it runs
10
- hub-wide wherever this distribution is installed beside evo-ak: the hub's store lists it as a core plugin installed
11
- with the image, and no project enables it.
9
+ channel_link_codes, which it owns no more than any other core plugin does. The channel and the routes run hub-wide
10
+ wherever this distribution is installed beside evo-ak, whichever project enables the plugin.
11
+
12
+ Since API 1.5 it is also the transport of the bridge of a Telegram group to a group chat of the hub (``bridge``,
13
+ ``docs/telegram-plugin.md``): it asks for chats:read and chats:write and takes the event ``chat.bridge``, so the
14
+ hub's store lists it as a plugin projects enable, and a chat whose agents' projects all enable it with both
15
+ permissions can be bridged. A member's private chat with the bot does not depend on that.
12
16
 
13
17
  It reaches the hub through the API of core plugins alone (``evo_agents.hub.server.core_plugin_api``), with relative
14
- imports between its own modules: ``model`` holds its messages, ``server`` its channel and routes. What the hub keeps
18
+ imports between its own modules: ``model`` holds its messages, ``server`` its channel and routes, ``bridge_model``
19
+ and ``bridge`` the bridge of a group. What the hub keeps
15
20
  of Telegram for itself (what may reach a channel, the words of a minimal message) stays in ``evo_agents.hub.telegram``.
16
21
 
17
22
  The entry point names ``manifest``, which asks for the version of the API the plugin is written for: a hub that serves
@@ -20,8 +25,9 @@ another leaves the plugin out with that reason, and the build of its image fails
20
25
 
21
26
  from evo_agents.hub.server import core_plugin_api as hub
22
27
 
23
- API = (1, 4) # the version of the API of core plugins this plugin is written for
28
+ API = (1, 5) # the version of the API of core plugins this plugin is written for
24
29
  SERVER = "evo_core_plugins.telegram.server"
30
+ BRIDGE = "evo_core_plugins.telegram.bridge"
25
31
 
26
32
  MANIFEST = {
27
33
  "id": "telegram",
@@ -32,6 +38,7 @@ MANIFEST = {
32
38
  "description": "The hub's Telegram channel: members link a chat from the web and answer decisions and proposals.",
33
39
  "engines": {"evo-agents": ">=0.23.1"},
34
40
  "plugin_api": 1,
41
+ "permissions": ["chats:read", "chats:write"],
35
42
  "contributes": {
36
43
  "channels": [{"name": "telegram", "title": "Telegram", "python": f"{SERVER}:TelegramChannel"}],
37
44
  "routes": [
@@ -39,6 +46,7 @@ MANIFEST = {
39
46
  {"name": "webhook", "title": "Telegram's webhook", "python": f"{SERVER}:webhook_router", "prefix": ""},
40
47
  {"name": "admin", "title": "The bot and members' links", "python": f"{SERVER}:admin_router", "prefix": ""},
41
48
  ],
49
+ "events": [{"name": "bridge", "on": ["chat.bridge"], "python": f"{BRIDGE}:on_chat_bridge"}],
42
50
  },
43
51
  }
44
52