flock-core 0.5.311__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 (1003) hide show
  1. flock_core-0.5.311/.devcontainer/devcontainer.json +31 -0
  2. flock_core-0.5.311/.envtemplate +90 -0
  3. flock_core-0.5.311/.github/issue_draft_non_blocking_serve.md +205 -0
  4. flock_core-0.5.311/.github/workflows/deploy-documentation.yml +23 -0
  5. flock_core-0.5.311/.github/workflows/deploy-whiteduck-pypi.yml +50 -0
  6. flock_core-0.5.311/.github/workflows/quality.yml +146 -0
  7. flock_core-0.5.311/.gitignore +362 -0
  8. flock_core-0.5.311/.pre-commit-config.yaml +113 -0
  9. flock_core-0.5.311/.python-version +1 -0
  10. flock_core-0.5.311/.vscode/settings.json +77 -0
  11. flock_core-0.5.311/AGENTS.md +2052 -0
  12. flock_core-0.5.311/AUTO_TRACING.md +96 -0
  13. flock_core-0.5.311/CONTRIBUTING.md +721 -0
  14. flock_core-0.5.311/LICENSE +21 -0
  15. flock_core-0.5.311/PKG-INFO +1104 -0
  16. flock_core-0.5.311/README.md +1062 -0
  17. flock_core-0.5.311/ROADMAP.md +164 -0
  18. flock_core-0.5.311/USECASES.md +561 -0
  19. flock_core-0.5.311/docs/about/changelog.md +1449 -0
  20. flock_core-0.5.311/docs/about/contributing.md +580 -0
  21. flock_core-0.5.311/docs/about/roadmap.md +107 -0
  22. flock_core-0.5.311/docs/architecture.md +1016 -0
  23. flock_core-0.5.311/docs/assets/images/batch.png +0 -0
  24. flock_core-0.5.311/docs/assets/images/bug_diagnosis.png +0 -0
  25. flock_core-0.5.311/docs/assets/images/flock.png +0 -0
  26. flock_core-0.5.311/docs/assets/images/flock_ui_1.png +0 -0
  27. flock_core-0.5.311/docs/assets/images/flock_ui_agent_view.png +0 -0
  28. flock_core-0.5.311/docs/assets/images/flock_ui_blackboard_view.png +0 -0
  29. flock_core-0.5.311/docs/assets/images/join.png +0 -0
  30. flock_core-0.5.311/docs/assets/images/pattern2.png +0 -0
  31. flock_core-0.5.311/docs/assets/images/pizza.png +0 -0
  32. flock_core-0.5.311/docs/assets/images/trace_1.png +0 -0
  33. flock_core-0.5.311/docs/assets/images/trace_2.png +0 -0
  34. flock_core-0.5.311/docs/assets/images/trace_3.png +0 -0
  35. flock_core-0.5.311/docs/bugfixes/websocket-streaming-deadlock-fix.md +203 -0
  36. flock_core-0.5.311/docs/community/index.md +312 -0
  37. flock_core-0.5.311/docs/examples/index.md +344 -0
  38. flock_core-0.5.311/docs/getting-started/concepts.md +813 -0
  39. flock_core-0.5.311/docs/getting-started/index.md +133 -0
  40. flock_core-0.5.311/docs/getting-started/installation.md +138 -0
  41. flock_core-0.5.311/docs/getting-started/quick-start.md +596 -0
  42. flock_core-0.5.311/docs/guides/agents.md +989 -0
  43. flock_core-0.5.311/docs/guides/batch-processing.md +816 -0
  44. flock_core-0.5.311/docs/guides/blackboard.md +795 -0
  45. flock_core-0.5.311/docs/guides/components.md +676 -0
  46. flock_core-0.5.311/docs/guides/context-providers.md +1515 -0
  47. flock_core-0.5.311/docs/guides/dashboard.md +738 -0
  48. flock_core-0.5.311/docs/guides/dspy-engine.md +1247 -0
  49. flock_core-0.5.311/docs/guides/fan-out.md +1145 -0
  50. flock_core-0.5.311/docs/guides/index.md +209 -0
  51. flock_core-0.5.311/docs/guides/join-operations.md +786 -0
  52. flock_core-0.5.311/docs/guides/mcp-roots.md +416 -0
  53. flock_core-0.5.311/docs/guides/orchestrator-components.md +738 -0
  54. flock_core-0.5.311/docs/guides/patterns.md +1256 -0
  55. flock_core-0.5.311/docs/guides/persistent-blackboard.md +92 -0
  56. flock_core-0.5.311/docs/guides/predicates.md +626 -0
  57. flock_core-0.5.311/docs/guides/rest-api.md +630 -0
  58. flock_core-0.5.311/docs/guides/scheduling.md +891 -0
  59. flock_core-0.5.311/docs/guides/semantic-subscriptions.md +702 -0
  60. flock_core-0.5.311/docs/guides/server-components.md +619 -0
  61. flock_core-0.5.311/docs/guides/server_components/agents-component.md +158 -0
  62. flock_core-0.5.311/docs/guides/server_components/artifacts-component.md +176 -0
  63. flock_core-0.5.311/docs/guides/server_components/authentication-component.md +529 -0
  64. flock_core-0.5.311/docs/guides/server_components/control-routes-component.md +173 -0
  65. flock_core-0.5.311/docs/guides/server_components/cors-component.md +459 -0
  66. flock_core-0.5.311/docs/guides/server_components/custom-components.md +672 -0
  67. flock_core-0.5.311/docs/guides/server_components/health-component.md +331 -0
  68. flock_core-0.5.311/docs/guides/server_components/middleware-component.md +395 -0
  69. flock_core-0.5.311/docs/guides/server_components/static-files-component.md +152 -0
  70. flock_core-0.5.311/docs/guides/server_components/themes-component.md +187 -0
  71. flock_core-0.5.311/docs/guides/server_components/tracing-component.md +194 -0
  72. flock_core-0.5.311/docs/guides/server_components/websocket-component.md +478 -0
  73. flock_core-0.5.311/docs/guides/testing.md +709 -0
  74. flock_core-0.5.311/docs/guides/tracing/auto-tracing.md +529 -0
  75. flock_core-0.5.311/docs/guides/tracing/how_to_use_tracing_effectively.md +1402 -0
  76. flock_core-0.5.311/docs/guides/tracing/index.md +506 -0
  77. flock_core-0.5.311/docs/guides/tracing/trace-module.md +379 -0
  78. flock_core-0.5.311/docs/guides/tracing/tracing-production.md +986 -0
  79. flock_core-0.5.311/docs/guides/tracing/tracing-quickstart.md +144 -0
  80. flock_core-0.5.311/docs/guides/tracing/unified-tracing.md +374 -0
  81. flock_core-0.5.311/docs/guides/use-cases.md +561 -0
  82. flock_core-0.5.311/docs/guides/visibility.md +890 -0
  83. flock_core-0.5.311/docs/guides/webhooks.md +225 -0
  84. flock_core-0.5.311/docs/guides/workflow-control.md +326 -0
  85. flock_core-0.5.311/docs/index.md +150 -0
  86. flock_core-0.5.311/docs/javascripts/extra.js +377 -0
  87. flock_core-0.5.311/docs/patterns/async_patterns.md +802 -0
  88. flock_core-0.5.311/docs/patterns/error_handling.md +521 -0
  89. flock_core-0.5.311/docs/patterns/server_component_architecture.md +430 -0
  90. flock_core-0.5.311/docs/patterns/server_component_benefits.md +334 -0
  91. flock_core-0.5.311/docs/reference/api.md +8 -0
  92. flock_core-0.5.311/docs/reference/configuration.md +67 -0
  93. flock_core-0.5.311/docs/reference/index.md +335 -0
  94. flock_core-0.5.311/docs/specs/001-sync-idempotent-rest/implementation-plan.md +256 -0
  95. flock_core-0.5.311/docs/specs/001-sync-idempotent-rest/product-requirements.md +83 -0
  96. flock_core-0.5.311/docs/specs/001-sync-idempotent-rest/solution-design.md +223 -0
  97. flock_core-0.5.311/docs/specs/002-webhook-notifications/implementation-plan.md +289 -0
  98. flock_core-0.5.311/docs/specs/002-webhook-notifications/product-requirements.md +87 -0
  99. flock_core-0.5.311/docs/specs/002-webhook-notifications/solution-design.md +249 -0
  100. flock_core-0.5.311/docs/specs/003-until-conditions-dsl/implementation-plan.md +359 -0
  101. flock_core-0.5.311/docs/specs/003-until-conditions-dsl/product-requirements.md +143 -0
  102. flock_core-0.5.311/docs/specs/003-until-conditions-dsl/solution-design.md +431 -0
  103. flock_core-0.5.311/docs/stylesheets/extra.css +536 -0
  104. flock_core-0.5.311/docs/tags.md +42 -0
  105. flock_core-0.5.311/docs/troubleshooting/streaming-freeze-fix.md +169 -0
  106. flock_core-0.5.311/docs/troubleshooting/streaming-freeze-with-dashboard-fix.md +50 -0
  107. flock_core-0.5.311/docs/tutorials/advanced-patterns.md +436 -0
  108. flock_core-0.5.311/docs/tutorials/conditional-routing.md +333 -0
  109. flock_core-0.5.311/docs/tutorials/connect_with_ollama.md +255 -0
  110. flock_core-0.5.311/docs/tutorials/custom-agent-components.md +114 -0
  111. flock_core-0.5.311/docs/tutorials/custom-engines.md +109 -0
  112. flock_core-0.5.311/docs/tutorials/index.md +195 -0
  113. flock_core-0.5.311/docs/tutorials/multi-agent-workflow.md +382 -0
  114. flock_core-0.5.311/docs/tutorials/scheduled-agents.md +1061 -0
  115. flock_core-0.5.311/docs/tutorials/semantic-routing.md +390 -0
  116. flock_core-0.5.311/docs/tutorials/your-first-agent.md +227 -0
  117. flock_core-0.5.311/docs/whiteducksoftware/versions.json +7 -0
  118. flock_core-0.5.311/examples/01-getting-started/01_declarative_pizza.py +84 -0
  119. flock_core-0.5.311/examples/01-getting-started/02_input_and_output.py +83 -0
  120. flock_core-0.5.311/examples/01-getting-started/03_code_detective.py +117 -0
  121. flock_core-0.5.311/examples/01-getting-started/04_movie_generation.py +112 -0
  122. flock_core-0.5.311/examples/01-getting-started/05_mcp_and_tools.py +168 -0
  123. flock_core-0.5.311/examples/01-getting-started/06_mcp_roots.py +144 -0
  124. flock_core-0.5.311/examples/01-getting-started/07_web_detective.py +148 -0
  125. flock_core-0.5.311/examples/01-getting-started/08_band_formation.py +119 -0
  126. flock_core-0.5.311/examples/01-getting-started/09_debate_club.py +136 -0
  127. flock_core-0.5.311/examples/01-getting-started/09_webhook_notifications.py +166 -0
  128. flock_core-0.5.311/examples/01-getting-started/10_news_agency.py +127 -0
  129. flock_core-0.5.311/examples/01-getting-started/11_tracing_detective.py +120 -0
  130. flock_core-0.5.311/examples/01-getting-started/12_secret_agents.py +127 -0
  131. flock_core-0.5.311/examples/01-getting-started/13_medical_diagnostics_joinspec.py +178 -0
  132. flock_core-0.5.311/examples/01-getting-started/14_ecommerce_batch_processing.py +167 -0
  133. flock_core-0.5.311/examples/01-getting-started/15_iot_sensor_batching.py +210 -0
  134. flock_core-0.5.311/examples/01-getting-started/16_news_batching.py +157 -0
  135. flock_core-0.5.311/examples/01-getting-started/17_workflow_conditions.py +255 -0
  136. flock_core-0.5.311/examples/01-getting-started/18_activation_conditions.py +298 -0
  137. flock_core-0.5.311/examples/01-getting-started/README.md +167 -0
  138. flock_core-0.5.311/examples/02-patterns/README.md +176 -0
  139. flock_core-0.5.311/examples/02-patterns/complex-patterns/01_fan_out_selection.py +434 -0
  140. flock_core-0.5.311/examples/02-patterns/complex-patterns/README.md +34 -0
  141. flock_core-0.5.311/examples/02-patterns/publish/01-single_publish.py +44 -0
  142. flock_core-0.5.311/examples/02-patterns/publish/02-multi_publish.py +66 -0
  143. flock_core-0.5.311/examples/02-patterns/publish/03-multi-artifact-multi-publish.py +68 -0
  144. flock_core-0.5.311/examples/02-patterns/publish/04-fan-out.py +38 -0
  145. flock_core-0.5.311/examples/02-patterns/publish/05-multi-fan-out.py +84 -0
  146. flock_core-0.5.311/examples/02-patterns/publish/06_dynamic_fan_out.py +138 -0
  147. flock_core-0.5.311/examples/02-patterns/publish/07_dynamic_fan_out_with_filter.py +69 -0
  148. flock_core-0.5.311/examples/02-patterns/visibility/01_basic_visibility.py +146 -0
  149. flock_core-0.5.311/examples/03-hackathon/01_basic_agent.py +255 -0
  150. flock_core-0.5.311/examples/03-hackathon/02_multi_agent_chain.py +323 -0
  151. flock_core-0.5.311/examples/03-hackathon/03_conditional_consumption.py +326 -0
  152. flock_core-0.5.311/examples/03-hackathon/04_fan_out_publishing.py +285 -0
  153. flock_core-0.5.311/examples/03-hackathon/05_semantic_subscriptions.py +356 -0
  154. flock_core-0.5.311/examples/03-hackathon/06_timer_scheduling.py +303 -0
  155. flock_core-0.5.311/examples/03-hackathon/07_joinspec_correlation.py +405 -0
  156. flock_core-0.5.311/examples/03-hackathon/08_custom_engines.py +390 -0
  157. flock_core-0.5.311/examples/03-hackathon/09_mcp_web_researcher.py +355 -0
  158. flock_core-0.5.311/examples/03-hackathon/10_mcp_filesystem_roots.py +314 -0
  159. flock_core-0.5.311/examples/03-hackathon/11_agent_components_news_batching.py +450 -0
  160. flock_core-0.5.311/examples/03-hackathon/FLOCK_BASICS.md +398 -0
  161. flock_core-0.5.311/examples/03-hackathon/README.md +200 -0
  162. flock_core-0.5.311/examples/04-misc/01_persistent_pizza.py +128 -0
  163. flock_core-0.5.311/examples/04-misc/02-dashboard-edge-cases.py +95 -0
  164. flock_core-0.5.311/examples/04-misc/03-scale-test-100-agents.py +130 -0
  165. flock_core-0.5.311/examples/04-misc/04_persistent_pizza_dashboard.py +108 -0
  166. flock_core-0.5.311/examples/04-misc/05_lm_studio.py +35 -0
  167. flock_core-0.5.311/examples/04-misc/06_prd.py +613 -0
  168. flock_core-0.5.311/examples/04-misc/07_logging.py +57 -0
  169. flock_core-0.5.311/examples/04-misc/08_local_transformers.py +76 -0
  170. flock_core-0.5.311/examples/04-misc/README.md +343 -0
  171. flock_core-0.5.311/examples/05-engines/01_adapter_comparison.py +164 -0
  172. flock_core-0.5.311/examples/05-engines/02_json_adapter_mcp_tools.py +120 -0
  173. flock_core-0.5.311/examples/05-engines/README.md +386 -0
  174. flock_core-0.5.311/examples/05-engines/emoji_mood_engine.py +139 -0
  175. flock_core-0.5.311/examples/05-engines/potion_batch_engine.py +161 -0
  176. flock_core-0.5.311/examples/06-agent-components/README.md +370 -0
  177. flock_core-0.5.311/examples/06-agent-components/cheer_meter_component.py +118 -0
  178. flock_core-0.5.311/examples/06-agent-components/plot_twist_component.py +138 -0
  179. flock_core-0.5.311/examples/07-orchestrator-components/README.md +459 -0
  180. flock_core-0.5.311/examples/07-orchestrator-components/kitchen_monitor_component.py +209 -0
  181. flock_core-0.5.311/examples/07-orchestrator-components/quest_tracker_component.py +175 -0
  182. flock_core-0.5.311/examples/08-semantic/00_verify_semantic_features.py +88 -0
  183. flock_core-0.5.311/examples/08-semantic/01_intelligent_ticket_routing.py +196 -0
  184. flock_core-0.5.311/examples/08-semantic/02_multi_criteria_filtering.py +241 -0
  185. flock_core-0.5.311/examples/08-semantic/README.md +166 -0
  186. flock_core-0.5.311/examples/09-server-components/01_authentication_component.py +373 -0
  187. flock_core-0.5.311/examples/09-server-components/02_cors_component.py +262 -0
  188. flock_core-0.5.311/examples/09-server-components/03_middleware_component.py +156 -0
  189. flock_core-0.5.311/examples/09-server-components/04_health_component.py +136 -0
  190. flock_core-0.5.311/examples/09-server-components/05_websocket_component.py +148 -0
  191. flock_core-0.5.311/examples/09-server-components/06_artifacts_component.py +154 -0
  192. flock_core-0.5.311/examples/09-server-components/07_agents_component.py +210 -0
  193. flock_core-0.5.311/examples/09-server-components/08_control_routes_component.py +175 -0
  194. flock_core-0.5.311/examples/09-server-components/09_static_files_component.py +260 -0
  195. flock_core-0.5.311/examples/09-server-components/10_themes_component.py +145 -0
  196. flock_core-0.5.311/examples/09-server-components/11_tracing_component.py +193 -0
  197. flock_core-0.5.311/examples/09-server-components/12_complete_composition.py +338 -0
  198. flock_core-0.5.311/examples/09-server-components/README.md +286 -0
  199. flock_core-0.5.311/examples/10-scheduling/01_simple_health_monitor.py +123 -0
  200. flock_core-0.5.311/examples/10-scheduling/02_error_log_analyzer.py +142 -0
  201. flock_core-0.5.311/examples/10-scheduling/03_daily_report_generator.py +121 -0
  202. flock_core-0.5.311/examples/10-scheduling/04_batch_data_processor.py +107 -0
  203. flock_core-0.5.311/examples/10-scheduling/05_one_time_reminder.py +110 -0
  204. flock_core-0.5.311/examples/10-scheduling/06_cron_demo.py +54 -0
  205. flock_core-0.5.311/examples/10-scheduling/README.md +447 -0
  206. flock_core-0.5.311/examples/app-sketches/github-project-starter/main.py +121 -0
  207. flock_core-0.5.311/examples/app-sketches/self-improving-workflow/ARCHITECTURE.md +533 -0
  208. flock_core-0.5.311/examples/app-sketches/self-improving-workflow/CODE_SNIPPETS.md +801 -0
  209. flock_core-0.5.311/examples/app-sketches/self-improving-workflow/IMPLEMENTATION_PLAN.md +959 -0
  210. flock_core-0.5.311/examples/app-sketches/self-improving-workflow/QUICK_START.md +184 -0
  211. flock_core-0.5.311/examples/app-sketches/self-improving-workflow/README.md +129 -0
  212. flock_core-0.5.311/examples/app-sketches/self-improving-workflow/examples/01_basic_workflow.py +108 -0
  213. flock_core-0.5.311/examples/app-sketches/self-improving-workflow/examples/README.md +49 -0
  214. flock_core-0.5.311/examples/app-sketches/z-explorer/main.py +37 -0
  215. flock_core-0.5.311/mkdocs.yml +267 -0
  216. flock_core-0.5.311/pyproject.toml +231 -0
  217. flock_core-0.5.311/requirements.txt +54 -0
  218. flock_core-0.5.311/scripts/build_dashboard.py +67 -0
  219. flock_core-0.5.311/scripts/bump_version.py +362 -0
  220. flock_core-0.5.311/scripts/check_version_bump.py +178 -0
  221. flock_core-0.5.311/scripts/ensure_uv.py +25 -0
  222. flock_core-0.5.311/scripts/gen_ref_pages.py +184 -0
  223. flock_core-0.5.311/scripts/generate_llm_codebase.py +447 -0
  224. flock_core-0.5.311/scripts/phase8_file_moves.sh +54 -0
  225. flock_core-0.5.311/scripts/update_imports.py +108 -0
  226. flock_core-0.5.311/src/flock/__init__.py +42 -0
  227. flock_core-0.5.311/src/flock/agent/__init__.py +30 -0
  228. flock_core-0.5.311/src/flock/agent/builder_helpers.py +192 -0
  229. flock_core-0.5.311/src/flock/agent/builder_validator.py +169 -0
  230. flock_core-0.5.311/src/flock/agent/component_lifecycle.py +324 -0
  231. flock_core-0.5.311/src/flock/agent/context_resolver.py +140 -0
  232. flock_core-0.5.311/src/flock/agent/mcp_integration.py +193 -0
  233. flock_core-0.5.311/src/flock/agent/mcp_server_config.py +35 -0
  234. flock_core-0.5.311/src/flock/agent/output_processor.py +337 -0
  235. flock_core-0.5.311/src/flock/api/__init__.py +10 -0
  236. flock_core-0.5.311/src/flock/api/base_service.py +220 -0
  237. flock_core-0.5.311/src/flock/api/collector.py +584 -0
  238. flock_core-0.5.311/src/flock/api/graph_builder.py +940 -0
  239. flock_core-0.5.311/src/flock/api/idempotency.py +166 -0
  240. flock_core-0.5.311/src/flock/api/launcher.py +237 -0
  241. flock_core-0.5.311/src/flock/api/models.py +408 -0
  242. flock_core-0.5.311/src/flock/api/service.py +521 -0
  243. flock_core-0.5.311/src/flock/api/static_files/assets/index-DFRnI_mt.js +111 -0
  244. flock_core-0.5.311/src/flock/api/static_files/assets/index-fPLNdmp1.css +1 -0
  245. flock_core-0.5.311/src/flock/api/static_files/index.html +13 -0
  246. flock_core-0.5.311/src/flock/api/themes.py +95 -0
  247. flock_core-0.5.311/src/flock/api/webhooks.py +208 -0
  248. flock_core-0.5.311/src/flock/api/websocket.py +379 -0
  249. flock_core-0.5.311/src/flock/cli.py +160 -0
  250. flock_core-0.5.311/src/flock/components/__init__.py +103 -0
  251. flock_core-0.5.311/src/flock/components/agent/__init__.py +22 -0
  252. flock_core-0.5.311/src/flock/components/agent/base.py +223 -0
  253. flock_core-0.5.311/src/flock/components/agent/output_utility.py +256 -0
  254. flock_core-0.5.311/src/flock/components/orchestrator/__init__.py +26 -0
  255. flock_core-0.5.311/src/flock/components/orchestrator/activation.py +217 -0
  256. flock_core-0.5.311/src/flock/components/orchestrator/base.py +408 -0
  257. flock_core-0.5.311/src/flock/components/orchestrator/circuit_breaker.py +95 -0
  258. flock_core-0.5.311/src/flock/components/orchestrator/collection.py +143 -0
  259. flock_core-0.5.311/src/flock/components/orchestrator/deduplication.py +78 -0
  260. flock_core-0.5.311/src/flock/components/orchestrator/scheduling/__init__.py +6 -0
  261. flock_core-0.5.311/src/flock/components/orchestrator/scheduling/timer.py +432 -0
  262. flock_core-0.5.311/src/flock/components/orchestrator/webhook.py +164 -0
  263. flock_core-0.5.311/src/flock/components/server/__init__.py +155 -0
  264. flock_core-0.5.311/src/flock/components/server/agents/__init__.py +12 -0
  265. flock_core-0.5.311/src/flock/components/server/agents/agents_component.py +221 -0
  266. flock_core-0.5.311/src/flock/components/server/artifacts/__init__.py +32 -0
  267. flock_core-0.5.311/src/flock/components/server/artifacts/artifacts_component.py +208 -0
  268. flock_core-0.5.311/src/flock/components/server/artifacts/models.py +97 -0
  269. flock_core-0.5.311/src/flock/components/server/auth/__init__.py +14 -0
  270. flock_core-0.5.311/src/flock/components/server/auth/auth_component.py +315 -0
  271. flock_core-0.5.311/src/flock/components/server/base.py +192 -0
  272. flock_core-0.5.311/src/flock/components/server/control/__init__.py +9 -0
  273. flock_core-0.5.311/src/flock/components/server/control/control_routes_component.py +409 -0
  274. flock_core-0.5.311/src/flock/components/server/control/helpers.py +341 -0
  275. flock_core-0.5.311/src/flock/components/server/cors/__init__.py +14 -0
  276. flock_core-0.5.311/src/flock/components/server/cors/cors_component.py +237 -0
  277. flock_core-0.5.311/src/flock/components/server/health/__init__.py +14 -0
  278. flock_core-0.5.311/src/flock/components/server/health/health_component.py +68 -0
  279. flock_core-0.5.311/src/flock/components/server/health/models.py +9 -0
  280. flock_core-0.5.311/src/flock/components/server/middleware/__init__.py +14 -0
  281. flock_core-0.5.311/src/flock/components/server/middleware/middleware_component.py +254 -0
  282. flock_core-0.5.311/src/flock/components/server/models/__init__.py +79 -0
  283. flock_core-0.5.311/src/flock/components/server/models/events.py +268 -0
  284. flock_core-0.5.311/src/flock/components/server/models/graph.py +164 -0
  285. flock_core-0.5.311/src/flock/components/server/models/models.py +114 -0
  286. flock_core-0.5.311/src/flock/components/server/static_files/__init__.py +12 -0
  287. flock_core-0.5.311/src/flock/components/server/static_files/static_files.py +69 -0
  288. flock_core-0.5.311/src/flock/components/server/themes/__init__.py +9 -0
  289. flock_core-0.5.311/src/flock/components/server/themes/themes_component.py +120 -0
  290. flock_core-0.5.311/src/flock/components/server/traces/__init__.py +12 -0
  291. flock_core-0.5.311/src/flock/components/server/traces/trace_component.py +608 -0
  292. flock_core-0.5.311/src/flock/components/server/websocket/__init__.py +12 -0
  293. flock_core-0.5.311/src/flock/components/server/websocket/websocket_component.py +122 -0
  294. flock_core-0.5.311/src/flock/core/__init__.py +34 -0
  295. flock_core-0.5.311/src/flock/core/agent.py +1079 -0
  296. flock_core-0.5.311/src/flock/core/artifacts.py +86 -0
  297. flock_core-0.5.311/src/flock/core/conditions.py +891 -0
  298. flock_core-0.5.311/src/flock/core/context_provider.py +531 -0
  299. flock_core-0.5.311/src/flock/core/fan_out.py +76 -0
  300. flock_core-0.5.311/src/flock/core/orchestrator.py +1389 -0
  301. flock_core-0.5.311/src/flock/core/store.py +912 -0
  302. flock_core-0.5.311/src/flock/core/subscription.py +394 -0
  303. flock_core-0.5.311/src/flock/core/visibility.py +107 -0
  304. flock_core-0.5.311/src/flock/engines/__init__.py +20 -0
  305. flock_core-0.5.311/src/flock/engines/dspy/__init__.py +20 -0
  306. flock_core-0.5.311/src/flock/engines/dspy/adapter/__init__.py +19 -0
  307. flock_core-0.5.311/src/flock/engines/dspy/artifact_materializer.py +271 -0
  308. flock_core-0.5.311/src/flock/engines/dspy/signature_builder.py +489 -0
  309. flock_core-0.5.311/src/flock/engines/dspy/streaming_executor.py +814 -0
  310. flock_core-0.5.311/src/flock/engines/dspy_engine.py +525 -0
  311. flock_core-0.5.311/src/flock/engines/examples/__init__.py +6 -0
  312. flock_core-0.5.311/src/flock/engines/examples/simple_batch_engine.py +83 -0
  313. flock_core-0.5.311/src/flock/engines/providers/__init__.py +12 -0
  314. flock_core-0.5.311/src/flock/engines/providers/transformers_provider.py +508 -0
  315. flock_core-0.5.311/src/flock/engines/streaming/__init__.py +3 -0
  316. flock_core-0.5.311/src/flock/engines/streaming/sinks.py +489 -0
  317. flock_core-0.5.311/src/flock/examples.py +135 -0
  318. flock_core-0.5.311/src/flock/frontend/README.md +787 -0
  319. flock_core-0.5.311/src/flock/frontend/docs/DESIGN_SYSTEM.md +1980 -0
  320. flock_core-0.5.311/src/flock/frontend/index.html +12 -0
  321. flock_core-0.5.311/src/flock/frontend/package-lock.json +4337 -0
  322. flock_core-0.5.311/src/flock/frontend/package.json +48 -0
  323. flock_core-0.5.311/src/flock/frontend/src/App.tsx +174 -0
  324. flock_core-0.5.311/src/flock/frontend/src/__tests__/integration/graph-snapshot.test.tsx +647 -0
  325. flock_core-0.5.311/src/flock/frontend/src/__tests__/integration/indexeddb-persistence.test.tsx +699 -0
  326. flock_core-0.5.311/src/flock/frontend/src/components/common/BuildInfo.tsx +39 -0
  327. flock_core-0.5.311/src/flock/frontend/src/components/common/EmptyState.module.css +115 -0
  328. flock_core-0.5.311/src/flock/frontend/src/components/common/EmptyState.tsx +128 -0
  329. flock_core-0.5.311/src/flock/frontend/src/components/common/ErrorBoundary.module.css +169 -0
  330. flock_core-0.5.311/src/flock/frontend/src/components/common/ErrorBoundary.tsx +118 -0
  331. flock_core-0.5.311/src/flock/frontend/src/components/common/KeyboardShortcutsDialog.css +251 -0
  332. flock_core-0.5.311/src/flock/frontend/src/components/common/KeyboardShortcutsDialog.tsx +151 -0
  333. flock_core-0.5.311/src/flock/frontend/src/components/common/LoadingSpinner.module.css +97 -0
  334. flock_core-0.5.311/src/flock/frontend/src/components/common/LoadingSpinner.tsx +29 -0
  335. flock_core-0.5.311/src/flock/frontend/src/components/controls/PublishControl.css +547 -0
  336. flock_core-0.5.311/src/flock/frontend/src/components/controls/PublishControl.test.tsx +538 -0
  337. flock_core-0.5.311/src/flock/frontend/src/components/controls/PublishControl.tsx +564 -0
  338. flock_core-0.5.311/src/flock/frontend/src/components/details/DetailWindowContainer.tsx +58 -0
  339. flock_core-0.5.311/src/flock/frontend/src/components/details/LiveOutputTab.test.tsx +792 -0
  340. flock_core-0.5.311/src/flock/frontend/src/components/details/LiveOutputTab.tsx +220 -0
  341. flock_core-0.5.311/src/flock/frontend/src/components/details/MessageDetailWindow.tsx +439 -0
  342. flock_core-0.5.311/src/flock/frontend/src/components/details/MessageHistoryTab.tsx +374 -0
  343. flock_core-0.5.311/src/flock/frontend/src/components/details/NodeDetailWindow.test.tsx +501 -0
  344. flock_core-0.5.311/src/flock/frontend/src/components/details/NodeDetailWindow.tsx +218 -0
  345. flock_core-0.5.311/src/flock/frontend/src/components/details/RunStatusTab.tsx +348 -0
  346. flock_core-0.5.311/src/flock/frontend/src/components/details/tabs.test.tsx +1015 -0
  347. flock_core-0.5.311/src/flock/frontend/src/components/filters/ArtifactTypeFilter.tsx +21 -0
  348. flock_core-0.5.311/src/flock/frontend/src/components/filters/CorrelationIDFilter.module.css +102 -0
  349. flock_core-0.5.311/src/flock/frontend/src/components/filters/CorrelationIDFilter.test.tsx +197 -0
  350. flock_core-0.5.311/src/flock/frontend/src/components/filters/CorrelationIDFilter.tsx +121 -0
  351. flock_core-0.5.311/src/flock/frontend/src/components/filters/FilterFlyout.module.css +104 -0
  352. flock_core-0.5.311/src/flock/frontend/src/components/filters/FilterFlyout.tsx +80 -0
  353. flock_core-0.5.311/src/flock/frontend/src/components/filters/FilterPills.module.css +220 -0
  354. flock_core-0.5.311/src/flock/frontend/src/components/filters/FilterPills.test.tsx +189 -0
  355. flock_core-0.5.311/src/flock/frontend/src/components/filters/FilterPills.tsx +143 -0
  356. flock_core-0.5.311/src/flock/frontend/src/components/filters/ProducerFilter.tsx +21 -0
  357. flock_core-0.5.311/src/flock/frontend/src/components/filters/SavedFiltersControl.module.css +60 -0
  358. flock_core-0.5.311/src/flock/frontend/src/components/filters/SavedFiltersControl.test.tsx +158 -0
  359. flock_core-0.5.311/src/flock/frontend/src/components/filters/SavedFiltersControl.tsx +159 -0
  360. flock_core-0.5.311/src/flock/frontend/src/components/filters/TagFilter.tsx +21 -0
  361. flock_core-0.5.311/src/flock/frontend/src/components/filters/TimeRangeFilter.module.css +115 -0
  362. flock_core-0.5.311/src/flock/frontend/src/components/filters/TimeRangeFilter.test.tsx +154 -0
  363. flock_core-0.5.311/src/flock/frontend/src/components/filters/TimeRangeFilter.tsx +110 -0
  364. flock_core-0.5.311/src/flock/frontend/src/components/filters/VisibilityFilter.tsx +21 -0
  365. flock_core-0.5.311/src/flock/frontend/src/components/graph/AgentNode.test.tsx +77 -0
  366. flock_core-0.5.311/src/flock/frontend/src/components/graph/AgentNode.tsx +389 -0
  367. flock_core-0.5.311/src/flock/frontend/src/components/graph/GraphCanvas.tsx +617 -0
  368. flock_core-0.5.311/src/flock/frontend/src/components/graph/LogicOperationsDisplay.tsx +463 -0
  369. flock_core-0.5.311/src/flock/frontend/src/components/graph/MessageFlowEdge.tsx +128 -0
  370. flock_core-0.5.311/src/flock/frontend/src/components/graph/MessageNode.test.tsx +64 -0
  371. flock_core-0.5.311/src/flock/frontend/src/components/graph/MessageNode.tsx +129 -0
  372. flock_core-0.5.311/src/flock/frontend/src/components/graph/MiniMap.tsx +47 -0
  373. flock_core-0.5.311/src/flock/frontend/src/components/graph/PendingBatchEdge.tsx +141 -0
  374. flock_core-0.5.311/src/flock/frontend/src/components/graph/PendingJoinEdge.tsx +144 -0
  375. flock_core-0.5.311/src/flock/frontend/src/components/graph/ScheduledAgentDisplay.test.tsx +476 -0
  376. flock_core-0.5.311/src/flock/frontend/src/components/graph/ScheduledAgentDisplay.tsx +265 -0
  377. flock_core-0.5.311/src/flock/frontend/src/components/graph/TransformEdge.tsx +123 -0
  378. flock_core-0.5.311/src/flock/frontend/src/components/layout/DashboardLayout.css +420 -0
  379. flock_core-0.5.311/src/flock/frontend/src/components/layout/DashboardLayout.tsx +287 -0
  380. flock_core-0.5.311/src/flock/frontend/src/components/layout/Header.module.css +88 -0
  381. flock_core-0.5.311/src/flock/frontend/src/components/layout/Header.tsx +52 -0
  382. flock_core-0.5.311/src/flock/frontend/src/components/modules/HistoricalArtifactsModule.module.css +288 -0
  383. flock_core-0.5.311/src/flock/frontend/src/components/modules/HistoricalArtifactsModule.tsx +450 -0
  384. flock_core-0.5.311/src/flock/frontend/src/components/modules/HistoricalArtifactsModuleWrapper.tsx +13 -0
  385. flock_core-0.5.311/src/flock/frontend/src/components/modules/JsonAttributeRenderer.tsx +140 -0
  386. flock_core-0.5.311/src/flock/frontend/src/components/modules/ModuleRegistry.test.ts +333 -0
  387. flock_core-0.5.311/src/flock/frontend/src/components/modules/ModuleRegistry.ts +93 -0
  388. flock_core-0.5.311/src/flock/frontend/src/components/modules/ModuleWindow.tsx +223 -0
  389. flock_core-0.5.311/src/flock/frontend/src/components/modules/TraceModuleJaeger.tsx +1971 -0
  390. flock_core-0.5.311/src/flock/frontend/src/components/modules/TraceModuleJaegerWrapper.tsx +13 -0
  391. flock_core-0.5.311/src/flock/frontend/src/components/modules/registerModules.ts +29 -0
  392. flock_core-0.5.311/src/flock/frontend/src/components/settings/AdvancedSettings.tsx +175 -0
  393. flock_core-0.5.311/src/flock/frontend/src/components/settings/AppearanceSettings.tsx +185 -0
  394. flock_core-0.5.311/src/flock/frontend/src/components/settings/GraphSettings.tsx +110 -0
  395. flock_core-0.5.311/src/flock/frontend/src/components/settings/MultiSelect.tsx +235 -0
  396. flock_core-0.5.311/src/flock/frontend/src/components/settings/SettingsPanel.css +327 -0
  397. flock_core-0.5.311/src/flock/frontend/src/components/settings/SettingsPanel.tsx +131 -0
  398. flock_core-0.5.311/src/flock/frontend/src/components/settings/ThemeSelector.tsx +298 -0
  399. flock_core-0.5.311/src/flock/frontend/src/components/settings/TracingSettings.tsx +404 -0
  400. flock_core-0.5.311/src/flock/frontend/src/hooks/useKeyboardShortcuts.ts +148 -0
  401. flock_core-0.5.311/src/flock/frontend/src/hooks/useModulePersistence.test.ts +442 -0
  402. flock_core-0.5.311/src/flock/frontend/src/hooks/useModulePersistence.ts +154 -0
  403. flock_core-0.5.311/src/flock/frontend/src/hooks/useModules.ts +157 -0
  404. flock_core-0.5.311/src/flock/frontend/src/hooks/usePersistence.ts +141 -0
  405. flock_core-0.5.311/src/flock/frontend/src/main.tsx +13 -0
  406. flock_core-0.5.311/src/flock/frontend/src/services/api.ts +337 -0
  407. flock_core-0.5.311/src/flock/frontend/src/services/graphService.test.ts +330 -0
  408. flock_core-0.5.311/src/flock/frontend/src/services/graphService.ts +77 -0
  409. flock_core-0.5.311/src/flock/frontend/src/services/indexeddb.test.ts +793 -0
  410. flock_core-0.5.311/src/flock/frontend/src/services/indexeddb.ts +848 -0
  411. flock_core-0.5.311/src/flock/frontend/src/services/layout.test.ts +437 -0
  412. flock_core-0.5.311/src/flock/frontend/src/services/layout.ts +357 -0
  413. flock_core-0.5.311/src/flock/frontend/src/services/themeApplicator.ts +140 -0
  414. flock_core-0.5.311/src/flock/frontend/src/services/themeService.ts +77 -0
  415. flock_core-0.5.311/src/flock/frontend/src/services/websocket.ts +748 -0
  416. flock_core-0.5.311/src/flock/frontend/src/store/filterStore.test.ts +250 -0
  417. flock_core-0.5.311/src/flock/frontend/src/store/filterStore.ts +272 -0
  418. flock_core-0.5.311/src/flock/frontend/src/store/graphStore.test.ts +571 -0
  419. flock_core-0.5.311/src/flock/frontend/src/store/graphStore.ts +493 -0
  420. flock_core-0.5.311/src/flock/frontend/src/store/moduleStore.test.ts +253 -0
  421. flock_core-0.5.311/src/flock/frontend/src/store/moduleStore.ts +75 -0
  422. flock_core-0.5.311/src/flock/frontend/src/store/settingsStore.ts +188 -0
  423. flock_core-0.5.311/src/flock/frontend/src/store/streamStore.ts +68 -0
  424. flock_core-0.5.311/src/flock/frontend/src/store/uiStore.test.ts +54 -0
  425. flock_core-0.5.311/src/flock/frontend/src/store/uiStore.ts +122 -0
  426. flock_core-0.5.311/src/flock/frontend/src/store/wsStore.ts +34 -0
  427. flock_core-0.5.311/src/flock/frontend/src/styles/index.css +15 -0
  428. flock_core-0.5.311/src/flock/frontend/src/styles/scrollbar.css +47 -0
  429. flock_core-0.5.311/src/flock/frontend/src/styles/variables.css +488 -0
  430. flock_core-0.5.311/src/flock/frontend/src/test/setup.ts +1 -0
  431. flock_core-0.5.311/src/flock/frontend/src/types/filters.ts +47 -0
  432. flock_core-0.5.311/src/flock/frontend/src/types/graph.ts +201 -0
  433. flock_core-0.5.311/src/flock/frontend/src/types/modules.ts +10 -0
  434. flock_core-0.5.311/src/flock/frontend/src/types/theme.ts +55 -0
  435. flock_core-0.5.311/src/flock/frontend/src/utils/artifacts.ts +24 -0
  436. flock_core-0.5.311/src/flock/frontend/src/utils/mockData.ts +98 -0
  437. flock_core-0.5.311/src/flock/frontend/src/utils/performance.ts +16 -0
  438. flock_core-0.5.311/src/flock/frontend/src/vite-env.d.ts +17 -0
  439. flock_core-0.5.311/src/flock/frontend/tsconfig.json +27 -0
  440. flock_core-0.5.311/src/flock/frontend/tsconfig.node.json +11 -0
  441. flock_core-0.5.311/src/flock/frontend/vite.config.ts +25 -0
  442. flock_core-0.5.311/src/flock/frontend/vitest.config.ts +11 -0
  443. flock_core-0.5.311/src/flock/logging/__init__.py +11 -0
  444. flock_core-0.5.311/src/flock/logging/auto_trace.py +164 -0
  445. flock_core-0.5.311/src/flock/logging/formatters/enum_builder.py +39 -0
  446. flock_core-0.5.311/src/flock/logging/formatters/theme_builder.py +466 -0
  447. flock_core-0.5.311/src/flock/logging/formatters/themed_formatter.py +526 -0
  448. flock_core-0.5.311/src/flock/logging/formatters/themes.py +340 -0
  449. flock_core-0.5.311/src/flock/logging/logging.py +576 -0
  450. flock_core-0.5.311/src/flock/logging/span_middleware/baggage_span_processor.py +31 -0
  451. flock_core-0.5.311/src/flock/logging/telemetry.py +216 -0
  452. flock_core-0.5.311/src/flock/logging/telemetry_exporter/base_exporter.py +38 -0
  453. flock_core-0.5.311/src/flock/logging/telemetry_exporter/duckdb_exporter.py +218 -0
  454. flock_core-0.5.311/src/flock/logging/telemetry_exporter/file_exporter.py +88 -0
  455. flock_core-0.5.311/src/flock/logging/telemetry_exporter/sqlite_exporter.py +102 -0
  456. flock_core-0.5.311/src/flock/logging/trace_and_logged.py +313 -0
  457. flock_core-0.5.311/src/flock/mcp/__init__.py +88 -0
  458. flock_core-0.5.311/src/flock/mcp/client.py +726 -0
  459. flock_core-0.5.311/src/flock/mcp/config.py +432 -0
  460. flock_core-0.5.311/src/flock/mcp/manager.py +298 -0
  461. flock_core-0.5.311/src/flock/mcp/servers/sse/__init__.py +1 -0
  462. flock_core-0.5.311/src/flock/mcp/servers/sse/flock_sse_server.py +110 -0
  463. flock_core-0.5.311/src/flock/mcp/servers/stdio/__init__.py +1 -0
  464. flock_core-0.5.311/src/flock/mcp/servers/stdio/flock_stdio_server.py +98 -0
  465. flock_core-0.5.311/src/flock/mcp/servers/streamable_http/__init__.py +0 -0
  466. flock_core-0.5.311/src/flock/mcp/servers/streamable_http/flock_streamable_http_server.py +128 -0
  467. flock_core-0.5.311/src/flock/mcp/servers/websockets/__init__.py +1 -0
  468. flock_core-0.5.311/src/flock/mcp/servers/websockets/flock_websocket_server.py +86 -0
  469. flock_core-0.5.311/src/flock/mcp/tool.py +186 -0
  470. flock_core-0.5.311/src/flock/mcp/types/__init__.py +42 -0
  471. flock_core-0.5.311/src/flock/mcp/types/callbacks.py +81 -0
  472. flock_core-0.5.311/src/flock/mcp/types/factories.py +110 -0
  473. flock_core-0.5.311/src/flock/mcp/types/handlers.py +234 -0
  474. flock_core-0.5.311/src/flock/mcp/types/types.py +362 -0
  475. flock_core-0.5.311/src/flock/mcp/util/__init__.py +0 -0
  476. flock_core-0.5.311/src/flock/mcp/util/helpers.py +23 -0
  477. flock_core-0.5.311/src/flock/models/__init__.py +10 -0
  478. flock_core-0.5.311/src/flock/models/system_artifacts.py +54 -0
  479. flock_core-0.5.311/src/flock/orchestrator/__init__.py +45 -0
  480. flock_core-0.5.311/src/flock/orchestrator/artifact_collector.py +161 -0
  481. flock_core-0.5.311/src/flock/orchestrator/artifact_manager.py +186 -0
  482. flock_core-0.5.311/src/flock/orchestrator/batch_accumulator.py +254 -0
  483. flock_core-0.5.311/src/flock/orchestrator/component_runner.py +390 -0
  484. flock_core-0.5.311/src/flock/orchestrator/context_builder.py +193 -0
  485. flock_core-0.5.311/src/flock/orchestrator/correlation_engine.py +224 -0
  486. flock_core-0.5.311/src/flock/orchestrator/event_emitter.py +169 -0
  487. flock_core-0.5.311/src/flock/orchestrator/initialization.py +188 -0
  488. flock_core-0.5.311/src/flock/orchestrator/lifecycle_manager.py +227 -0
  489. flock_core-0.5.311/src/flock/orchestrator/mcp_manager.py +202 -0
  490. flock_core-0.5.311/src/flock/orchestrator/scheduler.py +189 -0
  491. flock_core-0.5.311/src/flock/orchestrator/server_manager.py +511 -0
  492. flock_core-0.5.311/src/flock/orchestrator/tracing.py +147 -0
  493. flock_core-0.5.311/src/flock/patches/__init__.py +6 -0
  494. flock_core-0.5.311/src/flock/patches/dspy_streaming_patch.py +92 -0
  495. flock_core-0.5.311/src/flock/registry.py +154 -0
  496. flock_core-0.5.311/src/flock/semantic/__init__.py +49 -0
  497. flock_core-0.5.311/src/flock/semantic/context_provider.py +173 -0
  498. flock_core-0.5.311/src/flock/semantic/embedding_service.py +240 -0
  499. flock_core-0.5.311/src/flock/storage/__init__.py +10 -0
  500. flock_core-0.5.311/src/flock/storage/artifact_aggregator.py +158 -0
  501. flock_core-0.5.311/src/flock/storage/in_memory/__init__.py +6 -0
  502. flock_core-0.5.311/src/flock/storage/in_memory/artifact_filter.py +114 -0
  503. flock_core-0.5.311/src/flock/storage/in_memory/history_aggregator.py +115 -0
  504. flock_core-0.5.311/src/flock/storage/sqlite/__init__.py +10 -0
  505. flock_core-0.5.311/src/flock/storage/sqlite/agent_history_queries.py +154 -0
  506. flock_core-0.5.311/src/flock/storage/sqlite/consumption_loader.py +100 -0
  507. flock_core-0.5.311/src/flock/storage/sqlite/query_builder.py +112 -0
  508. flock_core-0.5.311/src/flock/storage/sqlite/query_params_builder.py +91 -0
  509. flock_core-0.5.311/src/flock/storage/sqlite/schema_manager.py +168 -0
  510. flock_core-0.5.311/src/flock/storage/sqlite/summary_queries.py +194 -0
  511. flock_core-0.5.311/src/flock/themes/3024-day.toml +39 -0
  512. flock_core-0.5.311/src/flock/themes/3024-night.toml +77 -0
  513. flock_core-0.5.311/src/flock/themes/aardvark-blue.toml +77 -0
  514. flock_core-0.5.311/src/flock/themes/abernathy.toml +77 -0
  515. flock_core-0.5.311/src/flock/themes/adventure.toml +77 -0
  516. flock_core-0.5.311/src/flock/themes/adventuretime.toml +77 -0
  517. flock_core-0.5.311/src/flock/themes/afterglow.toml +77 -0
  518. flock_core-0.5.311/src/flock/themes/alabaster.toml +77 -0
  519. flock_core-0.5.311/src/flock/themes/alienblood.toml +77 -0
  520. flock_core-0.5.311/src/flock/themes/andromeda.toml +77 -0
  521. flock_core-0.5.311/src/flock/themes/apple-classic.toml +77 -0
  522. flock_core-0.5.311/src/flock/themes/apple-system-colors.toml +77 -0
  523. flock_core-0.5.311/src/flock/themes/arcoiris.toml +77 -0
  524. flock_core-0.5.311/src/flock/themes/argonaut copy.toml +77 -0
  525. flock_core-0.5.311/src/flock/themes/argonaut.toml +39 -0
  526. flock_core-0.5.311/src/flock/themes/arthur.toml +77 -0
  527. flock_core-0.5.311/src/flock/themes/ateliersulphurpool.toml +77 -0
  528. flock_core-0.5.311/src/flock/themes/atom.toml +38 -0
  529. flock_core-0.5.311/src/flock/themes/atom_test.toml +65 -0
  530. flock_core-0.5.311/src/flock/themes/atomonelight.toml +77 -0
  531. flock_core-0.5.311/src/flock/themes/aurora.toml +77 -0
  532. flock_core-0.5.311/src/flock/themes/ayu copy.toml +77 -0
  533. flock_core-0.5.311/src/flock/themes/ayu-light.toml +77 -0
  534. flock_core-0.5.311/src/flock/themes/ayu-mirage.toml +77 -0
  535. flock_core-0.5.311/src/flock/themes/ayu.toml +39 -0
  536. flock_core-0.5.311/src/flock/themes/banana-blueberry.toml +77 -0
  537. flock_core-0.5.311/src/flock/themes/batman.toml +77 -0
  538. flock_core-0.5.311/src/flock/themes/belafonte-day.toml +77 -0
  539. flock_core-0.5.311/src/flock/themes/belafonte-night.toml +77 -0
  540. flock_core-0.5.311/src/flock/themes/birdsofparadise.toml +77 -0
  541. flock_core-0.5.311/src/flock/themes/blazer.toml +77 -0
  542. flock_core-0.5.311/src/flock/themes/blue-matrix.toml +77 -0
  543. flock_core-0.5.311/src/flock/themes/blueberrypie.toml +77 -0
  544. flock_core-0.5.311/src/flock/themes/bluedolphin.toml +77 -0
  545. flock_core-0.5.311/src/flock/themes/blulocodark.toml +77 -0
  546. flock_core-0.5.311/src/flock/themes/blulocolight.toml +77 -0
  547. flock_core-0.5.311/src/flock/themes/borland.toml +77 -0
  548. flock_core-0.5.311/src/flock/themes/breeze.toml +77 -0
  549. flock_core-0.5.311/src/flock/themes/bright-lights.toml +77 -0
  550. flock_core-0.5.311/src/flock/themes/broadcast.toml +77 -0
  551. flock_core-0.5.311/src/flock/themes/brogrammer.toml +77 -0
  552. flock_core-0.5.311/src/flock/themes/builtin-dark.toml +77 -0
  553. flock_core-0.5.311/src/flock/themes/builtin-light.toml +77 -0
  554. flock_core-0.5.311/src/flock/themes/builtin-pastel-dark.toml +77 -0
  555. flock_core-0.5.311/src/flock/themes/builtin-solarized-dark.toml +77 -0
  556. flock_core-0.5.311/src/flock/themes/builtin-solarized-light.toml +77 -0
  557. flock_core-0.5.311/src/flock/themes/builtin-tango-dark.toml +77 -0
  558. flock_core-0.5.311/src/flock/themes/builtin-tango-light.toml +77 -0
  559. flock_core-0.5.311/src/flock/themes/c64.toml +77 -0
  560. flock_core-0.5.311/src/flock/themes/calamity.toml +77 -0
  561. flock_core-0.5.311/src/flock/themes/catppuccin-frappe.toml +77 -0
  562. flock_core-0.5.311/src/flock/themes/catppuccin-latte.toml +77 -0
  563. flock_core-0.5.311/src/flock/themes/catppuccin-macchiato.toml +77 -0
  564. flock_core-0.5.311/src/flock/themes/catppuccin-mocha.toml +77 -0
  565. flock_core-0.5.311/src/flock/themes/cga.toml +77 -0
  566. flock_core-0.5.311/src/flock/themes/chalk.toml +77 -0
  567. flock_core-0.5.311/src/flock/themes/chalkboard.toml +77 -0
  568. flock_core-0.5.311/src/flock/themes/challengerdeep.toml +77 -0
  569. flock_core-0.5.311/src/flock/themes/chester.toml +77 -0
  570. flock_core-0.5.311/src/flock/themes/ciapre.toml +77 -0
  571. flock_core-0.5.311/src/flock/themes/clrs.toml +77 -0
  572. flock_core-0.5.311/src/flock/themes/cobalt-neon.toml +77 -0
  573. flock_core-0.5.311/src/flock/themes/cobalt2.toml +77 -0
  574. flock_core-0.5.311/src/flock/themes/coffee-theme.toml +77 -0
  575. flock_core-0.5.311/src/flock/themes/crayonponyfish.toml +77 -0
  576. flock_core-0.5.311/src/flock/themes/cutiepro.toml +77 -0
  577. flock_core-0.5.311/src/flock/themes/cyberdyne.toml +77 -0
  578. flock_core-0.5.311/src/flock/themes/cyberpunk.toml +77 -0
  579. flock_core-0.5.311/src/flock/themes/cyberpunkscarletprotocol.toml +77 -0
  580. flock_core-0.5.311/src/flock/themes/dark+.toml +77 -0
  581. flock_core-0.5.311/src/flock/themes/dark-pastel.toml +77 -0
  582. flock_core-0.5.311/src/flock/themes/darkermatrix.toml +77 -0
  583. flock_core-0.5.311/src/flock/themes/darkmatrix.toml +77 -0
  584. flock_core-0.5.311/src/flock/themes/darkside.toml +77 -0
  585. flock_core-0.5.311/src/flock/themes/dayfox.toml +77 -0
  586. flock_core-0.5.311/src/flock/themes/deep.toml +77 -0
  587. flock_core-0.5.311/src/flock/themes/desert.toml +77 -0
  588. flock_core-0.5.311/src/flock/themes/dimidium.toml +77 -0
  589. flock_core-0.5.311/src/flock/themes/dimmedmonokai.toml +77 -0
  590. flock_core-0.5.311/src/flock/themes/django.toml +77 -0
  591. flock_core-0.5.311/src/flock/themes/djangorebornagain.toml +77 -0
  592. flock_core-0.5.311/src/flock/themes/djangosmooth.toml +77 -0
  593. flock_core-0.5.311/src/flock/themes/doom-peacock.toml +77 -0
  594. flock_core-0.5.311/src/flock/themes/doomone.toml +77 -0
  595. flock_core-0.5.311/src/flock/themes/dotgov.toml +77 -0
  596. flock_core-0.5.311/src/flock/themes/dracula+.toml +77 -0
  597. flock_core-0.5.311/src/flock/themes/dracula.toml +77 -0
  598. flock_core-0.5.311/src/flock/themes/duckbones.toml +77 -0
  599. flock_core-0.5.311/src/flock/themes/duotone-dark.toml +77 -0
  600. flock_core-0.5.311/src/flock/themes/earthsong.toml +77 -0
  601. flock_core-0.5.311/src/flock/themes/elemental.toml +77 -0
  602. flock_core-0.5.311/src/flock/themes/elementary.toml +77 -0
  603. flock_core-0.5.311/src/flock/themes/encom.toml +77 -0
  604. flock_core-0.5.311/src/flock/themes/espresso-libre.toml +77 -0
  605. flock_core-0.5.311/src/flock/themes/espresso.toml +77 -0
  606. flock_core-0.5.311/src/flock/themes/everblush.toml +77 -0
  607. flock_core-0.5.311/src/flock/themes/fahrenheit.toml +77 -0
  608. flock_core-0.5.311/src/flock/themes/fairyfloss.toml +77 -0
  609. flock_core-0.5.311/src/flock/themes/farmhouse-dark.toml +77 -0
  610. flock_core-0.5.311/src/flock/themes/farmhouse-light.toml +77 -0
  611. flock_core-0.5.311/src/flock/themes/fideloper.toml +77 -0
  612. flock_core-0.5.311/src/flock/themes/firefly-traditional.toml +77 -0
  613. flock_core-0.5.311/src/flock/themes/firefoxdev.toml +77 -0
  614. flock_core-0.5.311/src/flock/themes/firewatch.toml +77 -0
  615. flock_core-0.5.311/src/flock/themes/fishtank.toml +77 -0
  616. flock_core-0.5.311/src/flock/themes/flat.toml +77 -0
  617. flock_core-0.5.311/src/flock/themes/flatland.toml +77 -0
  618. flock_core-0.5.311/src/flock/themes/flexoki-dark.toml +77 -0
  619. flock_core-0.5.311/src/flock/themes/flexoki-light.toml +77 -0
  620. flock_core-0.5.311/src/flock/themes/floraverse.toml +77 -0
  621. flock_core-0.5.311/src/flock/themes/forestblue.toml +77 -0
  622. flock_core-0.5.311/src/flock/themes/framer.toml +77 -0
  623. flock_core-0.5.311/src/flock/themes/frontenddelight.toml +77 -0
  624. flock_core-0.5.311/src/flock/themes/funforrest.toml +77 -0
  625. flock_core-0.5.311/src/flock/themes/galaxy.toml +77 -0
  626. flock_core-0.5.311/src/flock/themes/galizur.toml +77 -0
  627. flock_core-0.5.311/src/flock/themes/github-dark.toml +77 -0
  628. flock_core-0.5.311/src/flock/themes/github.toml +77 -0
  629. flock_core-0.5.311/src/flock/themes/glacier.toml +77 -0
  630. flock_core-0.5.311/src/flock/themes/grape.toml +77 -0
  631. flock_core-0.5.311/src/flock/themes/grass.toml +77 -0
  632. flock_core-0.5.311/src/flock/themes/grey-green.toml +77 -0
  633. flock_core-0.5.311/src/flock/themes/gruber-darker.toml +77 -0
  634. flock_core-0.5.311/src/flock/themes/gruvboxdark.toml +77 -0
  635. flock_core-0.5.311/src/flock/themes/gruvboxdarkhard.toml +77 -0
  636. flock_core-0.5.311/src/flock/themes/gruvboxlight.toml +77 -0
  637. flock_core-0.5.311/src/flock/themes/guezwhoz.toml +77 -0
  638. flock_core-0.5.311/src/flock/themes/hacktober.toml +77 -0
  639. flock_core-0.5.311/src/flock/themes/hardcore.toml +77 -0
  640. flock_core-0.5.311/src/flock/themes/harper.toml +77 -0
  641. flock_core-0.5.311/src/flock/themes/hax0r-blue.toml +77 -0
  642. flock_core-0.5.311/src/flock/themes/hax0r-gr33n.toml +77 -0
  643. flock_core-0.5.311/src/flock/themes/hax0r-r3d.toml +77 -0
  644. flock_core-0.5.311/src/flock/themes/highway.toml +77 -0
  645. flock_core-0.5.311/src/flock/themes/hipster-green.toml +77 -0
  646. flock_core-0.5.311/src/flock/themes/hivacruz.toml +77 -0
  647. flock_core-0.5.311/src/flock/themes/homebrew.toml +77 -0
  648. flock_core-0.5.311/src/flock/themes/hopscotch.256.toml +77 -0
  649. flock_core-0.5.311/src/flock/themes/hopscotch.toml +77 -0
  650. flock_core-0.5.311/src/flock/themes/hurtado.toml +77 -0
  651. flock_core-0.5.311/src/flock/themes/hybrid.toml +77 -0
  652. flock_core-0.5.311/src/flock/themes/ic-green-ppl.toml +77 -0
  653. flock_core-0.5.311/src/flock/themes/ic-orange-ppl.toml +77 -0
  654. flock_core-0.5.311/src/flock/themes/iceberg-dark.toml +77 -0
  655. flock_core-0.5.311/src/flock/themes/iceberg-light.toml +77 -0
  656. flock_core-0.5.311/src/flock/themes/idea.toml +77 -0
  657. flock_core-0.5.311/src/flock/themes/idletoes.toml +77 -0
  658. flock_core-0.5.311/src/flock/themes/ir-black.toml +77 -0
  659. flock_core-0.5.311/src/flock/themes/iterm2-dark-background.toml +77 -0
  660. flock_core-0.5.311/src/flock/themes/iterm2-default.toml +77 -0
  661. flock_core-0.5.311/src/flock/themes/iterm2-light-background.toml +77 -0
  662. flock_core-0.5.311/src/flock/themes/iterm2-pastel-dark-background.toml +77 -0
  663. flock_core-0.5.311/src/flock/themes/iterm2-smoooooth.toml +77 -0
  664. flock_core-0.5.311/src/flock/themes/iterm2-solarized-dark.toml +77 -0
  665. flock_core-0.5.311/src/flock/themes/iterm2-solarized-light.toml +77 -0
  666. flock_core-0.5.311/src/flock/themes/iterm2-tango-dark.toml +77 -0
  667. flock_core-0.5.311/src/flock/themes/iterm2-tango-light.toml +77 -0
  668. flock_core-0.5.311/src/flock/themes/jackie-brown.toml +77 -0
  669. flock_core-0.5.311/src/flock/themes/japanesque.toml +77 -0
  670. flock_core-0.5.311/src/flock/themes/jellybeans.toml +77 -0
  671. flock_core-0.5.311/src/flock/themes/jetbrains-darcula.toml +77 -0
  672. flock_core-0.5.311/src/flock/themes/jubi.toml +77 -0
  673. flock_core-0.5.311/src/flock/themes/kanagawabones.toml +77 -0
  674. flock_core-0.5.311/src/flock/themes/kibble.toml +77 -0
  675. flock_core-0.5.311/src/flock/themes/kolorit.toml +77 -0
  676. flock_core-0.5.311/src/flock/themes/konsolas.toml +77 -0
  677. flock_core-0.5.311/src/flock/themes/kurokula.toml +77 -0
  678. flock_core-0.5.311/src/flock/themes/lab-fox.toml +77 -0
  679. flock_core-0.5.311/src/flock/themes/laser.toml +77 -0
  680. flock_core-0.5.311/src/flock/themes/later-this-evening.toml +77 -0
  681. flock_core-0.5.311/src/flock/themes/lavandula.toml +77 -0
  682. flock_core-0.5.311/src/flock/themes/liquidcarbon.toml +77 -0
  683. flock_core-0.5.311/src/flock/themes/liquidcarbontransparent.toml +77 -0
  684. flock_core-0.5.311/src/flock/themes/liquidcarbontransparentinverse.toml +77 -0
  685. flock_core-0.5.311/src/flock/themes/lovelace.toml +77 -0
  686. flock_core-0.5.311/src/flock/themes/man-page.toml +77 -0
  687. flock_core-0.5.311/src/flock/themes/mariana.toml +77 -0
  688. flock_core-0.5.311/src/flock/themes/material.toml +77 -0
  689. flock_core-0.5.311/src/flock/themes/materialdark.toml +77 -0
  690. flock_core-0.5.311/src/flock/themes/materialdarker.toml +77 -0
  691. flock_core-0.5.311/src/flock/themes/materialdesigncolors.toml +77 -0
  692. flock_core-0.5.311/src/flock/themes/materialocean.toml +77 -0
  693. flock_core-0.5.311/src/flock/themes/mathias.toml +77 -0
  694. flock_core-0.5.311/src/flock/themes/matrix.toml +77 -0
  695. flock_core-0.5.311/src/flock/themes/medallion.toml +77 -0
  696. flock_core-0.5.311/src/flock/themes/mellifluous.toml +77 -0
  697. flock_core-0.5.311/src/flock/themes/midnight-in-mojave.toml +77 -0
  698. flock_core-0.5.311/src/flock/themes/mirage.toml +77 -0
  699. flock_core-0.5.311/src/flock/themes/misterioso.toml +77 -0
  700. flock_core-0.5.311/src/flock/themes/molokai.toml +77 -0
  701. flock_core-0.5.311/src/flock/themes/monalisa.toml +77 -0
  702. flock_core-0.5.311/src/flock/themes/monokai-remastered.toml +77 -0
  703. flock_core-0.5.311/src/flock/themes/monokai-soda.toml +77 -0
  704. flock_core-0.5.311/src/flock/themes/monokai-vivid.toml +77 -0
  705. flock_core-0.5.311/src/flock/themes/n0tch2k.toml +77 -0
  706. flock_core-0.5.311/src/flock/themes/neobones-dark.toml +77 -0
  707. flock_core-0.5.311/src/flock/themes/neobones-light.toml +77 -0
  708. flock_core-0.5.311/src/flock/themes/neon.toml +77 -0
  709. flock_core-0.5.311/src/flock/themes/neopolitan.toml +77 -0
  710. flock_core-0.5.311/src/flock/themes/neutron.toml +77 -0
  711. flock_core-0.5.311/src/flock/themes/night-owlish-light.toml +77 -0
  712. flock_core-0.5.311/src/flock/themes/nightfox.toml +77 -0
  713. flock_core-0.5.311/src/flock/themes/nightlion-v1.toml +77 -0
  714. flock_core-0.5.311/src/flock/themes/nightlion-v2.toml +77 -0
  715. flock_core-0.5.311/src/flock/themes/niji.toml +77 -0
  716. flock_core-0.5.311/src/flock/themes/nocturnal-winter.toml +77 -0
  717. flock_core-0.5.311/src/flock/themes/nord-light.toml +77 -0
  718. flock_core-0.5.311/src/flock/themes/nord.toml +77 -0
  719. flock_core-0.5.311/src/flock/themes/novel.toml +77 -0
  720. flock_core-0.5.311/src/flock/themes/nvimdark.toml +77 -0
  721. flock_core-0.5.311/src/flock/themes/nvimlight.toml +77 -0
  722. flock_core-0.5.311/src/flock/themes/obsidian.toml +77 -0
  723. flock_core-0.5.311/src/flock/themes/ocean.toml +77 -0
  724. flock_core-0.5.311/src/flock/themes/oceanic-next.toml +77 -0
  725. flock_core-0.5.311/src/flock/themes/oceanicmaterial.toml +77 -0
  726. flock_core-0.5.311/src/flock/themes/ollie.toml +77 -0
  727. flock_core-0.5.311/src/flock/themes/onehalfdark.toml +77 -0
  728. flock_core-0.5.311/src/flock/themes/onehalflight.toml +77 -0
  729. flock_core-0.5.311/src/flock/themes/operator-mono-dark.toml +77 -0
  730. flock_core-0.5.311/src/flock/themes/overnight-slumber.toml +77 -0
  731. flock_core-0.5.311/src/flock/themes/oxocarbon.toml +77 -0
  732. flock_core-0.5.311/src/flock/themes/palenighthc.toml +77 -0
  733. flock_core-0.5.311/src/flock/themes/pandora.toml +77 -0
  734. flock_core-0.5.311/src/flock/themes/paraiso-dark.toml +77 -0
  735. flock_core-0.5.311/src/flock/themes/paulmillr.toml +77 -0
  736. flock_core-0.5.311/src/flock/themes/pencildark.toml +77 -0
  737. flock_core-0.5.311/src/flock/themes/pencillight.toml +77 -0
  738. flock_core-0.5.311/src/flock/themes/peppermint.toml +77 -0
  739. flock_core-0.5.311/src/flock/themes/piatto-light.toml +77 -0
  740. flock_core-0.5.311/src/flock/themes/pnevma.toml +77 -0
  741. flock_core-0.5.311/src/flock/themes/popping-and-locking.toml +77 -0
  742. flock_core-0.5.311/src/flock/themes/primary.toml +77 -0
  743. flock_core-0.5.311/src/flock/themes/pro-light.toml +77 -0
  744. flock_core-0.5.311/src/flock/themes/pro.toml +77 -0
  745. flock_core-0.5.311/src/flock/themes/purple-rain.toml +77 -0
  746. flock_core-0.5.311/src/flock/themes/purplepeter.toml +77 -0
  747. flock_core-0.5.311/src/flock/themes/rapture.toml +77 -0
  748. flock_core-0.5.311/src/flock/themes/raycast-dark.toml +77 -0
  749. flock_core-0.5.311/src/flock/themes/raycast-light.toml +77 -0
  750. flock_core-0.5.311/src/flock/themes/rebecca.toml +77 -0
  751. flock_core-0.5.311/src/flock/themes/red-alert.toml +77 -0
  752. flock_core-0.5.311/src/flock/themes/red-planet.toml +77 -0
  753. flock_core-0.5.311/src/flock/themes/red-sands.toml +77 -0
  754. flock_core-0.5.311/src/flock/themes/relaxed.toml +77 -0
  755. flock_core-0.5.311/src/flock/themes/retro.toml +77 -0
  756. flock_core-0.5.311/src/flock/themes/rippedcasts.toml +77 -0
  757. flock_core-0.5.311/src/flock/themes/rose-pine-dawn.toml +77 -0
  758. flock_core-0.5.311/src/flock/themes/rose-pine-moon.toml +77 -0
  759. flock_core-0.5.311/src/flock/themes/rose-pine.toml +77 -0
  760. flock_core-0.5.311/src/flock/themes/rouge-2.toml +77 -0
  761. flock_core-0.5.311/src/flock/themes/royal.toml +77 -0
  762. flock_core-0.5.311/src/flock/themes/ryuuko.toml +77 -0
  763. flock_core-0.5.311/src/flock/themes/sakura.toml +77 -0
  764. flock_core-0.5.311/src/flock/themes/scarlet-protocol.toml +77 -0
  765. flock_core-0.5.311/src/flock/themes/seafoam-pastel.toml +77 -0
  766. flock_core-0.5.311/src/flock/themes/seashells.toml +77 -0
  767. flock_core-0.5.311/src/flock/themes/seoulbones-dark.toml +77 -0
  768. flock_core-0.5.311/src/flock/themes/seoulbones-light.toml +77 -0
  769. flock_core-0.5.311/src/flock/themes/seti.toml +77 -0
  770. flock_core-0.5.311/src/flock/themes/shades-of-purple.toml +77 -0
  771. flock_core-0.5.311/src/flock/themes/shaman.toml +77 -0
  772. flock_core-0.5.311/src/flock/themes/slate.toml +77 -0
  773. flock_core-0.5.311/src/flock/themes/sleepyhollow.toml +77 -0
  774. flock_core-0.5.311/src/flock/themes/smyck.toml +77 -0
  775. flock_core-0.5.311/src/flock/themes/snazzy.toml +77 -0
  776. flock_core-0.5.311/src/flock/themes/softserver.toml +77 -0
  777. flock_core-0.5.311/src/flock/themes/solarized-darcula.toml +77 -0
  778. flock_core-0.5.311/src/flock/themes/solarized-dark---patched.toml +77 -0
  779. flock_core-0.5.311/src/flock/themes/solarized-dark-higher-contrast.toml +77 -0
  780. flock_core-0.5.311/src/flock/themes/spacedust.toml +77 -0
  781. flock_core-0.5.311/src/flock/themes/spacegray-eighties-dull.toml +77 -0
  782. flock_core-0.5.311/src/flock/themes/spacegray-eighties.toml +77 -0
  783. flock_core-0.5.311/src/flock/themes/spacegray.toml +77 -0
  784. flock_core-0.5.311/src/flock/themes/spiderman.toml +77 -0
  785. flock_core-0.5.311/src/flock/themes/spring.toml +77 -0
  786. flock_core-0.5.311/src/flock/themes/square.toml +77 -0
  787. flock_core-0.5.311/src/flock/themes/sublette.toml +77 -0
  788. flock_core-0.5.311/src/flock/themes/subliminal.toml +77 -0
  789. flock_core-0.5.311/src/flock/themes/sugarplum.toml +77 -0
  790. flock_core-0.5.311/src/flock/themes/sundried.toml +77 -0
  791. flock_core-0.5.311/src/flock/themes/symfonic.toml +77 -0
  792. flock_core-0.5.311/src/flock/themes/synthwave-everything.toml +77 -0
  793. flock_core-0.5.311/src/flock/themes/synthwave.toml +77 -0
  794. flock_core-0.5.311/src/flock/themes/synthwavealpha.toml +77 -0
  795. flock_core-0.5.311/src/flock/themes/tango-adapted.toml +77 -0
  796. flock_core-0.5.311/src/flock/themes/tango-half-adapted.toml +77 -0
  797. flock_core-0.5.311/src/flock/themes/teerb.toml +77 -0
  798. flock_core-0.5.311/src/flock/themes/terafox.toml +77 -0
  799. flock_core-0.5.311/src/flock/themes/terminal-basic.toml +77 -0
  800. flock_core-0.5.311/src/flock/themes/thayer-bright.toml +77 -0
  801. flock_core-0.5.311/src/flock/themes/the-hulk.toml +77 -0
  802. flock_core-0.5.311/src/flock/themes/tinacious-design-(dark).toml +77 -0
  803. flock_core-0.5.311/src/flock/themes/tinacious-design-(light).toml +77 -0
  804. flock_core-0.5.311/src/flock/themes/tokyonight-day.toml +77 -0
  805. flock_core-0.5.311/src/flock/themes/tokyonight-storm.toml +77 -0
  806. flock_core-0.5.311/src/flock/themes/tokyonight.toml +77 -0
  807. flock_core-0.5.311/src/flock/themes/tomorrow-night-blue.toml +77 -0
  808. flock_core-0.5.311/src/flock/themes/tomorrow-night-bright.toml +77 -0
  809. flock_core-0.5.311/src/flock/themes/tomorrow-night-burns.toml +77 -0
  810. flock_core-0.5.311/src/flock/themes/tomorrow-night-eighties.toml +77 -0
  811. flock_core-0.5.311/src/flock/themes/tomorrow-night.toml +77 -0
  812. flock_core-0.5.311/src/flock/themes/tomorrow.toml +77 -0
  813. flock_core-0.5.311/src/flock/themes/toychest.toml +77 -0
  814. flock_core-0.5.311/src/flock/themes/treehouse.toml +77 -0
  815. flock_core-0.5.311/src/flock/themes/twilight.toml +77 -0
  816. flock_core-0.5.311/src/flock/themes/ubuntu.toml +77 -0
  817. flock_core-0.5.311/src/flock/themes/ultradark.toml +77 -0
  818. flock_core-0.5.311/src/flock/themes/ultraviolent.toml +77 -0
  819. flock_core-0.5.311/src/flock/themes/underthesea.toml +77 -0
  820. flock_core-0.5.311/src/flock/themes/unikitty.toml +77 -0
  821. flock_core-0.5.311/src/flock/themes/urple.toml +77 -0
  822. flock_core-0.5.311/src/flock/themes/vaughn.toml +77 -0
  823. flock_core-0.5.311/src/flock/themes/vesper.toml +77 -0
  824. flock_core-0.5.311/src/flock/themes/vibrantink.toml +77 -0
  825. flock_core-0.5.311/src/flock/themes/vimbones.toml +77 -0
  826. flock_core-0.5.311/src/flock/themes/violet-dark.toml +77 -0
  827. flock_core-0.5.311/src/flock/themes/violet-light.toml +77 -0
  828. flock_core-0.5.311/src/flock/themes/warmneon.toml +77 -0
  829. flock_core-0.5.311/src/flock/themes/wez.toml +77 -0
  830. flock_core-0.5.311/src/flock/themes/whimsy.toml +77 -0
  831. flock_core-0.5.311/src/flock/themes/wildcherry.toml +77 -0
  832. flock_core-0.5.311/src/flock/themes/wilmersdorf.toml +77 -0
  833. flock_core-0.5.311/src/flock/themes/wombat.toml +77 -0
  834. flock_core-0.5.311/src/flock/themes/wryan.toml +77 -0
  835. flock_core-0.5.311/src/flock/themes/xcodedark.toml +77 -0
  836. flock_core-0.5.311/src/flock/themes/xcodedarkhc.toml +77 -0
  837. flock_core-0.5.311/src/flock/themes/xcodelight.toml +77 -0
  838. flock_core-0.5.311/src/flock/themes/xcodelighthc.toml +77 -0
  839. flock_core-0.5.311/src/flock/themes/xcodewwdc.toml +77 -0
  840. flock_core-0.5.311/src/flock/themes/zenbones-dark.toml +77 -0
  841. flock_core-0.5.311/src/flock/themes/zenbones-light.toml +77 -0
  842. flock_core-0.5.311/src/flock/themes/zenbones.toml +77 -0
  843. flock_core-0.5.311/src/flock/themes/zenburn.toml +77 -0
  844. flock_core-0.5.311/src/flock/themes/zenburned.toml +77 -0
  845. flock_core-0.5.311/src/flock/themes/zenwritten-dark.toml +77 -0
  846. flock_core-0.5.311/src/flock/themes/zenwritten-light.toml +77 -0
  847. flock_core-0.5.311/src/flock/utils/__init__.py +15 -0
  848. flock_core-0.5.311/src/flock/utils/async_utils.py +67 -0
  849. flock_core-0.5.311/src/flock/utils/cli_helper.py +107 -0
  850. flock_core-0.5.311/src/flock/utils/runtime.py +405 -0
  851. flock_core-0.5.311/src/flock/utils/time_utils.py +53 -0
  852. flock_core-0.5.311/src/flock/utils/type_resolution.py +39 -0
  853. flock_core-0.5.311/src/flock/utils/utilities.py +329 -0
  854. flock_core-0.5.311/src/flock/utils/validation.py +58 -0
  855. flock_core-0.5.311/src/flock/utils/visibility.py +79 -0
  856. flock_core-0.5.311/src/flock/utils/visibility_utils.py +134 -0
  857. flock_core-0.5.311/tests/PHASE2_TEST_SUMMARY.md +305 -0
  858. flock_core-0.5.311/tests/PHASE3_TEST_SUMMARY.md +474 -0
  859. flock_core-0.5.311/tests/TEST_COVERAGE_PHASE2.md +204 -0
  860. flock_core-0.5.311/tests/agent/test_component_lifecycle.py +375 -0
  861. flock_core-0.5.311/tests/agent/test_context_resolver.py +170 -0
  862. flock_core-0.5.311/tests/agent/test_mcp_integration.py +301 -0
  863. flock_core-0.5.311/tests/agent/test_output_processor.py +385 -0
  864. flock_core-0.5.311/tests/api/test_error_handling.py +201 -0
  865. flock_core-0.5.311/tests/api/test_idempotency.py +251 -0
  866. flock_core-0.5.311/tests/api/test_sync_models.py +287 -0
  867. flock_core-0.5.311/tests/api/test_sync_publish.py +361 -0
  868. flock_core-0.5.311/tests/api/test_themes_api.py +100 -0
  869. flock_core-0.5.311/tests/api/test_webhook_context.py +235 -0
  870. flock_core-0.5.311/tests/api/test_webhook_delivery.py +366 -0
  871. flock_core-0.5.311/tests/api/test_webhook_e2e.py +511 -0
  872. flock_core-0.5.311/tests/api/test_webhook_integration.py +465 -0
  873. flock_core-0.5.311/tests/api/test_webhook_models.py +267 -0
  874. flock_core-0.5.311/tests/components/server/test_auth_component.py +476 -0
  875. flock_core-0.5.311/tests/components/server/test_base_component.py +313 -0
  876. flock_core-0.5.311/tests/components/server/test_cors_component.py +445 -0
  877. flock_core-0.5.311/tests/components/server/test_health_component.py +314 -0
  878. flock_core-0.5.311/tests/components/server/test_middleware_component.py +428 -0
  879. flock_core-0.5.311/tests/components/server/test_static_files_component.py +353 -0
  880. flock_core-0.5.311/tests/components/server/test_trace_component.py +900 -0
  881. flock_core-0.5.311/tests/components/test_activation_component.py +577 -0
  882. flock_core-0.5.311/tests/components/test_webhook_component.py +260 -0
  883. flock_core-0.5.311/tests/conftest.py +145 -0
  884. flock_core-0.5.311/tests/contract/test_agent_payload_selection_contract.py +173 -0
  885. flock_core-0.5.311/tests/contract/test_artifact_storage_contract.py +139 -0
  886. flock_core-0.5.311/tests/contract/test_type_normalization_contract.py +109 -0
  887. flock_core-0.5.311/tests/core/__init__.py +0 -0
  888. flock_core-0.5.311/tests/core/test_conditions_base.py +499 -0
  889. flock_core-0.5.311/tests/core/test_conditions_impl.py +674 -0
  890. flock_core-0.5.311/tests/core/test_run_until.py +343 -0
  891. flock_core-0.5.311/tests/core/test_until_helper.py +422 -0
  892. flock_core-0.5.311/tests/core/test_when_helper.py +374 -0
  893. flock_core-0.5.311/tests/dashboard/test_logic_operations_api.py +1124 -0
  894. flock_core-0.5.311/tests/dashboard/test_logic_operations_events.py +626 -0
  895. flock_core-0.5.311/tests/e2e/README.md +250 -0
  896. flock_core-0.5.311/tests/e2e/TESTING_SUMMARY.md +294 -0
  897. flock_core-0.5.311/tests/e2e/test_critical_scenarios.py +691 -0
  898. flock_core-0.5.311/tests/integration/test_async_tool_invocation.py +161 -0
  899. flock_core-0.5.311/tests/integration/test_collector_orchestrator.py +373 -0
  900. flock_core-0.5.311/tests/integration/test_conditions_e2e.py +568 -0
  901. flock_core-0.5.311/tests/integration/test_schedule_integration.py +634 -0
  902. flock_core-0.5.311/tests/integration/test_scheduled_agents.py +1039 -0
  903. flock_core-0.5.311/tests/integration/test_sqlite_store_integration.py +37 -0
  904. flock_core-0.5.311/tests/integration/test_websocket_protocol.py +502 -0
  905. flock_core-0.5.311/tests/orchestrator/test_server_manager.py +887 -0
  906. flock_core-0.5.311/tests/semantic/__init__.py +1 -0
  907. flock_core-0.5.311/tests/semantic/conftest.py +77 -0
  908. flock_core-0.5.311/tests/semantic/test_agent_integration.py +378 -0
  909. flock_core-0.5.311/tests/semantic/test_embedding_service.py +144 -0
  910. flock_core-0.5.311/tests/semantic/test_optional_import.py +63 -0
  911. flock_core-0.5.311/tests/semantic/test_performance_and_edge_cases.py +139 -0
  912. flock_core-0.5.311/tests/semantic/test_semantic_context_provider.py +330 -0
  913. flock_core-0.5.311/tests/semantic/test_subscription_text_predicates.py +266 -0
  914. flock_core-0.5.311/tests/storage/__init__.py +1 -0
  915. flock_core-0.5.311/tests/storage/in_memory/__init__.py +1 -0
  916. flock_core-0.5.311/tests/storage/in_memory/test_artifact_filter.py +191 -0
  917. flock_core-0.5.311/tests/storage/in_memory/test_history_aggregator.py +217 -0
  918. flock_core-0.5.311/tests/storage/sqlite/__init__.py +1 -0
  919. flock_core-0.5.311/tests/storage/sqlite/test_agent_history_queries.py +329 -0
  920. flock_core-0.5.311/tests/storage/sqlite/test_consumption_loader.py +222 -0
  921. flock_core-0.5.311/tests/storage/sqlite/test_query_builder.py +161 -0
  922. flock_core-0.5.311/tests/storage/sqlite/test_query_params_builder.py +146 -0
  923. flock_core-0.5.311/tests/storage/sqlite/test_schema_manager.py +188 -0
  924. flock_core-0.5.311/tests/storage/sqlite/test_summary_queries.py +236 -0
  925. flock_core-0.5.311/tests/storage/test_artifact_aggregator.py +243 -0
  926. flock_core-0.5.311/tests/test_agent.py +564 -0
  927. flock_core-0.5.311/tests/test_agent_builder.py +1499 -0
  928. flock_core-0.5.311/tests/test_agent_context_timer.py +307 -0
  929. flock_core-0.5.311/tests/test_agent_mcp.py +97 -0
  930. flock_core-0.5.311/tests/test_agent_schedule_api.py +276 -0
  931. flock_core-0.5.311/tests/test_agent_server_specific_mounts.py +185 -0
  932. flock_core-0.5.311/tests/test_api_models.py +437 -0
  933. flock_core-0.5.311/tests/test_artifacts.py +107 -0
  934. flock_core-0.5.311/tests/test_base_service.py +445 -0
  935. flock_core-0.5.311/tests/test_cli.py +556 -0
  936. flock_core-0.5.311/tests/test_cli_helper.py +346 -0
  937. flock_core-0.5.311/tests/test_components.py +523 -0
  938. flock_core-0.5.311/tests/test_context_provider.py +1305 -0
  939. flock_core-0.5.311/tests/test_context_security.py +328 -0
  940. flock_core-0.5.311/tests/test_dashboard_api.py +614 -0
  941. flock_core-0.5.311/tests/test_dashboard_collector.py +611 -0
  942. flock_core-0.5.311/tests/test_dashboard_graph.py +333 -0
  943. flock_core-0.5.311/tests/test_dashboard_launcher.py +194 -0
  944. flock_core-0.5.311/tests/test_dashboard_service.py +1632 -0
  945. flock_core-0.5.311/tests/test_dspy_engine.py +1106 -0
  946. flock_core-0.5.311/tests/test_dspy_engine_adapter.py +243 -0
  947. flock_core-0.5.311/tests/test_dspy_engine_mcp.py +103 -0
  948. flock_core-0.5.311/tests/test_dspy_engine_multioutput.py +1521 -0
  949. flock_core-0.5.311/tests/test_dspy_signature_builder_fan_out.py +105 -0
  950. flock_core-0.5.311/tests/test_dspy_streaming_events.py +385 -0
  951. flock_core-0.5.311/tests/test_dspy_streaming_executor_helpers.py +218 -0
  952. flock_core-0.5.311/tests/test_dspy_streaming_integration.py +473 -0
  953. flock_core-0.5.311/tests/test_engine_context.py +288 -0
  954. flock_core-0.5.311/tests/test_engines.py +213 -0
  955. flock_core-0.5.311/tests/test_fan_out_range.py +92 -0
  956. flock_core-0.5.311/tests/test_filtering_validation.py +624 -0
  957. flock_core-0.5.311/tests/test_graph_builder_coverage.py +92 -0
  958. flock_core-0.5.311/tests/test_logging_config.py +635 -0
  959. flock_core-0.5.311/tests/test_mcp_client.py +781 -0
  960. flock_core-0.5.311/tests/test_mcp_config.py +800 -0
  961. flock_core-0.5.311/tests/test_mcp_coverage_summary.md +70 -0
  962. flock_core-0.5.311/tests/test_mcp_imports.py +63 -0
  963. flock_core-0.5.311/tests/test_mcp_manager.py +625 -0
  964. flock_core-0.5.311/tests/test_mcp_server_config_typeddict.py +92 -0
  965. flock_core-0.5.311/tests/test_mcp_tool_handlers.py +1245 -0
  966. flock_core-0.5.311/tests/test_no_output.py +197 -0
  967. flock_core-0.5.311/tests/test_orchestrator.py +1141 -0
  968. flock_core-0.5.311/tests/test_orchestrator_and_gate.py +1329 -0
  969. flock_core-0.5.311/tests/test_orchestrator_batchspec.py +635 -0
  970. flock_core-0.5.311/tests/test_orchestrator_combined.py +936 -0
  971. flock_core-0.5.311/tests/test_orchestrator_component.py +1415 -0
  972. flock_core-0.5.311/tests/test_orchestrator_context_injection.py +590 -0
  973. flock_core-0.5.311/tests/test_orchestrator_joinspec.py +914 -0
  974. flock_core-0.5.311/tests/test_orchestrator_mcp.py +131 -0
  975. flock_core-0.5.311/tests/test_output_groups.py +550 -0
  976. flock_core-0.5.311/tests/test_registry.py +89 -0
  977. flock_core-0.5.311/tests/test_runtime.py +470 -0
  978. flock_core-0.5.311/tests/test_runtime_coverage.py +95 -0
  979. flock_core-0.5.311/tests/test_schedule_spec.py +177 -0
  980. flock_core-0.5.311/tests/test_service.py +51 -0
  981. flock_core-0.5.311/tests/test_service_extended.py +444 -0
  982. flock_core-0.5.311/tests/test_store.py +463 -0
  983. flock_core-0.5.311/tests/test_store_graph.py +103 -0
  984. flock_core-0.5.311/tests/test_subscription.py +262 -0
  985. flock_core-0.5.311/tests/test_telemetry.py +685 -0
  986. flock_core-0.5.311/tests/test_timer_component.py +807 -0
  987. flock_core-0.5.311/tests/test_timer_component_coverage.py +163 -0
  988. flock_core-0.5.311/tests/test_timer_component_registration.py +380 -0
  989. flock_core-0.5.311/tests/test_timer_tick.py +236 -0
  990. flock_core-0.5.311/tests/test_trace_clearing.py +315 -0
  991. flock_core-0.5.311/tests/test_transformers_provider.py +365 -0
  992. flock_core-0.5.311/tests/test_unified_tracing.py +195 -0
  993. flock_core-0.5.311/tests/test_utilities.py +893 -0
  994. flock_core-0.5.311/tests/test_visibility.py +217 -0
  995. flock_core-0.5.311/tests/test_websocket_manager_enhanced.py +694 -0
  996. flock_core-0.5.311/tests/utils/__init__.py +1 -0
  997. flock_core-0.5.311/tests/utils/test_async_utils.py +141 -0
  998. flock_core-0.5.311/tests/utils/test_time_utils.py +93 -0
  999. flock_core-0.5.311/tests/utils/test_type_resolution.py +55 -0
  1000. flock_core-0.5.311/tests/utils/test_validation.py +198 -0
  1001. flock_core-0.5.311/tests/utils/test_visibility.py +135 -0
  1002. flock_core-0.5.311/tests/utils/test_visibility_utils.py +125 -0
  1003. flock_core-0.5.311/uv.lock +5251 -0
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "flock dev",
3
+ "image": "ghcr.io/astral-sh/uv:python3.12-bookworm",
4
+ "features": {
5
+ "ghcr.io/devcontainers/features/node:1": {
6
+ "version": "22",
7
+ "nodeGypDependencies": true
8
+ }
9
+ },
10
+ "customizations": {
11
+ "vscode": {
12
+ "extensions": [
13
+ "ms-python.python",
14
+ "charliermarsh.ruff"
15
+ ],
16
+ "settings": {
17
+ "python.defaultInterpreterPath": "/usr/local/bin/python",
18
+ "[python]": {
19
+ "editor.defaultFormatter": "charliermarsh.ruff",
20
+ "editor.formatOnSave": true,
21
+ "editor.codeActionsOnSave": {
22
+ "source.fixAll": "explicit",
23
+ "source.organizeImports": "explicit"
24
+ }
25
+ }
26
+ }
27
+ }
28
+ },
29
+ "forwardPorts": [8888],
30
+ "postCreateCommand": "uv sync --all-groups --all-extras --frozen"
31
+ }
@@ -0,0 +1,90 @@
1
+ # ============================================================================
2
+ # Model Configuration
3
+ # ============================================================================
4
+ # Flock supports all litellm-compatible models, including OpenAI and Azure OpenAI.
5
+ # Documentation: https://docs.litellm.ai/docs/providers
6
+ # Common models:
7
+
8
+ # AZURE - "azure/{model_name}"
9
+
10
+ ; AZURE_API_KEY=xxx
11
+ ; AZURE_API_BASE=https://xxx-foundry.cognitiveservices.azure.com/
12
+ ; AZURE_API_VERSION="2024-12-01-preview"
13
+ ; DEFAULT_MODEL="azure/gtp-4.1"
14
+
15
+ # OPENAI - "openai/{model_name}"
16
+
17
+ ; OPENAI_API_KEY=xxx
18
+ ; OPENAI_API_BASE=https://api.openai.com/v1/
19
+ ; DEFAULT_MODEL="openai/gpt-5"
20
+
21
+ # OPENROUTER - "openrouter/{model_name}"
22
+
23
+ ; OPENROUTER_API_KEY=
24
+ ; OPENROUTER_API_BASE=
25
+ ; DEFAULT_MODEL="openrouter/polaris-alpha"
26
+
27
+ # ============================================================================
28
+ # OpenTelemetry Tracing Configuration
29
+ # ============================================================================
30
+
31
+ # Enable auto-tracing for all agents and operations
32
+ # Set to "true" to enable OpenTelemetry distributed tracing
33
+ # Traces are stored in DuckDB for fast analytical queries
34
+ FLOCK_AUTO_TRACE=true
35
+
36
+ # Store traces in DuckDB database (recommended for production)
37
+ # Creates .flock/traces.duckdb with full input/output capture
38
+ # Set to "true" to enable DuckDB storage
39
+ FLOCK_TRACE_FILE=true
40
+
41
+ # 🆕 Unified Workflow Tracing (v0.5.0+)
42
+ # Automatically wrap operations in workflow traces for better observability
43
+ # When disabled (default), use explicit `async with flock.traced_run("name")`
44
+ # Set to "true" to enable automatic workflow trace detection
45
+ # FLOCK_AUTO_WORKFLOW_TRACE=true
46
+
47
+ # Filter: Trace only specific services (whitelist)
48
+ # Format: JSON array of service names (case-insensitive)
49
+ # If not set or empty, all services are traced
50
+ # Recommended: Trace core services, avoid streaming token overhead
51
+ # Example: FLOCK_TRACE_SERVICES=["flock", "agent", "dspyengine", "outpututilitycomponent"]
52
+ FLOCK_TRACE_SERVICES=["flock", "agent", "dspyengine", "outpututilitycomponent"]
53
+
54
+ # Filter: Ignore specific operations (blacklist)
55
+ # Format: JSON array of operation names in "Service.method" format
56
+ # Use this to exclude noisy or low-value operations from traces
57
+ # Example: FLOCK_TRACE_IGNORE=["DashboardEventCollector.set_websocket_manager"]
58
+ FLOCK_TRACE_IGNORE=["DashboardEventCollector.set_websocket_manager"]
59
+
60
+ # Trace Time-To-Live (TTL): Auto-delete old traces
61
+ # Deletes traces older than specified days on application startup
62
+ # Keeps database size manageable and removes stale debugging data
63
+ # Set to empty or comment out to keep traces forever
64
+ # Example: FLOCK_TRACE_TTL_DAYS=30
65
+ FLOCK_TRACE_TTL_DAYS=30
66
+
67
+ # ============================================================================
68
+ # Unified Tracing Usage (Code-based approach - RECOMMENDED)
69
+ # ============================================================================
70
+ #
71
+ # Instead of using FLOCK_AUTO_WORKFLOW_TRACE, use explicit traced_run():
72
+ #
73
+ # async with flock.traced_run("workflow_name"):
74
+ # await flock.publish(data)
75
+ # await flock.run_until_idle()
76
+ #
77
+ # Benefits:
78
+ # ✅ Single trace for entire workflow (all operations share trace_id)
79
+ # ✅ Proper parent-child span hierarchy
80
+ # ✅ Custom workflow names for better organization
81
+ # ✅ Add custom attributes: span.set_attribute("key", "value")
82
+ # ✅ Nested workflow support
83
+ #
84
+ # Clearing traces for fresh debug sessions:
85
+ # result = Flock.clear_traces() # Deletes all spans, runs VACUUM
86
+ #
87
+ # See docs/UNIFIED_TRACING.md for complete guide
88
+ # ============================================================================
89
+
90
+ OPENAI_API_KEY=xxx
@@ -0,0 +1,205 @@
1
+ # 🚀 [FEATURE] Non-Blocking `serve()` for Dashboard Examples
2
+
3
+ ### Is your feature request related to a problem?
4
+
5
+ Dashboard examples currently face a limitation: once `flock.serve(dashboard=True)` is called, execution blocks indefinitely. This makes it impossible to publish messages or perform any setup logic after starting the dashboard server, unlike CLI examples which use `run_until_idle()` for controlled execution.
6
+
7
+ **Current workaround:**
8
+ Users must publish all messages *before* calling `serve()`, which is awkward for demos and prevents realistic workflows where the server runs continuously while processing incoming messages.
9
+
10
+ **Example of the problem:**
11
+ ```python
12
+ # This doesn't work - can't execute after serve()
13
+ async def main():
14
+ await flock.serve(dashboard=True) # blocks forever
15
+
16
+ # This code never runs! ❌
17
+ pizza = MyDreamPizza(pizza_idea="pizza with pineapple")
18
+ await flock.publish(pizza)
19
+ await flock.run_until_idle()
20
+ ```
21
+
22
+ ### Describe the solution you want to see
23
+
24
+ Add a `blocking` parameter to `serve()` that allows starting the dashboard server as a background task:
25
+
26
+ ```python
27
+ async def serve(
28
+ self,
29
+ *,
30
+ dashboard: bool = False,
31
+ dashboard_v2: bool = False,
32
+ host: str = "127.0.0.1",
33
+ port: int = 8344,
34
+ blocking: bool = True, # NEW: default True for backwards compatibility
35
+ ) -> Task[None] | None:
36
+ ```
37
+
38
+ **Usage example:**
39
+ ```python
40
+ async def main():
41
+ # Start dashboard in background
42
+ await flock.serve(dashboard=True, blocking=False)
43
+
44
+ # Now we can publish messages!
45
+ pizza = MyDreamPizza(pizza_idea="pizza with pineapple")
46
+ await flock.publish(pizza)
47
+ await flock.run_until_idle()
48
+
49
+ # Dashboard stays alive for inspection
50
+ print("Check dashboard at http://localhost:8344")
51
+ await asyncio.Event().wait() # Keep running
52
+ ```
53
+
54
+ **Key requirements:**
55
+ - Backwards compatible (`blocking=True` by default)
56
+ - Return `Task[None]` handle when `blocking=False`
57
+ - Proper cleanup of dashboard launcher and server on shutdown or task cancellation
58
+ - Works seamlessly with `run_until_idle()`
59
+
60
+ ### Describe alternatives you have considered
61
+
62
+ **Option 1: Startup hook pattern**
63
+ ```python
64
+ async def setup():
65
+ await flock.publish(...)
66
+
67
+ await flock.serve(dashboard=True, on_startup=setup)
68
+ ```
69
+ ❌ Less flexible, doesn't allow continuous message publishing
70
+
71
+ **Option 2: Separate `serve_background()` method**
72
+ ```python
73
+ await flock.serve_background(dashboard=True)
74
+ ```
75
+ ❌ API duplication, less discoverable
76
+
77
+ **Option 3: Always non-blocking**
78
+ ```python
79
+ await flock.serve(dashboard=True) # always returns immediately
80
+ ```
81
+ ❌ Breaking change for existing users
82
+
83
+ ### Additional context
84
+
85
+ **Complexity: Medium** (6-9 hours estimated)
86
+ - Core async pattern is straightforward (codebase already uses `asyncio.create_task` extensively)
87
+ - Cleanup coordination requires careful handling (dashboard launcher + server task lifecycle)
88
+ - Backwards compatibility is preserved with default parameter
89
+
90
+ ---
91
+
92
+ ## 🛠️ Implementation Plan
93
+
94
+ ### 1. Core Changes
95
+
96
+ **File: `src/flock/orchestrator.py`**
97
+
98
+ - Add `blocking: bool = True` parameter to `serve()` method (line 753)
99
+ - Add `_server_task: Task[None] | None = None` field to `__init__` (around line 165)
100
+ - Update return type: `-> Task[None] | None`
101
+ - When `blocking=False`:
102
+ - Wrap server execution in `asyncio.create_task()`
103
+ - Add cleanup callback for dashboard launcher on task completion
104
+ - Track task in `_server_task` field
105
+ - Return task handle
106
+
107
+ **Estimated effort:** 2-3 hours
108
+
109
+ ### 2. Cleanup Logic
110
+
111
+ **File: `src/flock/orchestrator.py`**
112
+
113
+ - Add server cleanup to `shutdown()` method (line 718)
114
+ - Cancel `_server_task` if running
115
+ - Stop `_dashboard_launcher` if present
116
+ - Handle `asyncio.CancelledError` gracefully
117
+ - Ensure proper resource cleanup on both normal completion and cancellation
118
+
119
+ **Estimated effort:** 1-2 hours
120
+
121
+ ### 3. Testing
122
+
123
+ **File: `tests/integration/test_orchestrator_dashboard.py` (or new test file)**
124
+
125
+ Test scenarios:
126
+ - ✅ Non-blocking serve starts successfully and returns task
127
+ - ✅ Can publish messages after non-blocking serve
128
+ - ✅ Server processes messages during `run_until_idle()`
129
+ - ✅ Dashboard launcher cleanup on task completion
130
+ - ✅ Cleanup on explicit `shutdown()` call
131
+ - ✅ Backwards compatibility: `blocking=True` works as before
132
+ - ✅ Task cancellation cleans up resources properly
133
+
134
+ **Estimated effort:** 2-3 hours
135
+
136
+ ### 4. Documentation
137
+
138
+ **Files to update:**
139
+ - `src/flock/orchestrator.py` - Update `serve()` docstring with:
140
+ - New `blocking` parameter description
141
+ - Example showing non-blocking usage
142
+ - Return type documentation
143
+
144
+ **Estimated effort:** 30 minutes
145
+
146
+ ### 5. Example
147
+
148
+ **File: `examples/02-dashboard/02_non_blocking_serve.py` (new)**
149
+
150
+ Create example demonstrating:
151
+ - Starting dashboard in non-blocking mode
152
+ - Publishing messages after server starts
153
+ - Using `run_until_idle()` to process messages
154
+ - Keeping server alive for inspection
155
+
156
+ **Estimated effort:** 1 hour
157
+
158
+ ---
159
+
160
+ ## ✅ Definition of Done
161
+
162
+ - [ ] `blocking` parameter implemented with default `True`
163
+ - [ ] Non-blocking mode returns `Task[None]` handle
164
+ - [ ] Server cleanup logic handles both normal and cancelled completion
165
+ - [ ] All tests passing (new + existing)
166
+ - [ ] Docstring updated with parameter and examples
167
+ - [ ] New example created: `examples/02-dashboard/02_non_blocking_serve.py`
168
+ - [ ] Backwards compatibility verified (existing examples still work)
169
+ - [ ] Manual validation: example runs and dashboard stays accessible
170
+
171
+ ---
172
+
173
+ ## 🧪 Validation Strategy
174
+
175
+ **Automated:**
176
+ - Unit/integration tests for non-blocking behavior
177
+ - Cleanup verification tests
178
+ - Backwards compatibility regression tests
179
+
180
+ **Manual:**
181
+ 1. Run new example: `python examples/02-dashboard/02_non_blocking_serve.py`
182
+ 2. Verify dashboard accessible at http://localhost:8344
183
+ 3. Verify messages appear in dashboard
184
+ 4. Verify server stays alive after `run_until_idle()`
185
+ 5. Test graceful shutdown (Ctrl+C)
186
+
187
+ ---
188
+
189
+ ## 📅 Timeline Estimate
190
+
191
+ **Total effort:** 6-9 hours
192
+
193
+ Breakdown:
194
+ - Implementation: 3-5 hours
195
+ - Testing: 2-3 hours
196
+ - Documentation + Example: 1.5 hours
197
+
198
+ ---
199
+
200
+ ## 🔗 Technical References
201
+
202
+ - `orchestrator.py:753` - Current `serve()` implementation
203
+ - `orchestrator.py:580, 588, 1417` - Existing `asyncio.create_task` usage patterns
204
+ - `orchestrator.py:718` - Existing `shutdown()` method
205
+ - `service.py:279` - `BlackboardHTTPService.run_async()` (blocks on `uvicorn.Server.serve()`)
@@ -0,0 +1,23 @@
1
+ name: Deploy MkDocs
2
+ on:
3
+ push:
4
+ branches:
5
+ - main # or master
6
+ - docs/* # or docs/*
7
+
8
+ # Explicit permissions for security best practices
9
+ permissions:
10
+ contents: write
11
+ pages: write
12
+
13
+ jobs:
14
+ deploy:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - uses: actions/setup-python@v5
19
+ with:
20
+ python-version: '3.12'
21
+ - run: pip install mkdocs-material mkdocs mkdocstrings[python] mkdocs-gen-files mkdocs-literate-nav mkdocs-section-index mkdocs-minify-plugin mkdocs-git-revision-date-localized-plugin mkdocs-glightbox
22
+ - run: pip install -e .
23
+ - run: mkdocs gh-deploy --force
@@ -0,0 +1,50 @@
1
+ # .github/workflows/publish.yml
2
+
3
+ name: Publish Python Package
4
+
5
+ on:
6
+ push:
7
+ branches:
8
+ - main # Replace with your default branch
9
+ paths:
10
+ - 'pyproject.toml' # Only trigger on changes to pyproject.toml (version number)
11
+
12
+ jobs:
13
+ build-and-publish:
14
+ strategy:
15
+ matrix:
16
+ python-version:
17
+ - "3.12"
18
+ - "3.13"
19
+ runs-on: ubuntu-latest
20
+ permissions:
21
+ contents: write
22
+
23
+ steps:
24
+ - name: Check out code
25
+ uses: actions/checkout@v3
26
+
27
+ - name: Install uv
28
+ uses: astral-sh/setup-uv@v4
29
+
30
+ - name: Set up Python ${{ matrix.python-version }}
31
+ run: uv python install ${{ matrix.python-version }}
32
+
33
+ - name: Install the project
34
+ run: uv sync
35
+
36
+ - name: Build the project
37
+ run: uv build
38
+
39
+ - name: Check if should skip
40
+ id: skip-check
41
+ run: |
42
+ if echo "${{ github.event.head_commit.message }}" | grep -iq "\[skip publish\]"; then
43
+ echo "skip=true" >> $GITHUB_OUTPUT
44
+ else
45
+ echo "skip=false" >> $GITHUB_OUTPUT
46
+ fi
47
+
48
+ - name: Publish to pypi
49
+ if: steps.skip-check.outputs.skip != 'true'
50
+ run: uv publish --token ${{ secrets.PYPI_API_TOKEN }}
@@ -0,0 +1,146 @@
1
+ # Flock Quality Gates CI/CD
2
+ # Runs comprehensive quality checks on all pull requests and pushes
3
+ # Matches pre-commit hooks with additional test coverage requirements
4
+
5
+ name: Quality Gates
6
+
7
+ on:
8
+ push:
9
+ branches:
10
+ - main # Replace with your default branch
11
+ - 0.5.0b
12
+ pull_request:
13
+ branches:
14
+ - main # Replace with your default branch
15
+ - 0.5.0b
16
+
17
+ jobs:
18
+ # Backend quality checks
19
+ backend-quality:
20
+ name: Backend Quality
21
+ runs-on: ubuntu-latest
22
+
23
+ steps:
24
+ - uses: actions/checkout@v4
25
+
26
+ - name: Set up Python
27
+ uses: actions/setup-python@v5
28
+ with:
29
+ python-version: '3.12'
30
+
31
+ - name: Install UV
32
+ run: curl -LsSf https://astral.sh/uv/install.sh | sh
33
+
34
+ - name: Install dependencies
35
+ run: |
36
+ export PATH="$HOME/.cargo/bin:$PATH"
37
+ uv sync --dev --all-groups --all-extras
38
+
39
+ - name: Lint with Ruff
40
+ run: |
41
+ export PATH="$HOME/.cargo/bin:$PATH"
42
+ uv run ruff check src/flock/ --fix --exit-zero
43
+
44
+ - name: Format check with Ruff
45
+ run: |
46
+ export PATH="$HOME/.cargo/bin:$PATH"
47
+ uv run ruff format --check src/flock/
48
+
49
+ - name: Run tests with coverage
50
+ run: |
51
+ export PATH="$HOME/.cargo/bin:$PATH"
52
+ uv run pytest --cov=src/flock --cov-branch --cov-report=xml --cov-report=term --cov-fail-under=75
53
+
54
+ - name: Extract test metrics
55
+ id: test-metrics
56
+ run: |
57
+ export PATH="$HOME/.cargo/bin:$PATH"
58
+
59
+ # Count total tests
60
+ TEST_COUNT=$(uv run pytest --collect-only -q | tail -n 1 | awk '{print $1}')
61
+ echo "test_count=$TEST_COUNT" >> $GITHUB_OUTPUT
62
+ echo "📊 Total tests: $TEST_COUNT"
63
+
64
+ # Extract coverage percentage from XML
65
+ COVERAGE=$(python -c "import xml.etree.ElementTree as ET; tree = ET.parse('coverage.xml'); root = tree.getroot(); print(f\"{float(root.attrib['line-rate']) * 100:.0f}\")")
66
+ echo "coverage=$COVERAGE" >> $GITHUB_OUTPUT
67
+ echo "📈 Coverage: $COVERAGE%"
68
+
69
+ - name: Upload coverage to Codecov
70
+ uses: codecov/codecov-action@v4
71
+ with:
72
+ token: ${{ secrets.CODECOV_TOKEN }}
73
+ file: ./coverage.xml
74
+ flags: backend
75
+ name: backend-coverage
76
+ fail_ci_if_error: false
77
+
78
+ - name: Backend build check
79
+ run: |
80
+ export PATH="$HOME/.cargo/bin:$PATH"
81
+ uv build
82
+
83
+ # Frontend quality checks
84
+ frontend-quality:
85
+ name: Frontend Quality
86
+ runs-on: ubuntu-latest
87
+
88
+ steps:
89
+ - uses: actions/checkout@v4
90
+
91
+ - name: Set up Node.js
92
+ uses: actions/setup-node@v4
93
+ with:
94
+ node-version: '22'
95
+ cache: 'npm'
96
+ cache-dependency-path: src/flock/frontend/package-lock.json
97
+
98
+ - name: Install dependencies
99
+ working-directory: src/flock/frontend
100
+ run: npm ci
101
+
102
+ - name: Type check
103
+ working-directory: src/flock/frontend
104
+ run: npm run type-check
105
+
106
+ - name: Run tests
107
+ working-directory: src/flock/frontend
108
+ run: npm test
109
+
110
+ # Coverage disabled until vitest.config.ts is properly configured
111
+ # - name: Upload coverage to Codecov
112
+ # uses: codecov/codecov-action@v4
113
+ # with:
114
+ # file: ./frontend/coverage/coverage-final.json
115
+ # flags: frontend
116
+ # name: frontend-coverage
117
+
118
+ - name: Frontend build check
119
+ working-directory: src/flock/frontend
120
+ run: npm run build
121
+
122
+ # Security scanning
123
+ security-scan:
124
+ name: Security Scan
125
+ runs-on: ubuntu-latest
126
+
127
+ steps:
128
+ - uses: actions/checkout@v4
129
+
130
+ - name: Set up Python
131
+ uses: actions/setup-python@v5
132
+ with:
133
+ python-version: '3.12'
134
+
135
+ - name: Install UV
136
+ run: curl -LsSf https://astral.sh/uv/install.sh | sh
137
+
138
+ - name: Install dependencies
139
+ run: |
140
+ export PATH="$HOME/.cargo/bin:$PATH"
141
+ uv sync --dev --all-groups --all-extras
142
+
143
+ - name: Run Bandit security scan
144
+ run: |
145
+ export PATH="$HOME/.cargo/bin:$PATH"
146
+ uv run bandit -c pyproject.toml -r src/flock/ -ll