@mcp-consultant-tools/azure-devops 30.0.0-beta.1 → 30.0.0-beta.3

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.
@@ -1 +1 @@
1
- {"version":3,"file":"design-system-prompt.d.ts","sourceRoot":"","sources":["../../src/genui/design-system-prompt.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,oBAAoB,QA+HzB,CAAC"}
1
+ {"version":3,"file":"design-system-prompt.d.ts","sourceRoot":"","sources":["../../src/genui/design-system-prompt.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,oBAAoB,QA8JzB,CAAC"}
@@ -23,22 +23,47 @@ Follow these rules precisely to produce consistent, attractive, interactive outp
23
23
  - Headings: 20px (h2), 16px (h3), 14px bold (h4)
24
24
  - Line height: 1.5
25
25
 
26
- ### Color Palette (Light Theme)
27
- - Background: #FFFFFF
28
- - Surface/card background: #F8F9FA
29
- - Text primary: #1A1A1A
30
- - Text secondary: #6B7280
31
- - Border: #E5E7EB
32
- - Link: #0078D4
33
-
34
- ### ADO State Colors
26
+ ### Theme CSS Variables (CRITICAL)
27
+ Always define CSS variables for BOTH light and dark themes using \`prefers-color-scheme\`.
28
+ This ensures the visualization adapts to the host app's theme automatically.
29
+
30
+ \`\`\`css
31
+ :root {
32
+ --bg: #FFFFFF;
33
+ --surface: #F8F9FA;
34
+ --text: #1A1A1A;
35
+ --text-secondary: #6B7280;
36
+ --border: #E5E7EB;
37
+ --link: #0078D4;
38
+ --hover: #F0F4FF;
39
+ }
40
+ @media (prefers-color-scheme: dark) {
41
+ :root {
42
+ --bg: #1E1E1E;
43
+ --surface: #2D2D2D;
44
+ --text: #E5E7EB;
45
+ --text-secondary: #9CA3AF;
46
+ --border: #404040;
47
+ --link: #4DA6FF;
48
+ --hover: #2A2D35;
49
+ }
50
+ }
51
+ \`\`\`
52
+
53
+ If the theme parameter is explicitly "dark", ALSO duplicate the dark values as the default
54
+ (outside the media query) so dark mode always applies regardless of system setting.
55
+
56
+ **Use these CSS variables for ALL colors.** Never hardcode \`#1A1A1A\` or \`#FFFFFF\` directly.
57
+ Example: \`color: var(--text)\`, \`background: var(--surface)\`, \`border-color: var(--border)\`.
58
+
59
+ ### ADO State Colors (fixed — work on both light and dark)
35
60
  - New: #007ACC (blue)
36
61
  - Active / In Progress: #009900 (green)
37
62
  - Resolved: #FF9D00 (amber)
38
63
  - Closed / Done / Completed: #6B7280 (grey)
39
64
  - Removed: #CC0000 (red)
40
65
 
41
- ### Work Item Type Colors
66
+ ### Work Item Type Colors (fixed)
42
67
  - Epic: #FF7B00
43
68
  - Feature: #773B93
44
69
  - User Story: #009CCC
@@ -47,34 +72,49 @@ Follow these rules precisely to produce consistent, attractive, interactive outp
47
72
 
48
73
  ### Layout
49
74
  - Use CSS Flexbox or Grid for layout.
50
- - Cards: \`border-radius: 8px; border: 1px solid #E5E7EB; padding: 16px; background: #F8F9FA\`
51
- - Card grid: \`display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px\`
75
+ - Root div: \`background: var(--bg); color: var(--text); padding: 24px\`
76
+ - Cards: \`border-radius: 8px; border: 1px solid var(--border); padding: 16px; background: var(--surface)\`
77
+ - Card grid: \`display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px\`
52
78
  - Section spacing: \`margin-bottom: 24px\`
53
79
 
54
80
  ### KPI Cards
55
81
  For summary metrics, use KPI cards at the top:
56
82
  \`\`\`html
57
- <div style="text-align:center; padding:16px; background:#F8F9FA; border-radius:8px; border:1px solid #E5E7EB">
58
- <div style="font-size:28px; font-weight:700; color:#1A1A1A">42</div>
59
- <div style="font-size:12px; color:#6B7280; text-transform:uppercase; letter-spacing:0.5px">Total Items</div>
83
+ <div style="text-align:center; padding:16px; background:var(--surface); border-radius:8px; border:1px solid var(--border)">
84
+ <div style="font-size:28px; font-weight:700; color:var(--text)">42</div>
85
+ <div style="font-size:12px; color:var(--text-secondary); text-transform:uppercase; letter-spacing:0.5px">Total Items</div>
60
86
  </div>
61
87
  \`\`\`
62
88
 
63
89
  ### Tables
64
90
  - Full width, border-collapse
65
- - Header: \`background:#F8F9FA; font-weight:600; text-align:left; padding:8px 12px; border-bottom:2px solid #E5E7EB\`
66
- - Cells: \`padding:8px 12px; border-bottom:1px solid #E5E7EB\`
67
- - Hover: \`background:#F0F4FF\`
91
+ - Header: \`background:var(--surface); font-weight:600; text-align:left; padding:8px 12px; border-bottom:2px solid var(--border); color:var(--text)\`
92
+ - Cells: \`padding:8px 12px; border-bottom:1px solid var(--border); color:var(--text)\`
93
+ - Hover: \`background:var(--hover)\`
68
94
  - Add sortable column headers with onclick handlers when appropriate
69
95
 
70
- ### Charts
71
- - For complex charts (bar, line, pie, doughnut): use Chart.js from CDN
72
- \`<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>\`
73
- - For simple charts (donut, progress bars): use inline SVG
74
- - Chart.js canvas: \`<canvas id="chart-{unique}" style="max-height:300px"></canvas>\`
75
- - Initialize Chart.js in a \`<script>\` tag after the canvas element
76
- - Always set \`responsive: true\` and \`maintainAspectRatio: false\` in Chart.js options
77
- - Use the ADO state/type colors defined above
96
+ ### Charts (IMPORTANT — loading order)
97
+ - For complex charts: use Chart.js from CDN.
98
+ - **CRITICAL loading pattern**: Chart.js loads asynchronously. You MUST wait for it before initializing charts:
99
+ \`\`\`html
100
+ <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
101
+ <canvas id="myChart" style="max-height:300px"></canvas>
102
+ <script>
103
+ (function initChart() {
104
+ if (typeof Chart === 'undefined') {
105
+ setTimeout(initChart, 50);
106
+ return;
107
+ }
108
+ new Chart(document.getElementById('myChart'), { /* config */ });
109
+ })();
110
+ </script>
111
+ \`\`\`
112
+ - Never put chart initialization code in the same \`<script>\` tag as the CDN import.
113
+ - Always set \`responsive: true\` and \`maintainAspectRatio: false\` in Chart.js options.
114
+ - For Chart.js text colors, use: \`color: getComputedStyle(document.documentElement).getPropertyValue('--text').trim()\`
115
+ - For Chart.js grid colors, use the \`--border\` variable similarly.
116
+ - For simple visuals (donut, progress bars): prefer inline SVG over Chart.js (no loading delay).
117
+ - Use the ADO state/type colors defined above for data series.
78
118
 
79
119
  ### Interactivity
80
120
 
@@ -82,13 +122,13 @@ For summary metrics, use KPI cards at the top:
82
122
  Every work item ID must be a clickable link opening in a new tab:
83
123
  \`\`\`html
84
124
  <a href="https://dev.azure.com/{org}/{project}/_workitems/edit/{id}" target="_blank"
85
- style="color:#0078D4; text-decoration:none; font-weight:600">#{id}</a>
125
+ style="color:var(--link); text-decoration:none; font-weight:600">#{id}</a>
86
126
  \`\`\`
87
127
 
88
128
  #### CSV Download Button
89
129
  Include a download button that generates a CSV from the displayed data:
90
130
  \`\`\`html
91
- <button onclick="downloadCsv()" style="padding:6px 14px; background:#0078D4; color:white;
131
+ <button onclick="downloadCsv()" style="padding:6px 14px; background:var(--link); color:white;
92
132
  border:none; border-radius:4px; cursor:pointer; font-size:13px">Download CSV</button>
93
133
  \`\`\`
94
134
  The \`downloadCsv()\` function should:
@@ -112,15 +152,6 @@ Add sort functionality to table headers:
112
152
  - Never load scripts from domains other than \`cdn.jsdelivr.net\`.
113
153
  - Never submit data to external URLs.
114
154
 
115
- ### Dark Theme (when theme="dark")
116
- If the theme parameter is "dark", override these colors:
117
- - Background: #1A1A1A
118
- - Surface/card: #2D2D2D
119
- - Text primary: #E5E7EB
120
- - Text secondary: #9CA3AF
121
- - Border: #404040
122
- - Keep ADO state and type colors unchanged (they work on dark backgrounds)
123
-
124
155
  ### Content Structure
125
156
  1. **Title bar**: Visualization title + item count + download CSV button
126
157
  2. **KPI cards**: Key metrics in a grid (total, by state, etc.)
@@ -1 +1 @@
1
- {"version":3,"file":"design-system-prompt.js","sourceRoot":"","sources":["../../src/genui/design-system-prompt.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,oBAAoB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+HnC,CAAC,IAAI,EAAE,CAAC"}
1
+ {"version":3,"file":"design-system-prompt.js","sourceRoot":"","sources":["../../src/genui/design-system-prompt.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,oBAAoB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8JnC,CAAC,IAAI,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"visualize-tools.d.ts","sourceRoot":"","sources":["../../src/tools/visualize-tools.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,cAAc,GAAG,IAAI,CAgI7E"}
1
+ {"version":3,"file":"visualize-tools.d.ts","sourceRoot":"","sources":["../../src/tools/visualize-tools.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,cAAc,GAAG,IAAI,CAsJ7E"}
@@ -14,21 +14,40 @@ import { sanitizeGenUiHtml } from '../genui/sanitize-html.js';
14
14
  export function registerVisualizeTools(server, ctx) {
15
15
  const workItemsResourceUri = "ui://ado/work-items";
16
16
  // Tool 1: Fetch data and instruct host LLM to generate HTML
17
- server.tool("visualize-data", "Fetch work item data and prepare it for interactive visualization. Returns raw data + design system rules. " +
18
- "After receiving this response, you MUST generate a complete HTML snippet following the design system rules, " +
19
- "then call the render-visualization tool with the generated HTML. Do not skip the render step.", {
17
+ server.tool("visualize-data", "Fetch work item data and prepare it for interactive visualization. Accepts either a WIQL query or a saved query ID (GUID). " +
18
+ "Returns raw data + design system rules. After receiving this response, you MUST generate a complete HTML snippet " +
19
+ "following the design system rules, then call the render-visualization tool with the generated HTML. Do not skip the render step.", {
20
20
  project: z.string().describe("The ADO project name"),
21
- wiql: z.string().describe("WIQL query to fetch work items. Example: SELECT [System.Id], [System.Title], [System.State], " +
21
+ wiql: z.string().optional().describe("WIQL query to fetch work items. Provide either wiql OR queryId, not both. " +
22
+ "Example: SELECT [System.Id], [System.Title], [System.State], " +
22
23
  "[System.WorkItemType], [System.AssignedTo] FROM WorkItems WHERE [System.TeamProject] = 'MyProject' " +
23
24
  "AND [System.State] <> 'Removed' ORDER BY [System.ChangedDate] DESC"),
25
+ queryId: z.string().optional().describe("Saved query GUID. Provide either queryId OR wiql, not both. " +
26
+ "Found in ADO query URLs: https://dev.azure.com/{org}/{project}/_queries/query/{queryId}/"),
24
27
  intent: z.string().describe("What visualization to create. Examples: 'sprint status dashboard', 'burndown chart', " +
25
28
  "'team workload by assignee', 'priority breakdown', 'bug trend over time'"),
26
29
  theme: z.enum(["light", "dark"]).optional().describe("Color theme (default: light)"),
27
- maxResults: z.number().optional().describe("Maximum work items to fetch (default: 200)"),
28
- }, async ({ project, wiql, intent, theme, maxResults }) => {
30
+ maxResults: z.number().optional().describe("Maximum work items to fetch (default: 20 for visualization)"),
31
+ }, async ({ project, wiql, queryId, intent, theme, maxResults }) => {
29
32
  try {
30
- const result = await ctx.workItem.queryWorkItems(project, wiql, maxResults);
31
- const items = Array.isArray(result) ? result : result?.workItems ?? result;
33
+ if (!wiql && !queryId) {
34
+ return {
35
+ content: [{ type: "text", text: "Error: Provide either 'wiql' or 'queryId' parameter." }],
36
+ isError: true,
37
+ };
38
+ }
39
+ const effectiveMaxResults = maxResults ?? 20;
40
+ let items;
41
+ if (queryId) {
42
+ // Execute saved query
43
+ const result = await ctx.workItem.runSavedQuery(project, queryId, effectiveMaxResults);
44
+ items = Array.isArray(result) ? result : result?.workItems ?? [];
45
+ }
46
+ else {
47
+ // Execute WIQL query
48
+ const result = await ctx.workItem.queryWorkItems(project, wiql, effectiveMaxResults);
49
+ items = Array.isArray(result) ? result : result?.workItems ?? result;
50
+ }
32
51
  const itemCount = Array.isArray(items) ? items.length : 0;
33
52
  const org = process.env.AZUREDEVOPS_ORGANIZATION || 'unknown-org';
34
53
  const effectiveTheme = theme || 'light';
@@ -1 +1 @@
1
- {"version":3,"file":"visualize-tools.js","sourceRoot":"","sources":["../../src/tools/visualize-tools.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAG9D,MAAM,UAAU,sBAAsB,CAAC,MAAW,EAAE,GAAmB;IACrE,MAAM,oBAAoB,GAAG,qBAAqB,CAAC;IAEnD,4DAA4D;IAC5D,MAAM,CAAC,IAAI,CACT,gBAAgB,EAChB,6GAA6G;QAC7G,8GAA8G;QAC9G,+FAA+F,EAC/F;QACE,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC;QACpD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CACvB,+FAA+F;YAC/F,qGAAqG;YACrG,oEAAoE,CACrE;QACD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CACzB,uFAAuF;YACvF,0EAA0E,CAC3E;QACD,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,C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cp-consultant-tools/azure-devops",
3
- "version": "30.0.0-beta.1",
3
+ "version": "30.0.0-beta.3",
4
4
  "description": "MCP server for Azure DevOps integration - wikis, work items, pull requests, and variable group read access",
5
5
  "type": "module",
6
6
  "main": "./build/index.js",