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.
- flock_core-0.5.311/.devcontainer/devcontainer.json +31 -0
- flock_core-0.5.311/.envtemplate +90 -0
- flock_core-0.5.311/.github/issue_draft_non_blocking_serve.md +205 -0
- flock_core-0.5.311/.github/workflows/deploy-documentation.yml +23 -0
- flock_core-0.5.311/.github/workflows/deploy-whiteduck-pypi.yml +50 -0
- flock_core-0.5.311/.github/workflows/quality.yml +146 -0
- flock_core-0.5.311/.gitignore +362 -0
- flock_core-0.5.311/.pre-commit-config.yaml +113 -0
- flock_core-0.5.311/.python-version +1 -0
- flock_core-0.5.311/.vscode/settings.json +77 -0
- flock_core-0.5.311/AGENTS.md +2052 -0
- flock_core-0.5.311/AUTO_TRACING.md +96 -0
- flock_core-0.5.311/CONTRIBUTING.md +721 -0
- flock_core-0.5.311/LICENSE +21 -0
- flock_core-0.5.311/PKG-INFO +1104 -0
- flock_core-0.5.311/README.md +1062 -0
- flock_core-0.5.311/ROADMAP.md +164 -0
- flock_core-0.5.311/USECASES.md +561 -0
- flock_core-0.5.311/docs/about/changelog.md +1449 -0
- flock_core-0.5.311/docs/about/contributing.md +580 -0
- flock_core-0.5.311/docs/about/roadmap.md +107 -0
- flock_core-0.5.311/docs/architecture.md +1016 -0
- flock_core-0.5.311/docs/assets/images/batch.png +0 -0
- flock_core-0.5.311/docs/assets/images/bug_diagnosis.png +0 -0
- flock_core-0.5.311/docs/assets/images/flock.png +0 -0
- flock_core-0.5.311/docs/assets/images/flock_ui_1.png +0 -0
- flock_core-0.5.311/docs/assets/images/flock_ui_agent_view.png +0 -0
- flock_core-0.5.311/docs/assets/images/flock_ui_blackboard_view.png +0 -0
- flock_core-0.5.311/docs/assets/images/join.png +0 -0
- flock_core-0.5.311/docs/assets/images/pattern2.png +0 -0
- flock_core-0.5.311/docs/assets/images/pizza.png +0 -0
- flock_core-0.5.311/docs/assets/images/trace_1.png +0 -0
- flock_core-0.5.311/docs/assets/images/trace_2.png +0 -0
- flock_core-0.5.311/docs/assets/images/trace_3.png +0 -0
- flock_core-0.5.311/docs/bugfixes/websocket-streaming-deadlock-fix.md +203 -0
- flock_core-0.5.311/docs/community/index.md +312 -0
- flock_core-0.5.311/docs/examples/index.md +344 -0
- flock_core-0.5.311/docs/getting-started/concepts.md +813 -0
- flock_core-0.5.311/docs/getting-started/index.md +133 -0
- flock_core-0.5.311/docs/getting-started/installation.md +138 -0
- flock_core-0.5.311/docs/getting-started/quick-start.md +596 -0
- flock_core-0.5.311/docs/guides/agents.md +989 -0
- flock_core-0.5.311/docs/guides/batch-processing.md +816 -0
- flock_core-0.5.311/docs/guides/blackboard.md +795 -0
- flock_core-0.5.311/docs/guides/components.md +676 -0
- flock_core-0.5.311/docs/guides/context-providers.md +1515 -0
- flock_core-0.5.311/docs/guides/dashboard.md +738 -0
- flock_core-0.5.311/docs/guides/dspy-engine.md +1247 -0
- flock_core-0.5.311/docs/guides/fan-out.md +1145 -0
- flock_core-0.5.311/docs/guides/index.md +209 -0
- flock_core-0.5.311/docs/guides/join-operations.md +786 -0
- flock_core-0.5.311/docs/guides/mcp-roots.md +416 -0
- flock_core-0.5.311/docs/guides/orchestrator-components.md +738 -0
- flock_core-0.5.311/docs/guides/patterns.md +1256 -0
- flock_core-0.5.311/docs/guides/persistent-blackboard.md +92 -0
- flock_core-0.5.311/docs/guides/predicates.md +626 -0
- flock_core-0.5.311/docs/guides/rest-api.md +630 -0
- flock_core-0.5.311/docs/guides/scheduling.md +891 -0
- flock_core-0.5.311/docs/guides/semantic-subscriptions.md +702 -0
- flock_core-0.5.311/docs/guides/server-components.md +619 -0
- flock_core-0.5.311/docs/guides/server_components/agents-component.md +158 -0
- flock_core-0.5.311/docs/guides/server_components/artifacts-component.md +176 -0
- flock_core-0.5.311/docs/guides/server_components/authentication-component.md +529 -0
- flock_core-0.5.311/docs/guides/server_components/control-routes-component.md +173 -0
- flock_core-0.5.311/docs/guides/server_components/cors-component.md +459 -0
- flock_core-0.5.311/docs/guides/server_components/custom-components.md +672 -0
- flock_core-0.5.311/docs/guides/server_components/health-component.md +331 -0
- flock_core-0.5.311/docs/guides/server_components/middleware-component.md +395 -0
- flock_core-0.5.311/docs/guides/server_components/static-files-component.md +152 -0
- flock_core-0.5.311/docs/guides/server_components/themes-component.md +187 -0
- flock_core-0.5.311/docs/guides/server_components/tracing-component.md +194 -0
- flock_core-0.5.311/docs/guides/server_components/websocket-component.md +478 -0
- flock_core-0.5.311/docs/guides/testing.md +709 -0
- flock_core-0.5.311/docs/guides/tracing/auto-tracing.md +529 -0
- flock_core-0.5.311/docs/guides/tracing/how_to_use_tracing_effectively.md +1402 -0
- flock_core-0.5.311/docs/guides/tracing/index.md +506 -0
- flock_core-0.5.311/docs/guides/tracing/trace-module.md +379 -0
- flock_core-0.5.311/docs/guides/tracing/tracing-production.md +986 -0
- flock_core-0.5.311/docs/guides/tracing/tracing-quickstart.md +144 -0
- flock_core-0.5.311/docs/guides/tracing/unified-tracing.md +374 -0
- flock_core-0.5.311/docs/guides/use-cases.md +561 -0
- flock_core-0.5.311/docs/guides/visibility.md +890 -0
- flock_core-0.5.311/docs/guides/webhooks.md +225 -0
- flock_core-0.5.311/docs/guides/workflow-control.md +326 -0
- flock_core-0.5.311/docs/index.md +150 -0
- flock_core-0.5.311/docs/javascripts/extra.js +377 -0
- flock_core-0.5.311/docs/patterns/async_patterns.md +802 -0
- flock_core-0.5.311/docs/patterns/error_handling.md +521 -0
- flock_core-0.5.311/docs/patterns/server_component_architecture.md +430 -0
- flock_core-0.5.311/docs/patterns/server_component_benefits.md +334 -0
- flock_core-0.5.311/docs/reference/api.md +8 -0
- flock_core-0.5.311/docs/reference/configuration.md +67 -0
- flock_core-0.5.311/docs/reference/index.md +335 -0
- flock_core-0.5.311/docs/specs/001-sync-idempotent-rest/implementation-plan.md +256 -0
- flock_core-0.5.311/docs/specs/001-sync-idempotent-rest/product-requirements.md +83 -0
- flock_core-0.5.311/docs/specs/001-sync-idempotent-rest/solution-design.md +223 -0
- flock_core-0.5.311/docs/specs/002-webhook-notifications/implementation-plan.md +289 -0
- flock_core-0.5.311/docs/specs/002-webhook-notifications/product-requirements.md +87 -0
- flock_core-0.5.311/docs/specs/002-webhook-notifications/solution-design.md +249 -0
- flock_core-0.5.311/docs/specs/003-until-conditions-dsl/implementation-plan.md +359 -0
- flock_core-0.5.311/docs/specs/003-until-conditions-dsl/product-requirements.md +143 -0
- flock_core-0.5.311/docs/specs/003-until-conditions-dsl/solution-design.md +431 -0
- flock_core-0.5.311/docs/stylesheets/extra.css +536 -0
- flock_core-0.5.311/docs/tags.md +42 -0
- flock_core-0.5.311/docs/troubleshooting/streaming-freeze-fix.md +169 -0
- flock_core-0.5.311/docs/troubleshooting/streaming-freeze-with-dashboard-fix.md +50 -0
- flock_core-0.5.311/docs/tutorials/advanced-patterns.md +436 -0
- flock_core-0.5.311/docs/tutorials/conditional-routing.md +333 -0
- flock_core-0.5.311/docs/tutorials/connect_with_ollama.md +255 -0
- flock_core-0.5.311/docs/tutorials/custom-agent-components.md +114 -0
- flock_core-0.5.311/docs/tutorials/custom-engines.md +109 -0
- flock_core-0.5.311/docs/tutorials/index.md +195 -0
- flock_core-0.5.311/docs/tutorials/multi-agent-workflow.md +382 -0
- flock_core-0.5.311/docs/tutorials/scheduled-agents.md +1061 -0
- flock_core-0.5.311/docs/tutorials/semantic-routing.md +390 -0
- flock_core-0.5.311/docs/tutorials/your-first-agent.md +227 -0
- flock_core-0.5.311/docs/whiteducksoftware/versions.json +7 -0
- flock_core-0.5.311/examples/01-getting-started/01_declarative_pizza.py +84 -0
- flock_core-0.5.311/examples/01-getting-started/02_input_and_output.py +83 -0
- flock_core-0.5.311/examples/01-getting-started/03_code_detective.py +117 -0
- flock_core-0.5.311/examples/01-getting-started/04_movie_generation.py +112 -0
- flock_core-0.5.311/examples/01-getting-started/05_mcp_and_tools.py +168 -0
- flock_core-0.5.311/examples/01-getting-started/06_mcp_roots.py +144 -0
- flock_core-0.5.311/examples/01-getting-started/07_web_detective.py +148 -0
- flock_core-0.5.311/examples/01-getting-started/08_band_formation.py +119 -0
- flock_core-0.5.311/examples/01-getting-started/09_debate_club.py +136 -0
- flock_core-0.5.311/examples/01-getting-started/09_webhook_notifications.py +166 -0
- flock_core-0.5.311/examples/01-getting-started/10_news_agency.py +127 -0
- flock_core-0.5.311/examples/01-getting-started/11_tracing_detective.py +120 -0
- flock_core-0.5.311/examples/01-getting-started/12_secret_agents.py +127 -0
- flock_core-0.5.311/examples/01-getting-started/13_medical_diagnostics_joinspec.py +178 -0
- flock_core-0.5.311/examples/01-getting-started/14_ecommerce_batch_processing.py +167 -0
- flock_core-0.5.311/examples/01-getting-started/15_iot_sensor_batching.py +210 -0
- flock_core-0.5.311/examples/01-getting-started/16_news_batching.py +157 -0
- flock_core-0.5.311/examples/01-getting-started/17_workflow_conditions.py +255 -0
- flock_core-0.5.311/examples/01-getting-started/18_activation_conditions.py +298 -0
- flock_core-0.5.311/examples/01-getting-started/README.md +167 -0
- flock_core-0.5.311/examples/02-patterns/README.md +176 -0
- flock_core-0.5.311/examples/02-patterns/complex-patterns/01_fan_out_selection.py +434 -0
- flock_core-0.5.311/examples/02-patterns/complex-patterns/README.md +34 -0
- flock_core-0.5.311/examples/02-patterns/publish/01-single_publish.py +44 -0
- flock_core-0.5.311/examples/02-patterns/publish/02-multi_publish.py +66 -0
- flock_core-0.5.311/examples/02-patterns/publish/03-multi-artifact-multi-publish.py +68 -0
- flock_core-0.5.311/examples/02-patterns/publish/04-fan-out.py +38 -0
- flock_core-0.5.311/examples/02-patterns/publish/05-multi-fan-out.py +84 -0
- flock_core-0.5.311/examples/02-patterns/publish/06_dynamic_fan_out.py +138 -0
- flock_core-0.5.311/examples/02-patterns/publish/07_dynamic_fan_out_with_filter.py +69 -0
- flock_core-0.5.311/examples/02-patterns/visibility/01_basic_visibility.py +146 -0
- flock_core-0.5.311/examples/03-hackathon/01_basic_agent.py +255 -0
- flock_core-0.5.311/examples/03-hackathon/02_multi_agent_chain.py +323 -0
- flock_core-0.5.311/examples/03-hackathon/03_conditional_consumption.py +326 -0
- flock_core-0.5.311/examples/03-hackathon/04_fan_out_publishing.py +285 -0
- flock_core-0.5.311/examples/03-hackathon/05_semantic_subscriptions.py +356 -0
- flock_core-0.5.311/examples/03-hackathon/06_timer_scheduling.py +303 -0
- flock_core-0.5.311/examples/03-hackathon/07_joinspec_correlation.py +405 -0
- flock_core-0.5.311/examples/03-hackathon/08_custom_engines.py +390 -0
- flock_core-0.5.311/examples/03-hackathon/09_mcp_web_researcher.py +355 -0
- flock_core-0.5.311/examples/03-hackathon/10_mcp_filesystem_roots.py +314 -0
- flock_core-0.5.311/examples/03-hackathon/11_agent_components_news_batching.py +450 -0
- flock_core-0.5.311/examples/03-hackathon/FLOCK_BASICS.md +398 -0
- flock_core-0.5.311/examples/03-hackathon/README.md +200 -0
- flock_core-0.5.311/examples/04-misc/01_persistent_pizza.py +128 -0
- flock_core-0.5.311/examples/04-misc/02-dashboard-edge-cases.py +95 -0
- flock_core-0.5.311/examples/04-misc/03-scale-test-100-agents.py +130 -0
- flock_core-0.5.311/examples/04-misc/04_persistent_pizza_dashboard.py +108 -0
- flock_core-0.5.311/examples/04-misc/05_lm_studio.py +35 -0
- flock_core-0.5.311/examples/04-misc/06_prd.py +613 -0
- flock_core-0.5.311/examples/04-misc/07_logging.py +57 -0
- flock_core-0.5.311/examples/04-misc/08_local_transformers.py +76 -0
- flock_core-0.5.311/examples/04-misc/README.md +343 -0
- flock_core-0.5.311/examples/05-engines/01_adapter_comparison.py +164 -0
- flock_core-0.5.311/examples/05-engines/02_json_adapter_mcp_tools.py +120 -0
- flock_core-0.5.311/examples/05-engines/README.md +386 -0
- flock_core-0.5.311/examples/05-engines/emoji_mood_engine.py +139 -0
- flock_core-0.5.311/examples/05-engines/potion_batch_engine.py +161 -0
- flock_core-0.5.311/examples/06-agent-components/README.md +370 -0
- flock_core-0.5.311/examples/06-agent-components/cheer_meter_component.py +118 -0
- flock_core-0.5.311/examples/06-agent-components/plot_twist_component.py +138 -0
- flock_core-0.5.311/examples/07-orchestrator-components/README.md +459 -0
- flock_core-0.5.311/examples/07-orchestrator-components/kitchen_monitor_component.py +209 -0
- flock_core-0.5.311/examples/07-orchestrator-components/quest_tracker_component.py +175 -0
- flock_core-0.5.311/examples/08-semantic/00_verify_semantic_features.py +88 -0
- flock_core-0.5.311/examples/08-semantic/01_intelligent_ticket_routing.py +196 -0
- flock_core-0.5.311/examples/08-semantic/02_multi_criteria_filtering.py +241 -0
- flock_core-0.5.311/examples/08-semantic/README.md +166 -0
- flock_core-0.5.311/examples/09-server-components/01_authentication_component.py +373 -0
- flock_core-0.5.311/examples/09-server-components/02_cors_component.py +262 -0
- flock_core-0.5.311/examples/09-server-components/03_middleware_component.py +156 -0
- flock_core-0.5.311/examples/09-server-components/04_health_component.py +136 -0
- flock_core-0.5.311/examples/09-server-components/05_websocket_component.py +148 -0
- flock_core-0.5.311/examples/09-server-components/06_artifacts_component.py +154 -0
- flock_core-0.5.311/examples/09-server-components/07_agents_component.py +210 -0
- flock_core-0.5.311/examples/09-server-components/08_control_routes_component.py +175 -0
- flock_core-0.5.311/examples/09-server-components/09_static_files_component.py +260 -0
- flock_core-0.5.311/examples/09-server-components/10_themes_component.py +145 -0
- flock_core-0.5.311/examples/09-server-components/11_tracing_component.py +193 -0
- flock_core-0.5.311/examples/09-server-components/12_complete_composition.py +338 -0
- flock_core-0.5.311/examples/09-server-components/README.md +286 -0
- flock_core-0.5.311/examples/10-scheduling/01_simple_health_monitor.py +123 -0
- flock_core-0.5.311/examples/10-scheduling/02_error_log_analyzer.py +142 -0
- flock_core-0.5.311/examples/10-scheduling/03_daily_report_generator.py +121 -0
- flock_core-0.5.311/examples/10-scheduling/04_batch_data_processor.py +107 -0
- flock_core-0.5.311/examples/10-scheduling/05_one_time_reminder.py +110 -0
- flock_core-0.5.311/examples/10-scheduling/06_cron_demo.py +54 -0
- flock_core-0.5.311/examples/10-scheduling/README.md +447 -0
- flock_core-0.5.311/examples/app-sketches/github-project-starter/main.py +121 -0
- flock_core-0.5.311/examples/app-sketches/self-improving-workflow/ARCHITECTURE.md +533 -0
- flock_core-0.5.311/examples/app-sketches/self-improving-workflow/CODE_SNIPPETS.md +801 -0
- flock_core-0.5.311/examples/app-sketches/self-improving-workflow/IMPLEMENTATION_PLAN.md +959 -0
- flock_core-0.5.311/examples/app-sketches/self-improving-workflow/QUICK_START.md +184 -0
- flock_core-0.5.311/examples/app-sketches/self-improving-workflow/README.md +129 -0
- flock_core-0.5.311/examples/app-sketches/self-improving-workflow/examples/01_basic_workflow.py +108 -0
- flock_core-0.5.311/examples/app-sketches/self-improving-workflow/examples/README.md +49 -0
- flock_core-0.5.311/examples/app-sketches/z-explorer/main.py +37 -0
- flock_core-0.5.311/mkdocs.yml +267 -0
- flock_core-0.5.311/pyproject.toml +231 -0
- flock_core-0.5.311/requirements.txt +54 -0
- flock_core-0.5.311/scripts/build_dashboard.py +67 -0
- flock_core-0.5.311/scripts/bump_version.py +362 -0
- flock_core-0.5.311/scripts/check_version_bump.py +178 -0
- flock_core-0.5.311/scripts/ensure_uv.py +25 -0
- flock_core-0.5.311/scripts/gen_ref_pages.py +184 -0
- flock_core-0.5.311/scripts/generate_llm_codebase.py +447 -0
- flock_core-0.5.311/scripts/phase8_file_moves.sh +54 -0
- flock_core-0.5.311/scripts/update_imports.py +108 -0
- flock_core-0.5.311/src/flock/__init__.py +42 -0
- flock_core-0.5.311/src/flock/agent/__init__.py +30 -0
- flock_core-0.5.311/src/flock/agent/builder_helpers.py +192 -0
- flock_core-0.5.311/src/flock/agent/builder_validator.py +169 -0
- flock_core-0.5.311/src/flock/agent/component_lifecycle.py +324 -0
- flock_core-0.5.311/src/flock/agent/context_resolver.py +140 -0
- flock_core-0.5.311/src/flock/agent/mcp_integration.py +193 -0
- flock_core-0.5.311/src/flock/agent/mcp_server_config.py +35 -0
- flock_core-0.5.311/src/flock/agent/output_processor.py +337 -0
- flock_core-0.5.311/src/flock/api/__init__.py +10 -0
- flock_core-0.5.311/src/flock/api/base_service.py +220 -0
- flock_core-0.5.311/src/flock/api/collector.py +584 -0
- flock_core-0.5.311/src/flock/api/graph_builder.py +940 -0
- flock_core-0.5.311/src/flock/api/idempotency.py +166 -0
- flock_core-0.5.311/src/flock/api/launcher.py +237 -0
- flock_core-0.5.311/src/flock/api/models.py +408 -0
- flock_core-0.5.311/src/flock/api/service.py +521 -0
- flock_core-0.5.311/src/flock/api/static_files/assets/index-DFRnI_mt.js +111 -0
- flock_core-0.5.311/src/flock/api/static_files/assets/index-fPLNdmp1.css +1 -0
- flock_core-0.5.311/src/flock/api/static_files/index.html +13 -0
- flock_core-0.5.311/src/flock/api/themes.py +95 -0
- flock_core-0.5.311/src/flock/api/webhooks.py +208 -0
- flock_core-0.5.311/src/flock/api/websocket.py +379 -0
- flock_core-0.5.311/src/flock/cli.py +160 -0
- flock_core-0.5.311/src/flock/components/__init__.py +103 -0
- flock_core-0.5.311/src/flock/components/agent/__init__.py +22 -0
- flock_core-0.5.311/src/flock/components/agent/base.py +223 -0
- flock_core-0.5.311/src/flock/components/agent/output_utility.py +256 -0
- flock_core-0.5.311/src/flock/components/orchestrator/__init__.py +26 -0
- flock_core-0.5.311/src/flock/components/orchestrator/activation.py +217 -0
- flock_core-0.5.311/src/flock/components/orchestrator/base.py +408 -0
- flock_core-0.5.311/src/flock/components/orchestrator/circuit_breaker.py +95 -0
- flock_core-0.5.311/src/flock/components/orchestrator/collection.py +143 -0
- flock_core-0.5.311/src/flock/components/orchestrator/deduplication.py +78 -0
- flock_core-0.5.311/src/flock/components/orchestrator/scheduling/__init__.py +6 -0
- flock_core-0.5.311/src/flock/components/orchestrator/scheduling/timer.py +432 -0
- flock_core-0.5.311/src/flock/components/orchestrator/webhook.py +164 -0
- flock_core-0.5.311/src/flock/components/server/__init__.py +155 -0
- flock_core-0.5.311/src/flock/components/server/agents/__init__.py +12 -0
- flock_core-0.5.311/src/flock/components/server/agents/agents_component.py +221 -0
- flock_core-0.5.311/src/flock/components/server/artifacts/__init__.py +32 -0
- flock_core-0.5.311/src/flock/components/server/artifacts/artifacts_component.py +208 -0
- flock_core-0.5.311/src/flock/components/server/artifacts/models.py +97 -0
- flock_core-0.5.311/src/flock/components/server/auth/__init__.py +14 -0
- flock_core-0.5.311/src/flock/components/server/auth/auth_component.py +315 -0
- flock_core-0.5.311/src/flock/components/server/base.py +192 -0
- flock_core-0.5.311/src/flock/components/server/control/__init__.py +9 -0
- flock_core-0.5.311/src/flock/components/server/control/control_routes_component.py +409 -0
- flock_core-0.5.311/src/flock/components/server/control/helpers.py +341 -0
- flock_core-0.5.311/src/flock/components/server/cors/__init__.py +14 -0
- flock_core-0.5.311/src/flock/components/server/cors/cors_component.py +237 -0
- flock_core-0.5.311/src/flock/components/server/health/__init__.py +14 -0
- flock_core-0.5.311/src/flock/components/server/health/health_component.py +68 -0
- flock_core-0.5.311/src/flock/components/server/health/models.py +9 -0
- flock_core-0.5.311/src/flock/components/server/middleware/__init__.py +14 -0
- flock_core-0.5.311/src/flock/components/server/middleware/middleware_component.py +254 -0
- flock_core-0.5.311/src/flock/components/server/models/__init__.py +79 -0
- flock_core-0.5.311/src/flock/components/server/models/events.py +268 -0
- flock_core-0.5.311/src/flock/components/server/models/graph.py +164 -0
- flock_core-0.5.311/src/flock/components/server/models/models.py +114 -0
- flock_core-0.5.311/src/flock/components/server/static_files/__init__.py +12 -0
- flock_core-0.5.311/src/flock/components/server/static_files/static_files.py +69 -0
- flock_core-0.5.311/src/flock/components/server/themes/__init__.py +9 -0
- flock_core-0.5.311/src/flock/components/server/themes/themes_component.py +120 -0
- flock_core-0.5.311/src/flock/components/server/traces/__init__.py +12 -0
- flock_core-0.5.311/src/flock/components/server/traces/trace_component.py +608 -0
- flock_core-0.5.311/src/flock/components/server/websocket/__init__.py +12 -0
- flock_core-0.5.311/src/flock/components/server/websocket/websocket_component.py +122 -0
- flock_core-0.5.311/src/flock/core/__init__.py +34 -0
- flock_core-0.5.311/src/flock/core/agent.py +1079 -0
- flock_core-0.5.311/src/flock/core/artifacts.py +86 -0
- flock_core-0.5.311/src/flock/core/conditions.py +891 -0
- flock_core-0.5.311/src/flock/core/context_provider.py +531 -0
- flock_core-0.5.311/src/flock/core/fan_out.py +76 -0
- flock_core-0.5.311/src/flock/core/orchestrator.py +1389 -0
- flock_core-0.5.311/src/flock/core/store.py +912 -0
- flock_core-0.5.311/src/flock/core/subscription.py +394 -0
- flock_core-0.5.311/src/flock/core/visibility.py +107 -0
- flock_core-0.5.311/src/flock/engines/__init__.py +20 -0
- flock_core-0.5.311/src/flock/engines/dspy/__init__.py +20 -0
- flock_core-0.5.311/src/flock/engines/dspy/adapter/__init__.py +19 -0
- flock_core-0.5.311/src/flock/engines/dspy/artifact_materializer.py +271 -0
- flock_core-0.5.311/src/flock/engines/dspy/signature_builder.py +489 -0
- flock_core-0.5.311/src/flock/engines/dspy/streaming_executor.py +814 -0
- flock_core-0.5.311/src/flock/engines/dspy_engine.py +525 -0
- flock_core-0.5.311/src/flock/engines/examples/__init__.py +6 -0
- flock_core-0.5.311/src/flock/engines/examples/simple_batch_engine.py +83 -0
- flock_core-0.5.311/src/flock/engines/providers/__init__.py +12 -0
- flock_core-0.5.311/src/flock/engines/providers/transformers_provider.py +508 -0
- flock_core-0.5.311/src/flock/engines/streaming/__init__.py +3 -0
- flock_core-0.5.311/src/flock/engines/streaming/sinks.py +489 -0
- flock_core-0.5.311/src/flock/examples.py +135 -0
- flock_core-0.5.311/src/flock/frontend/README.md +787 -0
- flock_core-0.5.311/src/flock/frontend/docs/DESIGN_SYSTEM.md +1980 -0
- flock_core-0.5.311/src/flock/frontend/index.html +12 -0
- flock_core-0.5.311/src/flock/frontend/package-lock.json +4337 -0
- flock_core-0.5.311/src/flock/frontend/package.json +48 -0
- flock_core-0.5.311/src/flock/frontend/src/App.tsx +174 -0
- flock_core-0.5.311/src/flock/frontend/src/__tests__/integration/graph-snapshot.test.tsx +647 -0
- flock_core-0.5.311/src/flock/frontend/src/__tests__/integration/indexeddb-persistence.test.tsx +699 -0
- flock_core-0.5.311/src/flock/frontend/src/components/common/BuildInfo.tsx +39 -0
- flock_core-0.5.311/src/flock/frontend/src/components/common/EmptyState.module.css +115 -0
- flock_core-0.5.311/src/flock/frontend/src/components/common/EmptyState.tsx +128 -0
- flock_core-0.5.311/src/flock/frontend/src/components/common/ErrorBoundary.module.css +169 -0
- flock_core-0.5.311/src/flock/frontend/src/components/common/ErrorBoundary.tsx +118 -0
- flock_core-0.5.311/src/flock/frontend/src/components/common/KeyboardShortcutsDialog.css +251 -0
- flock_core-0.5.311/src/flock/frontend/src/components/common/KeyboardShortcutsDialog.tsx +151 -0
- flock_core-0.5.311/src/flock/frontend/src/components/common/LoadingSpinner.module.css +97 -0
- flock_core-0.5.311/src/flock/frontend/src/components/common/LoadingSpinner.tsx +29 -0
- flock_core-0.5.311/src/flock/frontend/src/components/controls/PublishControl.css +547 -0
- flock_core-0.5.311/src/flock/frontend/src/components/controls/PublishControl.test.tsx +538 -0
- flock_core-0.5.311/src/flock/frontend/src/components/controls/PublishControl.tsx +564 -0
- flock_core-0.5.311/src/flock/frontend/src/components/details/DetailWindowContainer.tsx +58 -0
- flock_core-0.5.311/src/flock/frontend/src/components/details/LiveOutputTab.test.tsx +792 -0
- flock_core-0.5.311/src/flock/frontend/src/components/details/LiveOutputTab.tsx +220 -0
- flock_core-0.5.311/src/flock/frontend/src/components/details/MessageDetailWindow.tsx +439 -0
- flock_core-0.5.311/src/flock/frontend/src/components/details/MessageHistoryTab.tsx +374 -0
- flock_core-0.5.311/src/flock/frontend/src/components/details/NodeDetailWindow.test.tsx +501 -0
- flock_core-0.5.311/src/flock/frontend/src/components/details/NodeDetailWindow.tsx +218 -0
- flock_core-0.5.311/src/flock/frontend/src/components/details/RunStatusTab.tsx +348 -0
- flock_core-0.5.311/src/flock/frontend/src/components/details/tabs.test.tsx +1015 -0
- flock_core-0.5.311/src/flock/frontend/src/components/filters/ArtifactTypeFilter.tsx +21 -0
- flock_core-0.5.311/src/flock/frontend/src/components/filters/CorrelationIDFilter.module.css +102 -0
- flock_core-0.5.311/src/flock/frontend/src/components/filters/CorrelationIDFilter.test.tsx +197 -0
- flock_core-0.5.311/src/flock/frontend/src/components/filters/CorrelationIDFilter.tsx +121 -0
- flock_core-0.5.311/src/flock/frontend/src/components/filters/FilterFlyout.module.css +104 -0
- flock_core-0.5.311/src/flock/frontend/src/components/filters/FilterFlyout.tsx +80 -0
- flock_core-0.5.311/src/flock/frontend/src/components/filters/FilterPills.module.css +220 -0
- flock_core-0.5.311/src/flock/frontend/src/components/filters/FilterPills.test.tsx +189 -0
- flock_core-0.5.311/src/flock/frontend/src/components/filters/FilterPills.tsx +143 -0
- flock_core-0.5.311/src/flock/frontend/src/components/filters/ProducerFilter.tsx +21 -0
- flock_core-0.5.311/src/flock/frontend/src/components/filters/SavedFiltersControl.module.css +60 -0
- flock_core-0.5.311/src/flock/frontend/src/components/filters/SavedFiltersControl.test.tsx +158 -0
- flock_core-0.5.311/src/flock/frontend/src/components/filters/SavedFiltersControl.tsx +159 -0
- flock_core-0.5.311/src/flock/frontend/src/components/filters/TagFilter.tsx +21 -0
- flock_core-0.5.311/src/flock/frontend/src/components/filters/TimeRangeFilter.module.css +115 -0
- flock_core-0.5.311/src/flock/frontend/src/components/filters/TimeRangeFilter.test.tsx +154 -0
- flock_core-0.5.311/src/flock/frontend/src/components/filters/TimeRangeFilter.tsx +110 -0
- flock_core-0.5.311/src/flock/frontend/src/components/filters/VisibilityFilter.tsx +21 -0
- flock_core-0.5.311/src/flock/frontend/src/components/graph/AgentNode.test.tsx +77 -0
- flock_core-0.5.311/src/flock/frontend/src/components/graph/AgentNode.tsx +389 -0
- flock_core-0.5.311/src/flock/frontend/src/components/graph/GraphCanvas.tsx +617 -0
- flock_core-0.5.311/src/flock/frontend/src/components/graph/LogicOperationsDisplay.tsx +463 -0
- flock_core-0.5.311/src/flock/frontend/src/components/graph/MessageFlowEdge.tsx +128 -0
- flock_core-0.5.311/src/flock/frontend/src/components/graph/MessageNode.test.tsx +64 -0
- flock_core-0.5.311/src/flock/frontend/src/components/graph/MessageNode.tsx +129 -0
- flock_core-0.5.311/src/flock/frontend/src/components/graph/MiniMap.tsx +47 -0
- flock_core-0.5.311/src/flock/frontend/src/components/graph/PendingBatchEdge.tsx +141 -0
- flock_core-0.5.311/src/flock/frontend/src/components/graph/PendingJoinEdge.tsx +144 -0
- flock_core-0.5.311/src/flock/frontend/src/components/graph/ScheduledAgentDisplay.test.tsx +476 -0
- flock_core-0.5.311/src/flock/frontend/src/components/graph/ScheduledAgentDisplay.tsx +265 -0
- flock_core-0.5.311/src/flock/frontend/src/components/graph/TransformEdge.tsx +123 -0
- flock_core-0.5.311/src/flock/frontend/src/components/layout/DashboardLayout.css +420 -0
- flock_core-0.5.311/src/flock/frontend/src/components/layout/DashboardLayout.tsx +287 -0
- flock_core-0.5.311/src/flock/frontend/src/components/layout/Header.module.css +88 -0
- flock_core-0.5.311/src/flock/frontend/src/components/layout/Header.tsx +52 -0
- flock_core-0.5.311/src/flock/frontend/src/components/modules/HistoricalArtifactsModule.module.css +288 -0
- flock_core-0.5.311/src/flock/frontend/src/components/modules/HistoricalArtifactsModule.tsx +450 -0
- flock_core-0.5.311/src/flock/frontend/src/components/modules/HistoricalArtifactsModuleWrapper.tsx +13 -0
- flock_core-0.5.311/src/flock/frontend/src/components/modules/JsonAttributeRenderer.tsx +140 -0
- flock_core-0.5.311/src/flock/frontend/src/components/modules/ModuleRegistry.test.ts +333 -0
- flock_core-0.5.311/src/flock/frontend/src/components/modules/ModuleRegistry.ts +93 -0
- flock_core-0.5.311/src/flock/frontend/src/components/modules/ModuleWindow.tsx +223 -0
- flock_core-0.5.311/src/flock/frontend/src/components/modules/TraceModuleJaeger.tsx +1971 -0
- flock_core-0.5.311/src/flock/frontend/src/components/modules/TraceModuleJaegerWrapper.tsx +13 -0
- flock_core-0.5.311/src/flock/frontend/src/components/modules/registerModules.ts +29 -0
- flock_core-0.5.311/src/flock/frontend/src/components/settings/AdvancedSettings.tsx +175 -0
- flock_core-0.5.311/src/flock/frontend/src/components/settings/AppearanceSettings.tsx +185 -0
- flock_core-0.5.311/src/flock/frontend/src/components/settings/GraphSettings.tsx +110 -0
- flock_core-0.5.311/src/flock/frontend/src/components/settings/MultiSelect.tsx +235 -0
- flock_core-0.5.311/src/flock/frontend/src/components/settings/SettingsPanel.css +327 -0
- flock_core-0.5.311/src/flock/frontend/src/components/settings/SettingsPanel.tsx +131 -0
- flock_core-0.5.311/src/flock/frontend/src/components/settings/ThemeSelector.tsx +298 -0
- flock_core-0.5.311/src/flock/frontend/src/components/settings/TracingSettings.tsx +404 -0
- flock_core-0.5.311/src/flock/frontend/src/hooks/useKeyboardShortcuts.ts +148 -0
- flock_core-0.5.311/src/flock/frontend/src/hooks/useModulePersistence.test.ts +442 -0
- flock_core-0.5.311/src/flock/frontend/src/hooks/useModulePersistence.ts +154 -0
- flock_core-0.5.311/src/flock/frontend/src/hooks/useModules.ts +157 -0
- flock_core-0.5.311/src/flock/frontend/src/hooks/usePersistence.ts +141 -0
- flock_core-0.5.311/src/flock/frontend/src/main.tsx +13 -0
- flock_core-0.5.311/src/flock/frontend/src/services/api.ts +337 -0
- flock_core-0.5.311/src/flock/frontend/src/services/graphService.test.ts +330 -0
- flock_core-0.5.311/src/flock/frontend/src/services/graphService.ts +77 -0
- flock_core-0.5.311/src/flock/frontend/src/services/indexeddb.test.ts +793 -0
- flock_core-0.5.311/src/flock/frontend/src/services/indexeddb.ts +848 -0
- flock_core-0.5.311/src/flock/frontend/src/services/layout.test.ts +437 -0
- flock_core-0.5.311/src/flock/frontend/src/services/layout.ts +357 -0
- flock_core-0.5.311/src/flock/frontend/src/services/themeApplicator.ts +140 -0
- flock_core-0.5.311/src/flock/frontend/src/services/themeService.ts +77 -0
- flock_core-0.5.311/src/flock/frontend/src/services/websocket.ts +748 -0
- flock_core-0.5.311/src/flock/frontend/src/store/filterStore.test.ts +250 -0
- flock_core-0.5.311/src/flock/frontend/src/store/filterStore.ts +272 -0
- flock_core-0.5.311/src/flock/frontend/src/store/graphStore.test.ts +571 -0
- flock_core-0.5.311/src/flock/frontend/src/store/graphStore.ts +493 -0
- flock_core-0.5.311/src/flock/frontend/src/store/moduleStore.test.ts +253 -0
- flock_core-0.5.311/src/flock/frontend/src/store/moduleStore.ts +75 -0
- flock_core-0.5.311/src/flock/frontend/src/store/settingsStore.ts +188 -0
- flock_core-0.5.311/src/flock/frontend/src/store/streamStore.ts +68 -0
- flock_core-0.5.311/src/flock/frontend/src/store/uiStore.test.ts +54 -0
- flock_core-0.5.311/src/flock/frontend/src/store/uiStore.ts +122 -0
- flock_core-0.5.311/src/flock/frontend/src/store/wsStore.ts +34 -0
- flock_core-0.5.311/src/flock/frontend/src/styles/index.css +15 -0
- flock_core-0.5.311/src/flock/frontend/src/styles/scrollbar.css +47 -0
- flock_core-0.5.311/src/flock/frontend/src/styles/variables.css +488 -0
- flock_core-0.5.311/src/flock/frontend/src/test/setup.ts +1 -0
- flock_core-0.5.311/src/flock/frontend/src/types/filters.ts +47 -0
- flock_core-0.5.311/src/flock/frontend/src/types/graph.ts +201 -0
- flock_core-0.5.311/src/flock/frontend/src/types/modules.ts +10 -0
- flock_core-0.5.311/src/flock/frontend/src/types/theme.ts +55 -0
- flock_core-0.5.311/src/flock/frontend/src/utils/artifacts.ts +24 -0
- flock_core-0.5.311/src/flock/frontend/src/utils/mockData.ts +98 -0
- flock_core-0.5.311/src/flock/frontend/src/utils/performance.ts +16 -0
- flock_core-0.5.311/src/flock/frontend/src/vite-env.d.ts +17 -0
- flock_core-0.5.311/src/flock/frontend/tsconfig.json +27 -0
- flock_core-0.5.311/src/flock/frontend/tsconfig.node.json +11 -0
- flock_core-0.5.311/src/flock/frontend/vite.config.ts +25 -0
- flock_core-0.5.311/src/flock/frontend/vitest.config.ts +11 -0
- flock_core-0.5.311/src/flock/logging/__init__.py +11 -0
- flock_core-0.5.311/src/flock/logging/auto_trace.py +164 -0
- flock_core-0.5.311/src/flock/logging/formatters/enum_builder.py +39 -0
- flock_core-0.5.311/src/flock/logging/formatters/theme_builder.py +466 -0
- flock_core-0.5.311/src/flock/logging/formatters/themed_formatter.py +526 -0
- flock_core-0.5.311/src/flock/logging/formatters/themes.py +340 -0
- flock_core-0.5.311/src/flock/logging/logging.py +576 -0
- flock_core-0.5.311/src/flock/logging/span_middleware/baggage_span_processor.py +31 -0
- flock_core-0.5.311/src/flock/logging/telemetry.py +216 -0
- flock_core-0.5.311/src/flock/logging/telemetry_exporter/base_exporter.py +38 -0
- flock_core-0.5.311/src/flock/logging/telemetry_exporter/duckdb_exporter.py +218 -0
- flock_core-0.5.311/src/flock/logging/telemetry_exporter/file_exporter.py +88 -0
- flock_core-0.5.311/src/flock/logging/telemetry_exporter/sqlite_exporter.py +102 -0
- flock_core-0.5.311/src/flock/logging/trace_and_logged.py +313 -0
- flock_core-0.5.311/src/flock/mcp/__init__.py +88 -0
- flock_core-0.5.311/src/flock/mcp/client.py +726 -0
- flock_core-0.5.311/src/flock/mcp/config.py +432 -0
- flock_core-0.5.311/src/flock/mcp/manager.py +298 -0
- flock_core-0.5.311/src/flock/mcp/servers/sse/__init__.py +1 -0
- flock_core-0.5.311/src/flock/mcp/servers/sse/flock_sse_server.py +110 -0
- flock_core-0.5.311/src/flock/mcp/servers/stdio/__init__.py +1 -0
- flock_core-0.5.311/src/flock/mcp/servers/stdio/flock_stdio_server.py +98 -0
- flock_core-0.5.311/src/flock/mcp/servers/streamable_http/__init__.py +0 -0
- flock_core-0.5.311/src/flock/mcp/servers/streamable_http/flock_streamable_http_server.py +128 -0
- flock_core-0.5.311/src/flock/mcp/servers/websockets/__init__.py +1 -0
- flock_core-0.5.311/src/flock/mcp/servers/websockets/flock_websocket_server.py +86 -0
- flock_core-0.5.311/src/flock/mcp/tool.py +186 -0
- flock_core-0.5.311/src/flock/mcp/types/__init__.py +42 -0
- flock_core-0.5.311/src/flock/mcp/types/callbacks.py +81 -0
- flock_core-0.5.311/src/flock/mcp/types/factories.py +110 -0
- flock_core-0.5.311/src/flock/mcp/types/handlers.py +234 -0
- flock_core-0.5.311/src/flock/mcp/types/types.py +362 -0
- flock_core-0.5.311/src/flock/mcp/util/__init__.py +0 -0
- flock_core-0.5.311/src/flock/mcp/util/helpers.py +23 -0
- flock_core-0.5.311/src/flock/models/__init__.py +10 -0
- flock_core-0.5.311/src/flock/models/system_artifacts.py +54 -0
- flock_core-0.5.311/src/flock/orchestrator/__init__.py +45 -0
- flock_core-0.5.311/src/flock/orchestrator/artifact_collector.py +161 -0
- flock_core-0.5.311/src/flock/orchestrator/artifact_manager.py +186 -0
- flock_core-0.5.311/src/flock/orchestrator/batch_accumulator.py +254 -0
- flock_core-0.5.311/src/flock/orchestrator/component_runner.py +390 -0
- flock_core-0.5.311/src/flock/orchestrator/context_builder.py +193 -0
- flock_core-0.5.311/src/flock/orchestrator/correlation_engine.py +224 -0
- flock_core-0.5.311/src/flock/orchestrator/event_emitter.py +169 -0
- flock_core-0.5.311/src/flock/orchestrator/initialization.py +188 -0
- flock_core-0.5.311/src/flock/orchestrator/lifecycle_manager.py +227 -0
- flock_core-0.5.311/src/flock/orchestrator/mcp_manager.py +202 -0
- flock_core-0.5.311/src/flock/orchestrator/scheduler.py +189 -0
- flock_core-0.5.311/src/flock/orchestrator/server_manager.py +511 -0
- flock_core-0.5.311/src/flock/orchestrator/tracing.py +147 -0
- flock_core-0.5.311/src/flock/patches/__init__.py +6 -0
- flock_core-0.5.311/src/flock/patches/dspy_streaming_patch.py +92 -0
- flock_core-0.5.311/src/flock/registry.py +154 -0
- flock_core-0.5.311/src/flock/semantic/__init__.py +49 -0
- flock_core-0.5.311/src/flock/semantic/context_provider.py +173 -0
- flock_core-0.5.311/src/flock/semantic/embedding_service.py +240 -0
- flock_core-0.5.311/src/flock/storage/__init__.py +10 -0
- flock_core-0.5.311/src/flock/storage/artifact_aggregator.py +158 -0
- flock_core-0.5.311/src/flock/storage/in_memory/__init__.py +6 -0
- flock_core-0.5.311/src/flock/storage/in_memory/artifact_filter.py +114 -0
- flock_core-0.5.311/src/flock/storage/in_memory/history_aggregator.py +115 -0
- flock_core-0.5.311/src/flock/storage/sqlite/__init__.py +10 -0
- flock_core-0.5.311/src/flock/storage/sqlite/agent_history_queries.py +154 -0
- flock_core-0.5.311/src/flock/storage/sqlite/consumption_loader.py +100 -0
- flock_core-0.5.311/src/flock/storage/sqlite/query_builder.py +112 -0
- flock_core-0.5.311/src/flock/storage/sqlite/query_params_builder.py +91 -0
- flock_core-0.5.311/src/flock/storage/sqlite/schema_manager.py +168 -0
- flock_core-0.5.311/src/flock/storage/sqlite/summary_queries.py +194 -0
- flock_core-0.5.311/src/flock/themes/3024-day.toml +39 -0
- flock_core-0.5.311/src/flock/themes/3024-night.toml +77 -0
- flock_core-0.5.311/src/flock/themes/aardvark-blue.toml +77 -0
- flock_core-0.5.311/src/flock/themes/abernathy.toml +77 -0
- flock_core-0.5.311/src/flock/themes/adventure.toml +77 -0
- flock_core-0.5.311/src/flock/themes/adventuretime.toml +77 -0
- flock_core-0.5.311/src/flock/themes/afterglow.toml +77 -0
- flock_core-0.5.311/src/flock/themes/alabaster.toml +77 -0
- flock_core-0.5.311/src/flock/themes/alienblood.toml +77 -0
- flock_core-0.5.311/src/flock/themes/andromeda.toml +77 -0
- flock_core-0.5.311/src/flock/themes/apple-classic.toml +77 -0
- flock_core-0.5.311/src/flock/themes/apple-system-colors.toml +77 -0
- flock_core-0.5.311/src/flock/themes/arcoiris.toml +77 -0
- flock_core-0.5.311/src/flock/themes/argonaut copy.toml +77 -0
- flock_core-0.5.311/src/flock/themes/argonaut.toml +39 -0
- flock_core-0.5.311/src/flock/themes/arthur.toml +77 -0
- flock_core-0.5.311/src/flock/themes/ateliersulphurpool.toml +77 -0
- flock_core-0.5.311/src/flock/themes/atom.toml +38 -0
- flock_core-0.5.311/src/flock/themes/atom_test.toml +65 -0
- flock_core-0.5.311/src/flock/themes/atomonelight.toml +77 -0
- flock_core-0.5.311/src/flock/themes/aurora.toml +77 -0
- flock_core-0.5.311/src/flock/themes/ayu copy.toml +77 -0
- flock_core-0.5.311/src/flock/themes/ayu-light.toml +77 -0
- flock_core-0.5.311/src/flock/themes/ayu-mirage.toml +77 -0
- flock_core-0.5.311/src/flock/themes/ayu.toml +39 -0
- flock_core-0.5.311/src/flock/themes/banana-blueberry.toml +77 -0
- flock_core-0.5.311/src/flock/themes/batman.toml +77 -0
- flock_core-0.5.311/src/flock/themes/belafonte-day.toml +77 -0
- flock_core-0.5.311/src/flock/themes/belafonte-night.toml +77 -0
- flock_core-0.5.311/src/flock/themes/birdsofparadise.toml +77 -0
- flock_core-0.5.311/src/flock/themes/blazer.toml +77 -0
- flock_core-0.5.311/src/flock/themes/blue-matrix.toml +77 -0
- flock_core-0.5.311/src/flock/themes/blueberrypie.toml +77 -0
- flock_core-0.5.311/src/flock/themes/bluedolphin.toml +77 -0
- flock_core-0.5.311/src/flock/themes/blulocodark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/blulocolight.toml +77 -0
- flock_core-0.5.311/src/flock/themes/borland.toml +77 -0
- flock_core-0.5.311/src/flock/themes/breeze.toml +77 -0
- flock_core-0.5.311/src/flock/themes/bright-lights.toml +77 -0
- flock_core-0.5.311/src/flock/themes/broadcast.toml +77 -0
- flock_core-0.5.311/src/flock/themes/brogrammer.toml +77 -0
- flock_core-0.5.311/src/flock/themes/builtin-dark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/builtin-light.toml +77 -0
- flock_core-0.5.311/src/flock/themes/builtin-pastel-dark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/builtin-solarized-dark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/builtin-solarized-light.toml +77 -0
- flock_core-0.5.311/src/flock/themes/builtin-tango-dark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/builtin-tango-light.toml +77 -0
- flock_core-0.5.311/src/flock/themes/c64.toml +77 -0
- flock_core-0.5.311/src/flock/themes/calamity.toml +77 -0
- flock_core-0.5.311/src/flock/themes/catppuccin-frappe.toml +77 -0
- flock_core-0.5.311/src/flock/themes/catppuccin-latte.toml +77 -0
- flock_core-0.5.311/src/flock/themes/catppuccin-macchiato.toml +77 -0
- flock_core-0.5.311/src/flock/themes/catppuccin-mocha.toml +77 -0
- flock_core-0.5.311/src/flock/themes/cga.toml +77 -0
- flock_core-0.5.311/src/flock/themes/chalk.toml +77 -0
- flock_core-0.5.311/src/flock/themes/chalkboard.toml +77 -0
- flock_core-0.5.311/src/flock/themes/challengerdeep.toml +77 -0
- flock_core-0.5.311/src/flock/themes/chester.toml +77 -0
- flock_core-0.5.311/src/flock/themes/ciapre.toml +77 -0
- flock_core-0.5.311/src/flock/themes/clrs.toml +77 -0
- flock_core-0.5.311/src/flock/themes/cobalt-neon.toml +77 -0
- flock_core-0.5.311/src/flock/themes/cobalt2.toml +77 -0
- flock_core-0.5.311/src/flock/themes/coffee-theme.toml +77 -0
- flock_core-0.5.311/src/flock/themes/crayonponyfish.toml +77 -0
- flock_core-0.5.311/src/flock/themes/cutiepro.toml +77 -0
- flock_core-0.5.311/src/flock/themes/cyberdyne.toml +77 -0
- flock_core-0.5.311/src/flock/themes/cyberpunk.toml +77 -0
- flock_core-0.5.311/src/flock/themes/cyberpunkscarletprotocol.toml +77 -0
- flock_core-0.5.311/src/flock/themes/dark+.toml +77 -0
- flock_core-0.5.311/src/flock/themes/dark-pastel.toml +77 -0
- flock_core-0.5.311/src/flock/themes/darkermatrix.toml +77 -0
- flock_core-0.5.311/src/flock/themes/darkmatrix.toml +77 -0
- flock_core-0.5.311/src/flock/themes/darkside.toml +77 -0
- flock_core-0.5.311/src/flock/themes/dayfox.toml +77 -0
- flock_core-0.5.311/src/flock/themes/deep.toml +77 -0
- flock_core-0.5.311/src/flock/themes/desert.toml +77 -0
- flock_core-0.5.311/src/flock/themes/dimidium.toml +77 -0
- flock_core-0.5.311/src/flock/themes/dimmedmonokai.toml +77 -0
- flock_core-0.5.311/src/flock/themes/django.toml +77 -0
- flock_core-0.5.311/src/flock/themes/djangorebornagain.toml +77 -0
- flock_core-0.5.311/src/flock/themes/djangosmooth.toml +77 -0
- flock_core-0.5.311/src/flock/themes/doom-peacock.toml +77 -0
- flock_core-0.5.311/src/flock/themes/doomone.toml +77 -0
- flock_core-0.5.311/src/flock/themes/dotgov.toml +77 -0
- flock_core-0.5.311/src/flock/themes/dracula+.toml +77 -0
- flock_core-0.5.311/src/flock/themes/dracula.toml +77 -0
- flock_core-0.5.311/src/flock/themes/duckbones.toml +77 -0
- flock_core-0.5.311/src/flock/themes/duotone-dark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/earthsong.toml +77 -0
- flock_core-0.5.311/src/flock/themes/elemental.toml +77 -0
- flock_core-0.5.311/src/flock/themes/elementary.toml +77 -0
- flock_core-0.5.311/src/flock/themes/encom.toml +77 -0
- flock_core-0.5.311/src/flock/themes/espresso-libre.toml +77 -0
- flock_core-0.5.311/src/flock/themes/espresso.toml +77 -0
- flock_core-0.5.311/src/flock/themes/everblush.toml +77 -0
- flock_core-0.5.311/src/flock/themes/fahrenheit.toml +77 -0
- flock_core-0.5.311/src/flock/themes/fairyfloss.toml +77 -0
- flock_core-0.5.311/src/flock/themes/farmhouse-dark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/farmhouse-light.toml +77 -0
- flock_core-0.5.311/src/flock/themes/fideloper.toml +77 -0
- flock_core-0.5.311/src/flock/themes/firefly-traditional.toml +77 -0
- flock_core-0.5.311/src/flock/themes/firefoxdev.toml +77 -0
- flock_core-0.5.311/src/flock/themes/firewatch.toml +77 -0
- flock_core-0.5.311/src/flock/themes/fishtank.toml +77 -0
- flock_core-0.5.311/src/flock/themes/flat.toml +77 -0
- flock_core-0.5.311/src/flock/themes/flatland.toml +77 -0
- flock_core-0.5.311/src/flock/themes/flexoki-dark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/flexoki-light.toml +77 -0
- flock_core-0.5.311/src/flock/themes/floraverse.toml +77 -0
- flock_core-0.5.311/src/flock/themes/forestblue.toml +77 -0
- flock_core-0.5.311/src/flock/themes/framer.toml +77 -0
- flock_core-0.5.311/src/flock/themes/frontenddelight.toml +77 -0
- flock_core-0.5.311/src/flock/themes/funforrest.toml +77 -0
- flock_core-0.5.311/src/flock/themes/galaxy.toml +77 -0
- flock_core-0.5.311/src/flock/themes/galizur.toml +77 -0
- flock_core-0.5.311/src/flock/themes/github-dark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/github.toml +77 -0
- flock_core-0.5.311/src/flock/themes/glacier.toml +77 -0
- flock_core-0.5.311/src/flock/themes/grape.toml +77 -0
- flock_core-0.5.311/src/flock/themes/grass.toml +77 -0
- flock_core-0.5.311/src/flock/themes/grey-green.toml +77 -0
- flock_core-0.5.311/src/flock/themes/gruber-darker.toml +77 -0
- flock_core-0.5.311/src/flock/themes/gruvboxdark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/gruvboxdarkhard.toml +77 -0
- flock_core-0.5.311/src/flock/themes/gruvboxlight.toml +77 -0
- flock_core-0.5.311/src/flock/themes/guezwhoz.toml +77 -0
- flock_core-0.5.311/src/flock/themes/hacktober.toml +77 -0
- flock_core-0.5.311/src/flock/themes/hardcore.toml +77 -0
- flock_core-0.5.311/src/flock/themes/harper.toml +77 -0
- flock_core-0.5.311/src/flock/themes/hax0r-blue.toml +77 -0
- flock_core-0.5.311/src/flock/themes/hax0r-gr33n.toml +77 -0
- flock_core-0.5.311/src/flock/themes/hax0r-r3d.toml +77 -0
- flock_core-0.5.311/src/flock/themes/highway.toml +77 -0
- flock_core-0.5.311/src/flock/themes/hipster-green.toml +77 -0
- flock_core-0.5.311/src/flock/themes/hivacruz.toml +77 -0
- flock_core-0.5.311/src/flock/themes/homebrew.toml +77 -0
- flock_core-0.5.311/src/flock/themes/hopscotch.256.toml +77 -0
- flock_core-0.5.311/src/flock/themes/hopscotch.toml +77 -0
- flock_core-0.5.311/src/flock/themes/hurtado.toml +77 -0
- flock_core-0.5.311/src/flock/themes/hybrid.toml +77 -0
- flock_core-0.5.311/src/flock/themes/ic-green-ppl.toml +77 -0
- flock_core-0.5.311/src/flock/themes/ic-orange-ppl.toml +77 -0
- flock_core-0.5.311/src/flock/themes/iceberg-dark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/iceberg-light.toml +77 -0
- flock_core-0.5.311/src/flock/themes/idea.toml +77 -0
- flock_core-0.5.311/src/flock/themes/idletoes.toml +77 -0
- flock_core-0.5.311/src/flock/themes/ir-black.toml +77 -0
- flock_core-0.5.311/src/flock/themes/iterm2-dark-background.toml +77 -0
- flock_core-0.5.311/src/flock/themes/iterm2-default.toml +77 -0
- flock_core-0.5.311/src/flock/themes/iterm2-light-background.toml +77 -0
- flock_core-0.5.311/src/flock/themes/iterm2-pastel-dark-background.toml +77 -0
- flock_core-0.5.311/src/flock/themes/iterm2-smoooooth.toml +77 -0
- flock_core-0.5.311/src/flock/themes/iterm2-solarized-dark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/iterm2-solarized-light.toml +77 -0
- flock_core-0.5.311/src/flock/themes/iterm2-tango-dark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/iterm2-tango-light.toml +77 -0
- flock_core-0.5.311/src/flock/themes/jackie-brown.toml +77 -0
- flock_core-0.5.311/src/flock/themes/japanesque.toml +77 -0
- flock_core-0.5.311/src/flock/themes/jellybeans.toml +77 -0
- flock_core-0.5.311/src/flock/themes/jetbrains-darcula.toml +77 -0
- flock_core-0.5.311/src/flock/themes/jubi.toml +77 -0
- flock_core-0.5.311/src/flock/themes/kanagawabones.toml +77 -0
- flock_core-0.5.311/src/flock/themes/kibble.toml +77 -0
- flock_core-0.5.311/src/flock/themes/kolorit.toml +77 -0
- flock_core-0.5.311/src/flock/themes/konsolas.toml +77 -0
- flock_core-0.5.311/src/flock/themes/kurokula.toml +77 -0
- flock_core-0.5.311/src/flock/themes/lab-fox.toml +77 -0
- flock_core-0.5.311/src/flock/themes/laser.toml +77 -0
- flock_core-0.5.311/src/flock/themes/later-this-evening.toml +77 -0
- flock_core-0.5.311/src/flock/themes/lavandula.toml +77 -0
- flock_core-0.5.311/src/flock/themes/liquidcarbon.toml +77 -0
- flock_core-0.5.311/src/flock/themes/liquidcarbontransparent.toml +77 -0
- flock_core-0.5.311/src/flock/themes/liquidcarbontransparentinverse.toml +77 -0
- flock_core-0.5.311/src/flock/themes/lovelace.toml +77 -0
- flock_core-0.5.311/src/flock/themes/man-page.toml +77 -0
- flock_core-0.5.311/src/flock/themes/mariana.toml +77 -0
- flock_core-0.5.311/src/flock/themes/material.toml +77 -0
- flock_core-0.5.311/src/flock/themes/materialdark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/materialdarker.toml +77 -0
- flock_core-0.5.311/src/flock/themes/materialdesigncolors.toml +77 -0
- flock_core-0.5.311/src/flock/themes/materialocean.toml +77 -0
- flock_core-0.5.311/src/flock/themes/mathias.toml +77 -0
- flock_core-0.5.311/src/flock/themes/matrix.toml +77 -0
- flock_core-0.5.311/src/flock/themes/medallion.toml +77 -0
- flock_core-0.5.311/src/flock/themes/mellifluous.toml +77 -0
- flock_core-0.5.311/src/flock/themes/midnight-in-mojave.toml +77 -0
- flock_core-0.5.311/src/flock/themes/mirage.toml +77 -0
- flock_core-0.5.311/src/flock/themes/misterioso.toml +77 -0
- flock_core-0.5.311/src/flock/themes/molokai.toml +77 -0
- flock_core-0.5.311/src/flock/themes/monalisa.toml +77 -0
- flock_core-0.5.311/src/flock/themes/monokai-remastered.toml +77 -0
- flock_core-0.5.311/src/flock/themes/monokai-soda.toml +77 -0
- flock_core-0.5.311/src/flock/themes/monokai-vivid.toml +77 -0
- flock_core-0.5.311/src/flock/themes/n0tch2k.toml +77 -0
- flock_core-0.5.311/src/flock/themes/neobones-dark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/neobones-light.toml +77 -0
- flock_core-0.5.311/src/flock/themes/neon.toml +77 -0
- flock_core-0.5.311/src/flock/themes/neopolitan.toml +77 -0
- flock_core-0.5.311/src/flock/themes/neutron.toml +77 -0
- flock_core-0.5.311/src/flock/themes/night-owlish-light.toml +77 -0
- flock_core-0.5.311/src/flock/themes/nightfox.toml +77 -0
- flock_core-0.5.311/src/flock/themes/nightlion-v1.toml +77 -0
- flock_core-0.5.311/src/flock/themes/nightlion-v2.toml +77 -0
- flock_core-0.5.311/src/flock/themes/niji.toml +77 -0
- flock_core-0.5.311/src/flock/themes/nocturnal-winter.toml +77 -0
- flock_core-0.5.311/src/flock/themes/nord-light.toml +77 -0
- flock_core-0.5.311/src/flock/themes/nord.toml +77 -0
- flock_core-0.5.311/src/flock/themes/novel.toml +77 -0
- flock_core-0.5.311/src/flock/themes/nvimdark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/nvimlight.toml +77 -0
- flock_core-0.5.311/src/flock/themes/obsidian.toml +77 -0
- flock_core-0.5.311/src/flock/themes/ocean.toml +77 -0
- flock_core-0.5.311/src/flock/themes/oceanic-next.toml +77 -0
- flock_core-0.5.311/src/flock/themes/oceanicmaterial.toml +77 -0
- flock_core-0.5.311/src/flock/themes/ollie.toml +77 -0
- flock_core-0.5.311/src/flock/themes/onehalfdark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/onehalflight.toml +77 -0
- flock_core-0.5.311/src/flock/themes/operator-mono-dark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/overnight-slumber.toml +77 -0
- flock_core-0.5.311/src/flock/themes/oxocarbon.toml +77 -0
- flock_core-0.5.311/src/flock/themes/palenighthc.toml +77 -0
- flock_core-0.5.311/src/flock/themes/pandora.toml +77 -0
- flock_core-0.5.311/src/flock/themes/paraiso-dark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/paulmillr.toml +77 -0
- flock_core-0.5.311/src/flock/themes/pencildark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/pencillight.toml +77 -0
- flock_core-0.5.311/src/flock/themes/peppermint.toml +77 -0
- flock_core-0.5.311/src/flock/themes/piatto-light.toml +77 -0
- flock_core-0.5.311/src/flock/themes/pnevma.toml +77 -0
- flock_core-0.5.311/src/flock/themes/popping-and-locking.toml +77 -0
- flock_core-0.5.311/src/flock/themes/primary.toml +77 -0
- flock_core-0.5.311/src/flock/themes/pro-light.toml +77 -0
- flock_core-0.5.311/src/flock/themes/pro.toml +77 -0
- flock_core-0.5.311/src/flock/themes/purple-rain.toml +77 -0
- flock_core-0.5.311/src/flock/themes/purplepeter.toml +77 -0
- flock_core-0.5.311/src/flock/themes/rapture.toml +77 -0
- flock_core-0.5.311/src/flock/themes/raycast-dark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/raycast-light.toml +77 -0
- flock_core-0.5.311/src/flock/themes/rebecca.toml +77 -0
- flock_core-0.5.311/src/flock/themes/red-alert.toml +77 -0
- flock_core-0.5.311/src/flock/themes/red-planet.toml +77 -0
- flock_core-0.5.311/src/flock/themes/red-sands.toml +77 -0
- flock_core-0.5.311/src/flock/themes/relaxed.toml +77 -0
- flock_core-0.5.311/src/flock/themes/retro.toml +77 -0
- flock_core-0.5.311/src/flock/themes/rippedcasts.toml +77 -0
- flock_core-0.5.311/src/flock/themes/rose-pine-dawn.toml +77 -0
- flock_core-0.5.311/src/flock/themes/rose-pine-moon.toml +77 -0
- flock_core-0.5.311/src/flock/themes/rose-pine.toml +77 -0
- flock_core-0.5.311/src/flock/themes/rouge-2.toml +77 -0
- flock_core-0.5.311/src/flock/themes/royal.toml +77 -0
- flock_core-0.5.311/src/flock/themes/ryuuko.toml +77 -0
- flock_core-0.5.311/src/flock/themes/sakura.toml +77 -0
- flock_core-0.5.311/src/flock/themes/scarlet-protocol.toml +77 -0
- flock_core-0.5.311/src/flock/themes/seafoam-pastel.toml +77 -0
- flock_core-0.5.311/src/flock/themes/seashells.toml +77 -0
- flock_core-0.5.311/src/flock/themes/seoulbones-dark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/seoulbones-light.toml +77 -0
- flock_core-0.5.311/src/flock/themes/seti.toml +77 -0
- flock_core-0.5.311/src/flock/themes/shades-of-purple.toml +77 -0
- flock_core-0.5.311/src/flock/themes/shaman.toml +77 -0
- flock_core-0.5.311/src/flock/themes/slate.toml +77 -0
- flock_core-0.5.311/src/flock/themes/sleepyhollow.toml +77 -0
- flock_core-0.5.311/src/flock/themes/smyck.toml +77 -0
- flock_core-0.5.311/src/flock/themes/snazzy.toml +77 -0
- flock_core-0.5.311/src/flock/themes/softserver.toml +77 -0
- flock_core-0.5.311/src/flock/themes/solarized-darcula.toml +77 -0
- flock_core-0.5.311/src/flock/themes/solarized-dark---patched.toml +77 -0
- flock_core-0.5.311/src/flock/themes/solarized-dark-higher-contrast.toml +77 -0
- flock_core-0.5.311/src/flock/themes/spacedust.toml +77 -0
- flock_core-0.5.311/src/flock/themes/spacegray-eighties-dull.toml +77 -0
- flock_core-0.5.311/src/flock/themes/spacegray-eighties.toml +77 -0
- flock_core-0.5.311/src/flock/themes/spacegray.toml +77 -0
- flock_core-0.5.311/src/flock/themes/spiderman.toml +77 -0
- flock_core-0.5.311/src/flock/themes/spring.toml +77 -0
- flock_core-0.5.311/src/flock/themes/square.toml +77 -0
- flock_core-0.5.311/src/flock/themes/sublette.toml +77 -0
- flock_core-0.5.311/src/flock/themes/subliminal.toml +77 -0
- flock_core-0.5.311/src/flock/themes/sugarplum.toml +77 -0
- flock_core-0.5.311/src/flock/themes/sundried.toml +77 -0
- flock_core-0.5.311/src/flock/themes/symfonic.toml +77 -0
- flock_core-0.5.311/src/flock/themes/synthwave-everything.toml +77 -0
- flock_core-0.5.311/src/flock/themes/synthwave.toml +77 -0
- flock_core-0.5.311/src/flock/themes/synthwavealpha.toml +77 -0
- flock_core-0.5.311/src/flock/themes/tango-adapted.toml +77 -0
- flock_core-0.5.311/src/flock/themes/tango-half-adapted.toml +77 -0
- flock_core-0.5.311/src/flock/themes/teerb.toml +77 -0
- flock_core-0.5.311/src/flock/themes/terafox.toml +77 -0
- flock_core-0.5.311/src/flock/themes/terminal-basic.toml +77 -0
- flock_core-0.5.311/src/flock/themes/thayer-bright.toml +77 -0
- flock_core-0.5.311/src/flock/themes/the-hulk.toml +77 -0
- flock_core-0.5.311/src/flock/themes/tinacious-design-(dark).toml +77 -0
- flock_core-0.5.311/src/flock/themes/tinacious-design-(light).toml +77 -0
- flock_core-0.5.311/src/flock/themes/tokyonight-day.toml +77 -0
- flock_core-0.5.311/src/flock/themes/tokyonight-storm.toml +77 -0
- flock_core-0.5.311/src/flock/themes/tokyonight.toml +77 -0
- flock_core-0.5.311/src/flock/themes/tomorrow-night-blue.toml +77 -0
- flock_core-0.5.311/src/flock/themes/tomorrow-night-bright.toml +77 -0
- flock_core-0.5.311/src/flock/themes/tomorrow-night-burns.toml +77 -0
- flock_core-0.5.311/src/flock/themes/tomorrow-night-eighties.toml +77 -0
- flock_core-0.5.311/src/flock/themes/tomorrow-night.toml +77 -0
- flock_core-0.5.311/src/flock/themes/tomorrow.toml +77 -0
- flock_core-0.5.311/src/flock/themes/toychest.toml +77 -0
- flock_core-0.5.311/src/flock/themes/treehouse.toml +77 -0
- flock_core-0.5.311/src/flock/themes/twilight.toml +77 -0
- flock_core-0.5.311/src/flock/themes/ubuntu.toml +77 -0
- flock_core-0.5.311/src/flock/themes/ultradark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/ultraviolent.toml +77 -0
- flock_core-0.5.311/src/flock/themes/underthesea.toml +77 -0
- flock_core-0.5.311/src/flock/themes/unikitty.toml +77 -0
- flock_core-0.5.311/src/flock/themes/urple.toml +77 -0
- flock_core-0.5.311/src/flock/themes/vaughn.toml +77 -0
- flock_core-0.5.311/src/flock/themes/vesper.toml +77 -0
- flock_core-0.5.311/src/flock/themes/vibrantink.toml +77 -0
- flock_core-0.5.311/src/flock/themes/vimbones.toml +77 -0
- flock_core-0.5.311/src/flock/themes/violet-dark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/violet-light.toml +77 -0
- flock_core-0.5.311/src/flock/themes/warmneon.toml +77 -0
- flock_core-0.5.311/src/flock/themes/wez.toml +77 -0
- flock_core-0.5.311/src/flock/themes/whimsy.toml +77 -0
- flock_core-0.5.311/src/flock/themes/wildcherry.toml +77 -0
- flock_core-0.5.311/src/flock/themes/wilmersdorf.toml +77 -0
- flock_core-0.5.311/src/flock/themes/wombat.toml +77 -0
- flock_core-0.5.311/src/flock/themes/wryan.toml +77 -0
- flock_core-0.5.311/src/flock/themes/xcodedark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/xcodedarkhc.toml +77 -0
- flock_core-0.5.311/src/flock/themes/xcodelight.toml +77 -0
- flock_core-0.5.311/src/flock/themes/xcodelighthc.toml +77 -0
- flock_core-0.5.311/src/flock/themes/xcodewwdc.toml +77 -0
- flock_core-0.5.311/src/flock/themes/zenbones-dark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/zenbones-light.toml +77 -0
- flock_core-0.5.311/src/flock/themes/zenbones.toml +77 -0
- flock_core-0.5.311/src/flock/themes/zenburn.toml +77 -0
- flock_core-0.5.311/src/flock/themes/zenburned.toml +77 -0
- flock_core-0.5.311/src/flock/themes/zenwritten-dark.toml +77 -0
- flock_core-0.5.311/src/flock/themes/zenwritten-light.toml +77 -0
- flock_core-0.5.311/src/flock/utils/__init__.py +15 -0
- flock_core-0.5.311/src/flock/utils/async_utils.py +67 -0
- flock_core-0.5.311/src/flock/utils/cli_helper.py +107 -0
- flock_core-0.5.311/src/flock/utils/runtime.py +405 -0
- flock_core-0.5.311/src/flock/utils/time_utils.py +53 -0
- flock_core-0.5.311/src/flock/utils/type_resolution.py +39 -0
- flock_core-0.5.311/src/flock/utils/utilities.py +329 -0
- flock_core-0.5.311/src/flock/utils/validation.py +58 -0
- flock_core-0.5.311/src/flock/utils/visibility.py +79 -0
- flock_core-0.5.311/src/flock/utils/visibility_utils.py +134 -0
- flock_core-0.5.311/tests/PHASE2_TEST_SUMMARY.md +305 -0
- flock_core-0.5.311/tests/PHASE3_TEST_SUMMARY.md +474 -0
- flock_core-0.5.311/tests/TEST_COVERAGE_PHASE2.md +204 -0
- flock_core-0.5.311/tests/agent/test_component_lifecycle.py +375 -0
- flock_core-0.5.311/tests/agent/test_context_resolver.py +170 -0
- flock_core-0.5.311/tests/agent/test_mcp_integration.py +301 -0
- flock_core-0.5.311/tests/agent/test_output_processor.py +385 -0
- flock_core-0.5.311/tests/api/test_error_handling.py +201 -0
- flock_core-0.5.311/tests/api/test_idempotency.py +251 -0
- flock_core-0.5.311/tests/api/test_sync_models.py +287 -0
- flock_core-0.5.311/tests/api/test_sync_publish.py +361 -0
- flock_core-0.5.311/tests/api/test_themes_api.py +100 -0
- flock_core-0.5.311/tests/api/test_webhook_context.py +235 -0
- flock_core-0.5.311/tests/api/test_webhook_delivery.py +366 -0
- flock_core-0.5.311/tests/api/test_webhook_e2e.py +511 -0
- flock_core-0.5.311/tests/api/test_webhook_integration.py +465 -0
- flock_core-0.5.311/tests/api/test_webhook_models.py +267 -0
- flock_core-0.5.311/tests/components/server/test_auth_component.py +476 -0
- flock_core-0.5.311/tests/components/server/test_base_component.py +313 -0
- flock_core-0.5.311/tests/components/server/test_cors_component.py +445 -0
- flock_core-0.5.311/tests/components/server/test_health_component.py +314 -0
- flock_core-0.5.311/tests/components/server/test_middleware_component.py +428 -0
- flock_core-0.5.311/tests/components/server/test_static_files_component.py +353 -0
- flock_core-0.5.311/tests/components/server/test_trace_component.py +900 -0
- flock_core-0.5.311/tests/components/test_activation_component.py +577 -0
- flock_core-0.5.311/tests/components/test_webhook_component.py +260 -0
- flock_core-0.5.311/tests/conftest.py +145 -0
- flock_core-0.5.311/tests/contract/test_agent_payload_selection_contract.py +173 -0
- flock_core-0.5.311/tests/contract/test_artifact_storage_contract.py +139 -0
- flock_core-0.5.311/tests/contract/test_type_normalization_contract.py +109 -0
- flock_core-0.5.311/tests/core/__init__.py +0 -0
- flock_core-0.5.311/tests/core/test_conditions_base.py +499 -0
- flock_core-0.5.311/tests/core/test_conditions_impl.py +674 -0
- flock_core-0.5.311/tests/core/test_run_until.py +343 -0
- flock_core-0.5.311/tests/core/test_until_helper.py +422 -0
- flock_core-0.5.311/tests/core/test_when_helper.py +374 -0
- flock_core-0.5.311/tests/dashboard/test_logic_operations_api.py +1124 -0
- flock_core-0.5.311/tests/dashboard/test_logic_operations_events.py +626 -0
- flock_core-0.5.311/tests/e2e/README.md +250 -0
- flock_core-0.5.311/tests/e2e/TESTING_SUMMARY.md +294 -0
- flock_core-0.5.311/tests/e2e/test_critical_scenarios.py +691 -0
- flock_core-0.5.311/tests/integration/test_async_tool_invocation.py +161 -0
- flock_core-0.5.311/tests/integration/test_collector_orchestrator.py +373 -0
- flock_core-0.5.311/tests/integration/test_conditions_e2e.py +568 -0
- flock_core-0.5.311/tests/integration/test_schedule_integration.py +634 -0
- flock_core-0.5.311/tests/integration/test_scheduled_agents.py +1039 -0
- flock_core-0.5.311/tests/integration/test_sqlite_store_integration.py +37 -0
- flock_core-0.5.311/tests/integration/test_websocket_protocol.py +502 -0
- flock_core-0.5.311/tests/orchestrator/test_server_manager.py +887 -0
- flock_core-0.5.311/tests/semantic/__init__.py +1 -0
- flock_core-0.5.311/tests/semantic/conftest.py +77 -0
- flock_core-0.5.311/tests/semantic/test_agent_integration.py +378 -0
- flock_core-0.5.311/tests/semantic/test_embedding_service.py +144 -0
- flock_core-0.5.311/tests/semantic/test_optional_import.py +63 -0
- flock_core-0.5.311/tests/semantic/test_performance_and_edge_cases.py +139 -0
- flock_core-0.5.311/tests/semantic/test_semantic_context_provider.py +330 -0
- flock_core-0.5.311/tests/semantic/test_subscription_text_predicates.py +266 -0
- flock_core-0.5.311/tests/storage/__init__.py +1 -0
- flock_core-0.5.311/tests/storage/in_memory/__init__.py +1 -0
- flock_core-0.5.311/tests/storage/in_memory/test_artifact_filter.py +191 -0
- flock_core-0.5.311/tests/storage/in_memory/test_history_aggregator.py +217 -0
- flock_core-0.5.311/tests/storage/sqlite/__init__.py +1 -0
- flock_core-0.5.311/tests/storage/sqlite/test_agent_history_queries.py +329 -0
- flock_core-0.5.311/tests/storage/sqlite/test_consumption_loader.py +222 -0
- flock_core-0.5.311/tests/storage/sqlite/test_query_builder.py +161 -0
- flock_core-0.5.311/tests/storage/sqlite/test_query_params_builder.py +146 -0
- flock_core-0.5.311/tests/storage/sqlite/test_schema_manager.py +188 -0
- flock_core-0.5.311/tests/storage/sqlite/test_summary_queries.py +236 -0
- flock_core-0.5.311/tests/storage/test_artifact_aggregator.py +243 -0
- flock_core-0.5.311/tests/test_agent.py +564 -0
- flock_core-0.5.311/tests/test_agent_builder.py +1499 -0
- flock_core-0.5.311/tests/test_agent_context_timer.py +307 -0
- flock_core-0.5.311/tests/test_agent_mcp.py +97 -0
- flock_core-0.5.311/tests/test_agent_schedule_api.py +276 -0
- flock_core-0.5.311/tests/test_agent_server_specific_mounts.py +185 -0
- flock_core-0.5.311/tests/test_api_models.py +437 -0
- flock_core-0.5.311/tests/test_artifacts.py +107 -0
- flock_core-0.5.311/tests/test_base_service.py +445 -0
- flock_core-0.5.311/tests/test_cli.py +556 -0
- flock_core-0.5.311/tests/test_cli_helper.py +346 -0
- flock_core-0.5.311/tests/test_components.py +523 -0
- flock_core-0.5.311/tests/test_context_provider.py +1305 -0
- flock_core-0.5.311/tests/test_context_security.py +328 -0
- flock_core-0.5.311/tests/test_dashboard_api.py +614 -0
- flock_core-0.5.311/tests/test_dashboard_collector.py +611 -0
- flock_core-0.5.311/tests/test_dashboard_graph.py +333 -0
- flock_core-0.5.311/tests/test_dashboard_launcher.py +194 -0
- flock_core-0.5.311/tests/test_dashboard_service.py +1632 -0
- flock_core-0.5.311/tests/test_dspy_engine.py +1106 -0
- flock_core-0.5.311/tests/test_dspy_engine_adapter.py +243 -0
- flock_core-0.5.311/tests/test_dspy_engine_mcp.py +103 -0
- flock_core-0.5.311/tests/test_dspy_engine_multioutput.py +1521 -0
- flock_core-0.5.311/tests/test_dspy_signature_builder_fan_out.py +105 -0
- flock_core-0.5.311/tests/test_dspy_streaming_events.py +385 -0
- flock_core-0.5.311/tests/test_dspy_streaming_executor_helpers.py +218 -0
- flock_core-0.5.311/tests/test_dspy_streaming_integration.py +473 -0
- flock_core-0.5.311/tests/test_engine_context.py +288 -0
- flock_core-0.5.311/tests/test_engines.py +213 -0
- flock_core-0.5.311/tests/test_fan_out_range.py +92 -0
- flock_core-0.5.311/tests/test_filtering_validation.py +624 -0
- flock_core-0.5.311/tests/test_graph_builder_coverage.py +92 -0
- flock_core-0.5.311/tests/test_logging_config.py +635 -0
- flock_core-0.5.311/tests/test_mcp_client.py +781 -0
- flock_core-0.5.311/tests/test_mcp_config.py +800 -0
- flock_core-0.5.311/tests/test_mcp_coverage_summary.md +70 -0
- flock_core-0.5.311/tests/test_mcp_imports.py +63 -0
- flock_core-0.5.311/tests/test_mcp_manager.py +625 -0
- flock_core-0.5.311/tests/test_mcp_server_config_typeddict.py +92 -0
- flock_core-0.5.311/tests/test_mcp_tool_handlers.py +1245 -0
- flock_core-0.5.311/tests/test_no_output.py +197 -0
- flock_core-0.5.311/tests/test_orchestrator.py +1141 -0
- flock_core-0.5.311/tests/test_orchestrator_and_gate.py +1329 -0
- flock_core-0.5.311/tests/test_orchestrator_batchspec.py +635 -0
- flock_core-0.5.311/tests/test_orchestrator_combined.py +936 -0
- flock_core-0.5.311/tests/test_orchestrator_component.py +1415 -0
- flock_core-0.5.311/tests/test_orchestrator_context_injection.py +590 -0
- flock_core-0.5.311/tests/test_orchestrator_joinspec.py +914 -0
- flock_core-0.5.311/tests/test_orchestrator_mcp.py +131 -0
- flock_core-0.5.311/tests/test_output_groups.py +550 -0
- flock_core-0.5.311/tests/test_registry.py +89 -0
- flock_core-0.5.311/tests/test_runtime.py +470 -0
- flock_core-0.5.311/tests/test_runtime_coverage.py +95 -0
- flock_core-0.5.311/tests/test_schedule_spec.py +177 -0
- flock_core-0.5.311/tests/test_service.py +51 -0
- flock_core-0.5.311/tests/test_service_extended.py +444 -0
- flock_core-0.5.311/tests/test_store.py +463 -0
- flock_core-0.5.311/tests/test_store_graph.py +103 -0
- flock_core-0.5.311/tests/test_subscription.py +262 -0
- flock_core-0.5.311/tests/test_telemetry.py +685 -0
- flock_core-0.5.311/tests/test_timer_component.py +807 -0
- flock_core-0.5.311/tests/test_timer_component_coverage.py +163 -0
- flock_core-0.5.311/tests/test_timer_component_registration.py +380 -0
- flock_core-0.5.311/tests/test_timer_tick.py +236 -0
- flock_core-0.5.311/tests/test_trace_clearing.py +315 -0
- flock_core-0.5.311/tests/test_transformers_provider.py +365 -0
- flock_core-0.5.311/tests/test_unified_tracing.py +195 -0
- flock_core-0.5.311/tests/test_utilities.py +893 -0
- flock_core-0.5.311/tests/test_visibility.py +217 -0
- flock_core-0.5.311/tests/test_websocket_manager_enhanced.py +694 -0
- flock_core-0.5.311/tests/utils/__init__.py +1 -0
- flock_core-0.5.311/tests/utils/test_async_utils.py +141 -0
- flock_core-0.5.311/tests/utils/test_time_utils.py +93 -0
- flock_core-0.5.311/tests/utils/test_type_resolution.py +55 -0
- flock_core-0.5.311/tests/utils/test_validation.py +198 -0
- flock_core-0.5.311/tests/utils/test_visibility.py +135 -0
- flock_core-0.5.311/tests/utils/test_visibility_utils.py +125 -0
- 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
|