Analysis for Package: {{ package_name }}

{% if conflict_info %}

Conflict Context

Attempted Update: From version {{ conflict_info.current_version }} to {{ conflict_info.target_version }}.

{% if conflict_info.error_message %}

DepGuardian Error: {{ conflict_info.error_message }}

{% endif %}

NPM Error Output (stderr):

{% if npm_error %}
{{ npm_error }}
{% else %}

No NPM error output was captured in the report for this attempt.

{% endif %}
{% else %}

Could not retrieve conflict information for '{{ package_name }}' from the report.

{% endif %}

LLM Analysis & Suggestions

{% if llm_analysis_result %} {% if llm_analysis_result.error %}

Error from LLM: {{ llm_analysis_result.error }}

{% elif llm_analysis_result.analysis %}
{{ llm_analysis_result.analysis }}
{% else %}

LLM returned an empty or unexpected response.

{% endif %} {% else %}

LLM analysis could not be performed or returned no result.

{% endif %}