myaidev-method 0.2.22 → 0.2.24-1

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 (59) hide show
  1. package/USER_GUIDE.md +453 -48
  2. package/bin/cli.js +236 -38
  3. package/content-rules.example.md +80 -0
  4. package/dist/mcp/mcp-launcher.js +237 -0
  5. package/dist/server/.tsbuildinfo +1 -1
  6. package/dist/server/auth/layers.d.ts +1 -1
  7. package/dist/server/auth/services/AuthService.d.ts +1 -1
  8. package/dist/server/auth/services/TokenService.js.map +1 -1
  9. package/dist/server/auth/services/example.d.ts +5 -5
  10. package/package.json +22 -17
  11. package/src/config/workflows.js +28 -44
  12. package/src/index.js +21 -8
  13. package/src/lib/ascii-banner.js +214 -0
  14. package/src/lib/config-manager.js +470 -0
  15. package/src/lib/content-generator.js +427 -0
  16. package/src/lib/html-conversion-utils.js +843 -0
  17. package/src/lib/seo-optimizer.js +515 -0
  18. package/src/lib/update-manager.js +2 -1
  19. package/src/lib/visual-config-utils.js +321 -295
  20. package/src/lib/visual-generation-utils.js +1000 -811
  21. package/src/lib/wordpress-client.js +633 -0
  22. package/src/lib/workflow-installer.js +3 -3
  23. package/src/scripts/configure-wordpress-mcp.js +8 -3
  24. package/src/scripts/generate-visual-cli.js +365 -235
  25. package/src/scripts/html-conversion-cli.js +526 -0
  26. package/src/scripts/init/configure.js +436 -0
  27. package/src/scripts/init/install.js +460 -0
  28. package/src/scripts/ping.js +250 -0
  29. package/src/scripts/utils/file-utils.js +404 -0
  30. package/src/scripts/utils/logger.js +300 -0
  31. package/src/scripts/utils/write-content.js +293 -0
  32. package/src/scripts/wordpress/publish-to-wordpress.js +165 -0
  33. package/src/server/auth/services/TokenService.ts +1 -1
  34. package/src/templates/claude/agents/content-rules-setup.md +657 -0
  35. package/src/templates/claude/agents/content-writer.md +328 -1
  36. package/src/templates/claude/agents/visual-content-generator.md +311 -8
  37. package/src/templates/claude/commands/myai-configure.md +1 -1
  38. package/src/templates/claude/commands/myai-content-rules-setup.md +204 -0
  39. package/src/templates/claude/commands/myai-convert-html.md +186 -0
  40. package/src/templates/codex/commands/myai-content-rules-setup.md +85 -0
  41. package/src/templates/diagrams/architecture.d2 +52 -0
  42. package/src/templates/diagrams/flowchart.d2 +42 -0
  43. package/src/templates/diagrams/sequence.d2 +47 -0
  44. package/src/templates/docs/content-creation-guide.md +164 -0
  45. package/src/templates/docs/deployment-guide.md +336 -0
  46. package/src/templates/docs/visual-generation-guide.md +248 -0
  47. package/src/templates/docs/wordpress-publishing-guide.md +208 -0
  48. package/src/templates/gemini/commands/myai-content-rules-setup.toml +57 -0
  49. package/src/templates/infographics/comparison-table.html +347 -0
  50. package/src/templates/infographics/data-chart.html +268 -0
  51. package/src/templates/infographics/process-flow.html +365 -0
  52. package/.claude/mcp/sparc-orchestrator-server.js +0 -607
  53. package/.claude/mcp/wordpress-server.js +0 -1277
  54. package/src/agents/content-writer-prompt.md +0 -164
  55. package/src/agents/content-writer.json +0 -70
  56. package/src/templates/claude/mcp_config.json +0 -74
  57. package/src/templates/claude/slash_commands.json +0 -166
  58. package/src/templates/scripts/configure-wordpress-mcp.js +0 -181
  59. /package/src/scripts/{wordpress-health-check.js → wordpress/wordpress-health-check.js} +0 -0
@@ -274,4 +274,4 @@ Performs:
274
274
 
275
275
  - Never display passwords in plain text
276
276
  - Use environment variables for sensitive data
277
- - Validate URLs and credentials before saving
277
+ - Validate URLs and credentials before saving
@@ -0,0 +1,204 @@
1
+ ---
2
+ name: myai-content-rules-setup
3
+ description: Interactive setup wizard for configuring content generation rules, brand voice, and style guidelines
4
+ usage: /myai-content-rules-setup [options]
5
+ arguments:
6
+ - name: --quick
7
+ description: Run quick setup with only essential questions
8
+ required: false
9
+ - name: --update
10
+ description: Update existing content-rules.md file
11
+ required: false
12
+ - name: --import
13
+ description: Import from existing style guide document
14
+ required: false
15
+ - name: --preview
16
+ description: Preview current content rules
17
+ required: false
18
+ ---
19
+
20
+ # Content Rules Setup Command
21
+
22
+ ## Purpose
23
+
24
+ Launch an interactive Q&A wizard to create or update your `content-rules.md` file, which controls how the content-writer agent generates content for your brand.
25
+
26
+ ## Usage
27
+
28
+ ### Full Interactive Setup
29
+ ```bash
30
+ /myai-content-rules-setup
31
+ ```
32
+ Runs the complete setup wizard with all 29 questions covering:
33
+ - Brand identity & voice
34
+ - Target audience
35
+ - Writing style guidelines
36
+ - Content formatting
37
+ - SEO requirements
38
+ - Topics & boundaries
39
+ - Visual content preferences
40
+ - Prohibited words
41
+
42
+ ### Quick Setup Mode
43
+ ```bash
44
+ /myai-content-rules-setup --quick
45
+ ```
46
+ Asks only 5 essential questions:
47
+ 1. Brand name and description
48
+ 2. Target audience and expertise level
49
+ 3. Voice/tone preference
50
+ 4. Main content topics
51
+ 5. Words/topics to avoid
52
+
53
+ Uses smart defaults for all other settings.
54
+
55
+ ### Update Existing Rules
56
+ ```bash
57
+ /myai-content-rules-setup --update
58
+ ```
59
+ Reads your existing `content-rules.md` and lets you:
60
+ - Modify specific sections
61
+ - Add new rules
62
+ - Remove outdated rules
63
+ - Keep unchanged sections intact
64
+
65
+ ### Import from Style Guide
66
+ ```bash
67
+ /myai-content-rules-setup --import path/to/style-guide.pdf
68
+ ```
69
+ Analyzes an existing brand style guide and:
70
+ - Extracts brand voice and tone
71
+ - Identifies formatting preferences
72
+ - Pre-fills setup questions
73
+ - Asks for confirmation/adjustments
74
+
75
+ ### Preview Current Rules
76
+ ```bash
77
+ /myai-content-rules-setup --preview
78
+ ```
79
+ Displays a summary of your current content-rules.md settings.
80
+
81
+ ## Output
82
+
83
+ Creates or updates `content-rules.md` in your project root:
84
+
85
+ ```
86
+ ./content-rules.md
87
+ ```
88
+
89
+ ## Example Session
90
+
91
+ ```
92
+ User: /myai-content-rules-setup --quick
93
+
94
+ Agent: 👋 Quick Content Rules Setup
95
+
96
+ I'll ask 5 essential questions to create your content-rules.md.
97
+
98
+ Q1: What is your brand name and what do you do?
99
+ Example: "Acme Auth - We build authentication APIs for developers"
100
+
101
+ User: DevTools Pro - We create productivity tools for software engineers
102
+
103
+ Agent: Q2: Who is your audience and their expertise level?
104
+ a) Beginner developers
105
+ b) Intermediate developers
106
+ c) Senior/advanced developers
107
+ d) Mixed technical levels
108
+
109
+ User: c
110
+
111
+ Agent: Q3: How should your content sound?
112
+ a) Professional & formal
113
+ b) Professional & friendly
114
+ c) Conversational & casual
115
+ d) Technical & direct
116
+
117
+ User: d
118
+
119
+ Agent: Q4: List your 3 main content topics:
120
+
121
+ User: CLI tools, developer workflows, code automation
122
+
123
+ Agent: Q5: Any words or topics to avoid? (or type "none")
124
+
125
+ User: marketing jargon, "game-changing", "revolutionary"
126
+
127
+ Agent: ✅ Creating content-rules.md...
128
+
129
+ 📋 Summary:
130
+ - Brand: DevTools Pro
131
+ - Audience: Senior developers
132
+ - Voice: Technical & direct
133
+ - Topics: CLI tools, workflows, automation
134
+ - Banned: marketing jargon, game-changing, revolutionary
135
+
136
+ ✅ Generated content-rules.md
137
+
138
+ Your content-writer agent will now use these rules.
139
+ Run /myai-content-rules-setup to access all settings.
140
+ ```
141
+
142
+ ## Integration
143
+
144
+ ### With content-writer Agent
145
+ The content-writer automatically applies rules from content-rules.md:
146
+
147
+ ```bash
148
+ /myai-content-writer "How to build a CLI tool" --word_count 1500
149
+ # Applies your brand voice, style, and formatting rules
150
+ ```
151
+
152
+ ### With visual-content-generator Agent
153
+ Visual preferences are passed to image generation:
154
+
155
+ ```bash
156
+ /myai-generate-visual "Developer workflow diagram"
157
+ # Uses your visual style preferences from content-rules.md
158
+ ```
159
+
160
+ ## Sections Configured
161
+
162
+ | Section | What It Controls |
163
+ |---------|------------------|
164
+ | Brand Voice | Tone, personality, writing style |
165
+ | Audience | Technical level, goals, pain points |
166
+ | Formatting | Headings, lists, paragraphs, code blocks |
167
+ | SEO | Keywords, meta descriptions, CTAs |
168
+ | Topics | Focus areas, competitor handling |
169
+ | Visuals | Image style, infographic preferences |
170
+ | Prohibited | Banned words and phrases |
171
+
172
+ ## Tips
173
+
174
+ 1. **Start with --quick**: Get started fast, refine later
175
+ 2. **Provide examples**: Real content samples help capture your voice
176
+ 3. **Update regularly**: Run --update as your brand evolves
177
+ 4. **Team consistency**: Commit content-rules.md to version control
178
+ 5. **Test output**: Generate a sample article to verify rules work
179
+
180
+ ## Related Commands
181
+
182
+ - `/myai-content-writer` - Generate content using your rules
183
+ - `/myai-generate-visual` - Generate visuals matching your style
184
+ - `/myai-coordinate-content` - Batch content production
185
+
186
+ ## Troubleshooting
187
+
188
+ ### Rules not being applied?
189
+ 1. Verify content-rules.md exists in project root
190
+ 2. Check file is valid markdown
191
+ 3. Run `/myai-content-rules-setup --preview` to verify
192
+
193
+ ### Want to start over?
194
+ ```bash
195
+ rm content-rules.md
196
+ /myai-content-rules-setup
197
+ ```
198
+
199
+ ### Need more customization?
200
+ Run full setup instead of --quick:
201
+ ```bash
202
+ /myai-content-rules-setup
203
+ # Accesses all 29 configuration options
204
+ ```
@@ -0,0 +1,186 @@
1
+ ---
2
+ name: myai-convert-html
3
+ description: Convert HTML templates to PNG, PDF, or PPTX formats for precise visual content
4
+ ---
5
+
6
+ # HTML Conversion Tool
7
+
8
+ Convert HTML templates and D2 diagrams to images, PDFs, and presentations with pixel-perfect accuracy.
9
+
10
+ ## When to Use This Tool
11
+
12
+ Use HTML conversion when you need:
13
+ - **Data-driven infographics** with precise numbers and text
14
+ - **Comparison tables** with exact formatting
15
+ - **Process diagrams** with specific labels
16
+ - **Architecture diagrams** using D2 language
17
+ - **Presentation slides** (PPTX) from HTML content
18
+
19
+ ## Available Commands
20
+
21
+ ### List Templates
22
+ ```bash
23
+ node src/scripts/html-conversion-cli.js list
24
+ ```
25
+
26
+ ### Convert HTML Template
27
+ ```bash
28
+ # Basic usage
29
+ node src/scripts/html-conversion-cli.js template data-chart --data '{"title":"Sales Report","items":[...]}' --format png
30
+
31
+ # With output file
32
+ node src/scripts/html-conversion-cli.js template comparison-table --data data.json --output comparison.png
33
+ ```
34
+
35
+ ### Convert D2 Diagram
36
+ ```bash
37
+ # From inline script
38
+ node src/scripts/html-conversion-cli.js d2 "user -> api -> database" --format png
39
+
40
+ # From file
41
+ node src/scripts/html-conversion-cli.js d2 diagram.d2 --format svg --theme 200
42
+ ```
43
+
44
+ ### Convert D2 Template
45
+ ```bash
46
+ node src/scripts/html-conversion-cli.js d2-template architecture --data '{"title":"System Design",...}' --format svg
47
+ ```
48
+
49
+ ### Convert Raw HTML
50
+ ```bash
51
+ node src/scripts/html-conversion-cli.js html custom.html --format pdf
52
+ ```
53
+
54
+ ### Generate PPTX
55
+ ```bash
56
+ # From directory of HTML slides
57
+ node src/scripts/html-conversion-cli.js pptx ./slides/ --output presentation.pptx
58
+
59
+ # From JSON configuration
60
+ node src/scripts/html-conversion-cli.js pptx slides.json --title "Q4 Report" --author "Team"
61
+ ```
62
+
63
+ ## Built-in Templates
64
+
65
+ ### HTML Templates
66
+
67
+ 1. **data-chart** - Bar/pie charts with data visualization
68
+ ```json
69
+ {
70
+ "title": "Revenue by Region",
71
+ "chartType": "bar",
72
+ "items": [
73
+ {"label": "North America", "value": 45, "percentage": 90, "color": "#3b82f6"},
74
+ {"label": "Europe", "value": 32, "percentage": 64, "color": "#10b981"}
75
+ ]
76
+ }
77
+ ```
78
+
79
+ 2. **comparison-table** - Side-by-side feature comparisons
80
+ ```json
81
+ {
82
+ "title": "Plan Comparison",
83
+ "layout": "table",
84
+ "columns": [{"name": "Basic"}, {"name": "Pro", "highlight": true}],
85
+ "rows": [{"feature": "Users", "values": [{"text": "5"}, {"text": "Unlimited"}]}]
86
+ }
87
+ ```
88
+
89
+ 3. **process-flow** - Step-by-step process diagrams
90
+ ```json
91
+ {
92
+ "title": "Development Workflow",
93
+ "layout": "vertical",
94
+ "steps": [
95
+ {"number": 1, "title": "Planning", "description": "Define requirements"}
96
+ ]
97
+ }
98
+ ```
99
+
100
+ ### D2 Templates
101
+
102
+ 1. **architecture** - System architecture diagrams
103
+ 2. **flowchart** - Decision flowcharts
104
+ 3. **sequence** - Sequence diagrams
105
+
106
+ ## HTML vs AI Image Generation
107
+
108
+ | Use Case | Recommended Tool |
109
+ |----------|-----------------|
110
+ | Infographics with exact data | HTML Conversion |
111
+ | Creative/artistic images | AI Image Generation |
112
+ | Diagrams with specific text | HTML/D2 Conversion |
113
+ | Photorealistic scenes | AI Image Generation |
114
+ | Presentations/slides | HTML → PPTX |
115
+ | Charts and graphs | HTML Conversion |
116
+
117
+ ## Example Workflow
118
+
119
+ 1. **Create data file** (data.json):
120
+ ```json
121
+ {
122
+ "title": "Q4 Performance Report",
123
+ "subtitle": "Year over Year Growth",
124
+ "chartType": "bar",
125
+ "items": [
126
+ {"label": "Revenue", "value": "$2.4M", "percentage": 85, "color": "#3b82f6"},
127
+ {"label": "Users", "value": "150K", "percentage": 72, "color": "#10b981"},
128
+ {"label": "Retention", "value": "94%", "percentage": 94, "color": "#f59e0b"}
129
+ ],
130
+ "source": "Internal Analytics"
131
+ }
132
+ ```
133
+
134
+ 2. **Generate PNG**:
135
+ ```bash
136
+ node src/scripts/html-conversion-cli.js template data-chart --data data.json --format png --output q4-report.png
137
+ ```
138
+
139
+ 3. **Generate PDF**:
140
+ ```bash
141
+ node src/scripts/html-conversion-cli.js template data-chart --data data.json --format pdf --output q4-report.pdf
142
+ ```
143
+
144
+ ## D2 Diagram Quick Reference
145
+
146
+ D2 is a declarative diagram language. Quick syntax:
147
+
148
+ ```d2
149
+ # Nodes
150
+ user: User {shape: person}
151
+ api: API Server
152
+ db: Database {shape: cylinder}
153
+
154
+ # Connections
155
+ user -> api: HTTP
156
+ api -> db: SQL
157
+
158
+ # Grouping
159
+ backend: Backend {
160
+ api
161
+ db
162
+ }
163
+ ```
164
+
165
+ Install D2: `curl -fsSL https://d2lang.com/install.sh | sh`
166
+
167
+ ## Tips
168
+
169
+ 1. **Preview templates** before generating final output:
170
+ ```bash
171
+ node src/scripts/html-conversion-cli.js preview data-chart
172
+ ```
173
+
174
+ 2. **Use high DPI** for print quality:
175
+ ```bash
176
+ node src/scripts/html-conversion-cli.js template data-chart --data data.json --scale 3
177
+ ```
178
+
179
+ 3. **Custom styling** via template data:
180
+ ```json
181
+ {
182
+ "accentColor": "#6366f1",
183
+ "accentGradient": "#4f46e5",
184
+ "backgroundColor": "#fafafa"
185
+ }
186
+ ```
@@ -0,0 +1,85 @@
1
+ ---
2
+ name: myai-content-rules-setup
3
+ description: Interactive setup wizard for content generation rules, brand voice, and style guidelines
4
+ usage: myai-content-rules-setup [--quick] [--update] [--preview]
5
+ ---
6
+
7
+ # Content Rules Setup Command
8
+
9
+ ## Purpose
10
+
11
+ Launch an interactive Q&A wizard to create or update your `content-rules.md` file, which controls how the content-writer generates content for your brand.
12
+
13
+ ## Usage
14
+
15
+ ### Full Interactive Setup
16
+ ```bash
17
+ myai-content-rules-setup
18
+ ```
19
+ Runs complete setup with all questions covering:
20
+ - Brand identity & voice
21
+ - Target audience
22
+ - Writing style
23
+ - Content formatting
24
+ - SEO requirements
25
+ - Topics & boundaries
26
+ - Visual preferences
27
+ - Prohibited words
28
+
29
+ ### Quick Setup (5 Questions)
30
+ ```bash
31
+ myai-content-rules-setup --quick
32
+ ```
33
+ Essential questions only:
34
+ 1. Brand name and description
35
+ 2. Target audience and expertise level
36
+ 3. Voice/tone preference
37
+ 4. Main content topics
38
+ 5. Words/topics to avoid
39
+
40
+ ### Update Existing Rules
41
+ ```bash
42
+ myai-content-rules-setup --update
43
+ ```
44
+ Modify specific sections of existing content-rules.md.
45
+
46
+ ### Preview Current Rules
47
+ ```bash
48
+ myai-content-rules-setup --preview
49
+ ```
50
+ Display summary of current content-rules.md settings.
51
+
52
+ ## Output
53
+
54
+ Creates or updates `content-rules.md` in your project root.
55
+
56
+ ## Integration
57
+
58
+ - **content-writer**: Automatically applies rules from content-rules.md
59
+ - **visual-content-generator**: Uses visual style preferences for image generation
60
+
61
+ ## Example Quick Setup
62
+
63
+ ```
64
+ Q1: What is your brand name and what do you do?
65
+ > DevTools Pro - Developer productivity tools
66
+
67
+ Q2: Who is your audience? (beginner/intermediate/advanced/mixed)
68
+ > advanced
69
+
70
+ Q3: How should content sound? (formal/friendly/casual/technical)
71
+ > technical
72
+
73
+ Q4: List your 3 main content topics:
74
+ > CLI tools, automation, developer workflows
75
+
76
+ Q5: Words or topics to avoid? (or "none")
77
+ > marketing jargon, buzzwords
78
+
79
+ ✅ Generated content-rules.md
80
+ ```
81
+
82
+ ## Related Commands
83
+
84
+ - `myai-content-writer` - Generate content using your rules
85
+ - `myai-generate-visual` - Generate visuals matching your style
@@ -0,0 +1,52 @@
1
+ # Architecture Diagram Template
2
+ # Variables: {{title}}, {{direction}}, {{components}}, {{connections}}
3
+ # Theme: 200 (Terminal theme) by default
4
+
5
+ # Layout direction
6
+ direction: {{direction || 'right'}}
7
+
8
+ # Title (optional)
9
+ {{#title}}
10
+ title: {{title}} {
11
+ near: top-center
12
+ shape: text
13
+ style: {
14
+ font-size: 24
15
+ bold: true
16
+ }
17
+ }
18
+ {{/title}}
19
+
20
+ # Component definitions
21
+ {{#components}}
22
+ {{id}}: {{label}} {
23
+ {{#shape}}shape: {{shape}}{{/shape}}
24
+ {{#icon}}icon: {{icon}}{{/icon}}
25
+ {{#style}}
26
+ style: {
27
+ {{#fill}}fill: "{{fill}}"{{/fill}}
28
+ {{#stroke}}stroke: "{{stroke}}"{{/stroke}}
29
+ {{#fontSize}}font-size: {{fontSize}}{{/fontSize}}
30
+ }
31
+ {{/style}}
32
+ {{#children}}
33
+ {{#children}}
34
+ {{id}}: {{label}} {
35
+ {{#shape}}shape: {{shape}}{{/shape}}
36
+ }
37
+ {{/children}}
38
+ {{/children}}
39
+ }
40
+ {{/components}}
41
+
42
+ # Connections
43
+ {{#connections}}
44
+ {{from}} -> {{to}}{{#label}}: {{label}}{{/label}} {
45
+ {{#style}}
46
+ style: {
47
+ {{#stroke}}stroke: "{{stroke}}"{{/stroke}}
48
+ {{#strokeDash}}stroke-dash: {{strokeDash}}{{/strokeDash}}
49
+ }
50
+ {{/style}}
51
+ }
52
+ {{/connections}}
@@ -0,0 +1,42 @@
1
+ # Flowchart Template
2
+ # Variables: {{title}}, {{direction}}, {{nodes}}, {{edges}}
3
+ # Shapes: rectangle, diamond (decision), oval, parallelogram, cylinder
4
+
5
+ direction: {{direction || 'down'}}
6
+
7
+ # Title
8
+ {{#title}}
9
+ title: {{title}} {
10
+ near: top-center
11
+ shape: text
12
+ style: {
13
+ font-size: 24
14
+ bold: true
15
+ }
16
+ }
17
+ {{/title}}
18
+
19
+ # Node definitions
20
+ {{#nodes}}
21
+ {{id}}: {{label}} {
22
+ shape: {{shape || 'rectangle'}}
23
+ {{#style}}
24
+ style: {
25
+ {{#fill}}fill: "{{fill}}"{{/fill}}
26
+ {{#stroke}}stroke: "{{stroke}}"{{/stroke}}
27
+ {{#fontColor}}font-color: "{{fontColor}}"{{/fontColor}}
28
+ }
29
+ {{/style}}
30
+ }
31
+ {{/nodes}}
32
+
33
+ # Edges/Connections
34
+ {{#edges}}
35
+ {{from}} -> {{to}}{{#label}}: {{label}}{{/label}} {
36
+ {{#style}}
37
+ style: {
38
+ {{#stroke}}stroke: "{{stroke}}"{{/stroke}}
39
+ }
40
+ {{/style}}
41
+ }
42
+ {{/edges}}
@@ -0,0 +1,47 @@
1
+ # Sequence Diagram Template
2
+ # Variables: {{title}}, {{actors}}, {{messages}}
3
+
4
+ shape: sequence_diagram
5
+
6
+ # Title
7
+ {{#title}}
8
+ title: {{title}} {
9
+ near: top-center
10
+ shape: text
11
+ style: {
12
+ font-size: 24
13
+ bold: true
14
+ }
15
+ }
16
+ {{/title}}
17
+
18
+ # Actor definitions
19
+ {{#actors}}
20
+ {{id}}: {{label}} {
21
+ {{#shape}}shape: {{shape}}{{/shape}}
22
+ {{#style}}
23
+ style: {
24
+ {{#fill}}fill: "{{fill}}"{{/fill}}
25
+ }
26
+ {{/style}}
27
+ }
28
+ {{/actors}}
29
+
30
+ # Messages/Interactions
31
+ {{#messages}}
32
+ {{from}} -> {{to}}: {{label}} {
33
+ {{#style}}
34
+ style: {
35
+ {{#stroke}}stroke: "{{stroke}}"{{/stroke}}
36
+ {{#strokeDash}}stroke-dash: {{strokeDash}}{{/strokeDash}}
37
+ }
38
+ {{/style}}
39
+ }
40
+ {{#response}}
41
+ {{to}} -> {{from}}: {{response}} {
42
+ style: {
43
+ stroke-dash: 3
44
+ }
45
+ }
46
+ {{/response}}
47
+ {{/messages}}