Closed kgilpin closed 2 months ago
:tada: This PR is included in version @appland/navie-v1.19.0 :tada:
The release is available on:
@appland/navie-v1.19.0
@appland/navie-v1.19.0
Your semantic-release bot :package::rocket:
:tada: This PR is included in version @appland/appmap-v3.152.0 :tada:
The release is available on:
@appland/appmap-v3.152.0
@appland/appmap-v3.152.0
Your semantic-release bot :package::rocket:
Adds
@diagram
agent mode, with built-in prompts for entity-relationship, flowchart, and class map diagrams.AgentMode
calledDiagram
for generating software diagrams (flowcharts, ER diagrams, UML class diagrams).DiagramAgent
class for handling diagram generation requests.AgentSelectionService
to handle@diagram
mode requests.mermaid
library dependency for diagram rendering.MermaidValidator
to validate Mermaid diagram syntax.MermaidFilter
to parse and validate Mermaid diagram syntax. Tokens are withheld from the LLM until a complete diagram is received, then the diagram is validated and potentially fixed.MermaidFixerService
for repairing Mermaid diagrams.Filter
interface and aNopFilter
class. These exist to support MermaidFilter.newFilter
method.ExplainCommand
.ExplainAgent
to include diagram prompt checking and added capability to generate diagrams.ClassificationService
to handle the new classification label, and distinguish between modes and scopes.ContextV2.ContextLabelName
andContextV2.ContextLabelWeight
to handle new diagram generation labels.Example of diagram output