Files
brachnha-insight/_bmad/bmm/workflows/document-project/templates/source-tree-template.md
Max e9e6fadb1d fix: ChatBubble crash and DeepSeek API compatibility
- Fix ChatBubble to handle non-string content with String() wrapper
- Fix API route to use generateText for non-streaming requests
- Add @ai-sdk/openai-compatible for non-OpenAI providers (DeepSeek, etc.)
- Use Chat Completions API instead of Responses API for compatible providers
- Update ChatBubble tests and fix component exports to kebab-case
- Remove stale PascalCase ChatBubble.tsx file
2026-01-26 16:55:05 +07:00

2.1 KiB

{{project_name}} - Source Tree Analysis

Date: {{date}}

Overview

{{source_tree_overview}}

{{#if is_multi_part}}

Multi-Part Structure

This project is organized into {{parts_count}} distinct parts:

{{#each project_parts}}

  • {{part_name}} ({{root_path}}): {{purpose}} {{/each}} {{/if}}

Complete Directory Structure

{{complete_source_tree}}

Critical Directories

{{#each critical_folders}}

{{folder_path}}

{{description}}

Purpose: {{purpose}} Contains: {{contents_summary}} {{#if entry_points}}Entry Points: {{entry_points}}{{/if}} {{#if integration_note}}Integration: {{integration_note}}{{/if}}

{{/each}}

{{#if is_multi_part}}

Part-Specific Trees

{{#each project_parts}}

{{part_name}} Structure

{{source_tree}}

Key Directories: {{#each critical_directories}}

  • {{path}}: {{description}} {{/each}}

{{/each}}

Integration Points

{{#each integration_points}}

{{from_part}} → {{to_part}}

  • Location: {{integration_path}}
  • Type: {{integration_type}}
  • Details: {{details}} {{/each}}

{{/if}}

Entry Points

{{#if is_single_part}}

  • Main Entry: {{main_entry_point}} {{#if additional_entry_points}}
  • Additional: {{#each additional_entry_points}}
    • {{path}}: {{description}} {{/each}} {{/if}} {{else}} {{#each project_parts}}

{{part_name}}

  • Entry Point: {{entry_point}}
  • Bootstrap: {{bootstrap_description}} {{/each}} {{/if}}

File Organization Patterns

{{file_organization_patterns}}

Key File Types

{{#each file_type_patterns}}

{{file_type}}

  • Pattern: {{pattern}}
  • Purpose: {{purpose}}
  • Examples: {{examples}} {{/each}}

Asset Locations

{{#if has_assets}} {{#each asset_locations}}

  • {{asset_type}}: {{location}} ({{file_count}} files, {{total_size}}) {{/each}} {{else}} No significant assets detected. {{/if}}

Configuration Files

{{#each config_files}}

  • {{path}}: {{description}} {{/each}}

Notes for Development

{{development_notes}}


Generated using BMAD Method document-project workflow