tapps-agents 3.5.38__py3-none-any.whl → 3.5.39__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.
- tapps_agents/__init__.py +2 -2
- tapps_agents/agents/cleanup/__init__.py +7 -0
- tapps_agents/agents/cleanup/agent.py +445 -0
- tapps_agents/agents/enhancer/agent.py +2728 -2728
- tapps_agents/cli/commands/cleanup_agent.py +92 -0
- tapps_agents/cli/main.py +651 -645
- tapps_agents/cli/parsers/cleanup_agent.py +228 -0
- tapps_agents/core/config.py +1622 -1579
- tapps_agents/core/init_project.py +11 -10
- tapps_agents/simple_mode/orchestrators/fix_orchestrator.py +723 -723
- tapps_agents/workflow/enforcer.py +36 -23
- tapps_agents/workflow/message_formatter.py +187 -0
- tapps_agents/workflow/rules_generator.py +7 -1
- {tapps_agents-3.5.38.dist-info → tapps_agents-3.5.39.dist-info}/METADATA +5 -5
- {tapps_agents-3.5.38.dist-info → tapps_agents-3.5.39.dist-info}/RECORD +19 -14
- {tapps_agents-3.5.38.dist-info → tapps_agents-3.5.39.dist-info}/WHEEL +0 -0
- {tapps_agents-3.5.38.dist-info → tapps_agents-3.5.39.dist-info}/entry_points.txt +0 -0
- {tapps_agents-3.5.38.dist-info → tapps_agents-3.5.39.dist-info}/licenses/LICENSE +0 -0
- {tapps_agents-3.5.38.dist-info → tapps_agents-3.5.39.dist-info}/top_level.txt +0 -0
|
@@ -2698,10 +2698,10 @@ def init_project(
|
|
|
2698
2698
|
version_after = get_framework_version()
|
|
2699
2699
|
results["version_after"] = version_after
|
|
2700
2700
|
|
|
2701
|
-
# --- Step order (dependencies): tech_stack -> config -> MCP ->
|
|
2701
|
+
# --- Step order (dependencies): tech_stack -> config -> MCP -> presets -> rules
|
|
2702
2702
|
# -> skills -> customizations -> cursorignore -> tech_stack_config -> experts
|
|
2703
2703
|
# -> cache (best-effort, non-blocking) -> validation
|
|
2704
|
-
#
|
|
2704
|
+
# Presets before rules so workflow-presets.mdc can be generated from YAML (critical after reset).
|
|
2705
2705
|
|
|
2706
2706
|
# Detect tech stack early (needed for template application)
|
|
2707
2707
|
tech_stack = detect_tech_stack(project_root)
|
|
@@ -2759,14 +2759,8 @@ def init_project(
|
|
|
2759
2759
|
mcp_status["project_local_config"] = mcp_path
|
|
2760
2760
|
mcp_status["note"] = "Project-local `.cursor/mcp.json` was created. Context7 MCP server configured."
|
|
2761
2761
|
|
|
2762
|
-
# Initialize Cursor Rules
|
|
2763
|
-
|
|
2764
|
-
success, rule_paths = init_cursor_rules(project_root)
|
|
2765
|
-
results["cursor_rules"] = success
|
|
2766
|
-
if rule_paths:
|
|
2767
|
-
results["files_created"].extend(rule_paths)
|
|
2768
|
-
|
|
2769
|
-
# Initialize workflow presets
|
|
2762
|
+
# Initialize workflow presets before Cursor Rules so workflow-presets.mdc can be
|
|
2763
|
+
# generated from YAML (required after init --reset when presets were just restored).
|
|
2770
2764
|
if include_workflow_presets:
|
|
2771
2765
|
success, preset_files = init_workflow_presets(project_root)
|
|
2772
2766
|
results["workflow_presets"] = success
|
|
@@ -2775,6 +2769,13 @@ def init_project(
|
|
|
2775
2769
|
[f"workflows/presets/{f}" for f in preset_files]
|
|
2776
2770
|
)
|
|
2777
2771
|
|
|
2772
|
+
# Initialize Cursor Rules (depends on workflows/presets/*.yaml for workflow-presets.mdc)
|
|
2773
|
+
if include_cursor_rules:
|
|
2774
|
+
success, rule_paths = init_cursor_rules(project_root)
|
|
2775
|
+
results["cursor_rules"] = success
|
|
2776
|
+
if rule_paths:
|
|
2777
|
+
results["files_created"].extend(rule_paths)
|
|
2778
|
+
|
|
2778
2779
|
# Initialize Skills for Cursor/Claude
|
|
2779
2780
|
if include_skills:
|
|
2780
2781
|
success, copied_skills = init_claude_skills(project_root)
|