empathy-framework 4.1.1__py3-none-any.whl → 4.4.0__py3-none-any.whl

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 (45) hide show
  1. {empathy_framework-4.1.1.dist-info → empathy_framework-4.4.0.dist-info}/METADATA +77 -12
  2. {empathy_framework-4.1.1.dist-info → empathy_framework-4.4.0.dist-info}/RECORD +45 -14
  3. empathy_os/cli_unified.py +13 -0
  4. empathy_os/memory/long_term.py +5 -0
  5. empathy_os/memory/unified.py +149 -9
  6. empathy_os/meta_workflows/__init__.py +74 -0
  7. empathy_os/meta_workflows/agent_creator.py +254 -0
  8. empathy_os/meta_workflows/builtin_templates.py +567 -0
  9. empathy_os/meta_workflows/cli_meta_workflows.py +1551 -0
  10. empathy_os/meta_workflows/form_engine.py +304 -0
  11. empathy_os/meta_workflows/intent_detector.py +298 -0
  12. empathy_os/meta_workflows/models.py +567 -0
  13. empathy_os/meta_workflows/pattern_learner.py +754 -0
  14. empathy_os/meta_workflows/session_context.py +398 -0
  15. empathy_os/meta_workflows/template_registry.py +229 -0
  16. empathy_os/meta_workflows/workflow.py +980 -0
  17. empathy_os/orchestration/execution_strategies.py +888 -1
  18. empathy_os/orchestration/pattern_learner.py +699 -0
  19. empathy_os/socratic/__init__.py +273 -0
  20. empathy_os/socratic/ab_testing.py +969 -0
  21. empathy_os/socratic/blueprint.py +532 -0
  22. empathy_os/socratic/cli.py +689 -0
  23. empathy_os/socratic/collaboration.py +1112 -0
  24. empathy_os/socratic/domain_templates.py +916 -0
  25. empathy_os/socratic/embeddings.py +734 -0
  26. empathy_os/socratic/engine.py +729 -0
  27. empathy_os/socratic/explainer.py +663 -0
  28. empathy_os/socratic/feedback.py +767 -0
  29. empathy_os/socratic/forms.py +624 -0
  30. empathy_os/socratic/generator.py +716 -0
  31. empathy_os/socratic/llm_analyzer.py +635 -0
  32. empathy_os/socratic/mcp_server.py +751 -0
  33. empathy_os/socratic/session.py +306 -0
  34. empathy_os/socratic/storage.py +635 -0
  35. empathy_os/socratic/success.py +719 -0
  36. empathy_os/socratic/visual_editor.py +812 -0
  37. empathy_os/socratic/web_ui.py +925 -0
  38. empathy_os/workflows/manage_documentation.py +18 -2
  39. empathy_os/workflows/release_prep_crew.py +16 -1
  40. empathy_os/workflows/test_coverage_boost_crew.py +16 -1
  41. empathy_os/workflows/test_maintenance_crew.py +18 -1
  42. {empathy_framework-4.1.1.dist-info → empathy_framework-4.4.0.dist-info}/WHEEL +0 -0
  43. {empathy_framework-4.1.1.dist-info → empathy_framework-4.4.0.dist-info}/entry_points.txt +0 -0
  44. {empathy_framework-4.1.1.dist-info → empathy_framework-4.4.0.dist-info}/licenses/LICENSE +0 -0
  45. {empathy_framework-4.1.1.dist-info → empathy_framework-4.4.0.dist-info}/top_level.txt +0 -0
@@ -1,5 +1,10 @@
1
1
  """Manage_Documentation - Multi-Agent Workflow
2
2
 
3
+ .. deprecated:: 4.3.0
4
+ This workflow is deprecated in favor of the meta-workflow system.
5
+ Use ``empathy meta-workflow run manage-docs`` instead.
6
+ See docs/CREWAI_MIGRATION.md for migration guide.
7
+
3
8
  Makes sure that new program files are fully documented and existing documents
4
9
  are updated when associate program files are changed.
5
10
 
@@ -14,9 +19,9 @@ See: docs/guides/WORKFLOW_PATTERNS.md
14
19
  Copyright 2025 Smart-AI-Memory
15
20
  Licensed under Fair Source License 0.9
16
21
  """
17
-
18
22
  import asyncio
19
23
  import os
24
+ import warnings
20
25
  from dataclasses import dataclass, field
21
26
  from datetime import datetime
22
27
  from pathlib import Path
@@ -350,7 +355,18 @@ class ManageDocumentationCrew:
350
355
  process_type = "sequential"
351
356
 
352
357
  def __init__(self, project_root: str = ".", **kwargs: Any):
353
- """Initialize the crew with configured agents."""
358
+ """Initialize the crew with configured agents.
359
+
360
+ .. deprecated:: 4.3.0
361
+ Use meta-workflow system instead: ``empathy meta-workflow run manage-docs``
362
+ """
363
+ warnings.warn(
364
+ "ManageDocumentationCrew is deprecated since v4.3.0. "
365
+ "Use meta-workflow system instead: empathy meta-workflow run manage-docs. "
366
+ "See docs/CREWAI_MIGRATION.md for migration guide.",
367
+ DeprecationWarning,
368
+ stacklevel=2,
369
+ )
354
370
  self.config = kwargs
355
371
  self.project_root = project_root
356
372
  self._executor = None
@@ -1,5 +1,10 @@
1
1
  """Release Preparation Crew - Multi-Agent Workflow
2
2
 
3
+ .. deprecated:: 4.3.0
4
+ This workflow is deprecated in favor of the meta-workflow system.
5
+ Use ``empathy meta-workflow run release-prep`` instead.
6
+ See docs/CREWAI_MIGRATION.md for migration guide.
7
+
3
8
  Comprehensive release readiness assessment using a multi-agent crew.
4
9
 
5
10
  Pattern: Crew
@@ -16,9 +21,9 @@ Agents:
16
21
  Copyright 2025 Smart-AI-Memory
17
22
  Licensed under Fair Source License 0.9
18
23
  """
19
-
20
24
  import asyncio
21
25
  import os
26
+ import warnings
22
27
  from dataclasses import dataclass, field
23
28
  from datetime import datetime
24
29
  from typing import Any
@@ -385,6 +390,9 @@ class ReleasePreparationCrew:
385
390
  ):
386
391
  """Initialize the crew with configured agents.
387
392
 
393
+ .. deprecated:: 4.3.0
394
+ Use meta-workflow system instead: ``empathy meta-workflow run release-prep``
395
+
388
396
  Args:
389
397
  project_root: Root directory of project to analyze
390
398
  quality_gates: Optional quality gate thresholds
@@ -394,6 +402,13 @@ class ReleasePreparationCrew:
394
402
  - documentation: 100% doc coverage (default)
395
403
  **kwargs: Additional configuration
396
404
  """
405
+ warnings.warn(
406
+ "ReleasePreparationCrew is deprecated since v4.3.0. "
407
+ "Use meta-workflow system instead: empathy meta-workflow run release-prep. "
408
+ "See docs/CREWAI_MIGRATION.md for migration guide.",
409
+ DeprecationWarning,
410
+ stacklevel=2,
411
+ )
397
412
  self.config = kwargs
398
413
  self.project_root = project_root
399
414
  self._executor = None
@@ -1,15 +1,20 @@
1
1
  """Test Coverage Boost Crew - Multi-agent test generation workflow.
2
2
 
3
+ .. deprecated:: 4.3.0
4
+ This workflow is deprecated in favor of the meta-workflow system.
5
+ Use ``empathy meta-workflow run test-coverage-boost`` instead.
6
+ See docs/CREWAI_MIGRATION.md for migration guide.
7
+
3
8
  This module provides a CrewAI-based workflow that uses 3 specialized agents
4
9
  to analyze coverage gaps, generate tests, and validate improvements.
5
10
 
6
11
  Copyright 2025 Smart AI Memory, LLC
7
12
  Licensed under Fair Source 0.9
8
13
  """
9
-
10
14
  import asyncio
11
15
  import json
12
16
  import re
17
+ import warnings
13
18
  from dataclasses import dataclass, field
14
19
  from datetime import datetime
15
20
  from pathlib import Path
@@ -197,11 +202,21 @@ class TestCoverageBoostCrew:
197
202
  ):
198
203
  """Initialize the test coverage boost crew.
199
204
 
205
+ .. deprecated:: 4.3.0
206
+ Use meta-workflow system instead: ``empathy meta-workflow run test-coverage-boost``
207
+
200
208
  Args:
201
209
  target_coverage: Target coverage percentage (0-100)
202
210
  project_root: Root directory of project to analyze
203
211
  **kwargs: Additional arguments (ignored, for CLI compatibility)
204
212
  """
213
+ warnings.warn(
214
+ "TestCoverageBoostCrew is deprecated since v4.3.0. "
215
+ "Use meta-workflow system instead: empathy meta-workflow run test-coverage-boost. "
216
+ "See docs/CREWAI_MIGRATION.md for migration guide.",
217
+ DeprecationWarning,
218
+ stacklevel=2,
219
+ )
205
220
  if not 0 <= target_coverage <= 100:
206
221
  raise ValueError("target_coverage must be between 0 and 100")
207
222
 
@@ -1,5 +1,10 @@
1
1
  """Test Maintenance Crew - CrewAI-Based Automated Test Management
2
2
 
3
+ .. deprecated:: 4.3.0
4
+ This workflow is deprecated in favor of the meta-workflow system.
5
+ Use ``empathy meta-workflow run test-maintenance`` instead.
6
+ See docs/CREWAI_MIGRATION.md for migration guide.
7
+
3
8
  A crew of specialized agents that collaboratively manage the test lifecycle:
4
9
  - Test Analyst: Analyzes coverage gaps and prioritizes work
5
10
  - Test Generator: Creates new tests using LLM
@@ -11,9 +16,9 @@ The crew can operate autonomously on a schedule or be triggered by events.
11
16
  Copyright 2025 Smart AI Memory, LLC
12
17
  Licensed under Fair Source 0.9
13
18
  """
14
-
15
19
  import heapq
16
20
  import logging
21
+ import warnings
17
22
  from dataclasses import dataclass, field
18
23
  from datetime import datetime
19
24
  from pathlib import Path
@@ -643,6 +648,18 @@ class TestMaintenanceCrew:
643
648
  index: ProjectIndex | None = None,
644
649
  config: CrewConfig | None = None,
645
650
  ):
651
+ """Initialize the test maintenance crew.
652
+
653
+ .. deprecated:: 4.3.0
654
+ Use meta-workflow system instead: ``empathy meta-workflow run test-maintenance``
655
+ """
656
+ warnings.warn(
657
+ "TestMaintenanceCrew is deprecated since v4.3.0. "
658
+ "Use meta-workflow system instead: empathy meta-workflow run test-maintenance. "
659
+ "See docs/CREWAI_MIGRATION.md for migration guide.",
660
+ DeprecationWarning,
661
+ stacklevel=2,
662
+ )
646
663
  self.project_root = Path(project_root)
647
664
  self.index = index or ProjectIndex(str(project_root))
648
665
  self.config = config or CrewConfig()