@bugzy-ai/bugzy 1.8.0 → 1.9.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.
- package/LICENSE +21 -21
- package/README.md +273 -273
- package/dist/cli/index.cjs +294 -39
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.js +293 -38
- package/dist/cli/index.js.map +1 -1
- package/dist/index.cjs +265 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +265 -10
- package/dist/index.js.map +1 -1
- package/dist/subagents/index.cjs +250 -10
- package/dist/subagents/index.cjs.map +1 -1
- package/dist/subagents/index.js +250 -10
- package/dist/subagents/index.js.map +1 -1
- package/dist/subagents/metadata.cjs +9 -0
- package/dist/subagents/metadata.cjs.map +1 -1
- package/dist/subagents/metadata.js +9 -0
- package/dist/subagents/metadata.js.map +1 -1
- package/dist/tasks/index.cjs.map +1 -1
- package/dist/tasks/index.js.map +1 -1
- package/package.json +95 -95
- package/templates/init/.bugzy/runtime/knowledge-base.md +61 -61
- package/templates/init/.bugzy/runtime/knowledge-maintenance-guide.md +97 -97
- package/templates/init/.bugzy/runtime/project-context.md +35 -35
- package/templates/init/.bugzy/runtime/subagent-memory-guide.md +87 -87
- package/templates/init/.bugzy/runtime/templates/test-plan-template.md +50 -50
- package/templates/init/.bugzy/runtime/templates/test-result-schema.md +498 -498
- package/templates/init/.bugzy/runtime/test-execution-strategy.md +535 -535
- package/templates/init/.bugzy/runtime/testing-best-practices.md +724 -724
- package/templates/init/.env.testdata +18 -18
- package/templates/init/.gitignore-template +24 -24
- package/templates/init/AGENTS.md +155 -155
- package/templates/init/CLAUDE.md +157 -157
- package/templates/init/test-runs/README.md +45 -45
- package/templates/playwright/BasePage.template.ts +190 -190
- package/templates/playwright/auth.setup.template.ts +89 -89
- package/templates/playwright/dataGenerators.helper.template.ts +148 -148
- package/templates/playwright/dateUtils.helper.template.ts +96 -96
- package/templates/playwright/pages.fixture.template.ts +50 -50
- package/templates/playwright/playwright.config.template.ts +97 -97
- package/templates/playwright/reporters/bugzy-reporter.ts +454 -454
- package/dist/templates/init/.bugzy/runtime/knowledge-base.md +0 -61
- package/dist/templates/init/.bugzy/runtime/knowledge-maintenance-guide.md +0 -97
- package/dist/templates/init/.bugzy/runtime/project-context.md +0 -35
- package/dist/templates/init/.bugzy/runtime/subagent-memory-guide.md +0 -87
- package/dist/templates/init/.bugzy/runtime/templates/test-plan-template.md +0 -50
- package/dist/templates/init/.bugzy/runtime/templates/test-result-schema.md +0 -498
- package/dist/templates/init/.bugzy/runtime/test-execution-strategy.md +0 -535
- package/dist/templates/init/.bugzy/runtime/testing-best-practices.md +0 -632
- package/dist/templates/init/.gitignore-template +0 -25
package/dist/cli/index.cjs
CHANGED
|
@@ -31,12 +31,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
31
31
|
));
|
|
32
32
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/tsup@8.5.
|
|
34
|
+
// node_modules/.pnpm/tsup@8.5.1_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/cjs_shims.js
|
|
35
35
|
var getImportMetaUrl, importMetaUrl;
|
|
36
36
|
var init_cjs_shims = __esm({
|
|
37
|
-
"node_modules/.pnpm/tsup@8.5.
|
|
37
|
+
"node_modules/.pnpm/tsup@8.5.1_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/cjs_shims.js"() {
|
|
38
38
|
"use strict";
|
|
39
|
-
getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src
|
|
39
|
+
getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.tagName.toUpperCase() === "SCRIPT" ? document.currentScript.src : new URL("main.js", document.baseURI).href;
|
|
40
40
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
41
41
|
}
|
|
42
42
|
});
|
|
@@ -5040,9 +5040,237 @@ You are meticulous about maintaining your memory file as a critical resource for
|
|
|
5040
5040
|
// src/subagents/templates/issue-tracker/jira-server.ts
|
|
5041
5041
|
init_cjs_shims();
|
|
5042
5042
|
|
|
5043
|
-
// src/subagents/templates/issue-tracker/
|
|
5043
|
+
// src/subagents/templates/issue-tracker/azure-devops.ts
|
|
5044
5044
|
init_cjs_shims();
|
|
5045
5045
|
var FRONTMATTER12 = {
|
|
5046
|
+
name: "issue-tracker",
|
|
5047
|
+
description: `Use this agent to track and manage all types of work items including bugs, user stories, and tasks in Azure DevOps. This agent creates detailed work item reports, manages lifecycle through state changes, handles story transitions for QA workflows, and maintains comprehensive tracking of all project work items. Examples: <example>Context: Automated tests found multiple failures that need tracking.
|
|
5048
|
+
user: "5 tests failed in the checkout flow - payment validation is broken"
|
|
5049
|
+
assistant: "I'll use the issue-tracker agent to create Azure DevOps bugs for these failures with detailed reproduction steps and test evidence."
|
|
5050
|
+
<commentary>Since multiple test failures were discovered, use the issue-tracker agent to create comprehensive Azure DevOps work items, check for duplicates using WIQL, and properly categorize each bug with appropriate priority and area path.</commentary></example> <example>Context: Moving a user story through the QA workflow.
|
|
5051
|
+
user: "User Story 456 has been verified on staging and is ready for production"
|
|
5052
|
+
assistant: "Let me use the issue-tracker agent to update work item 456 state to Done and add QA sign-off comments."
|
|
5053
|
+
<commentary>Use the issue-tracker agent to manage work item state transitions and document QA validation results.</commentary></example>`,
|
|
5054
|
+
model: "sonnet",
|
|
5055
|
+
color: "red"
|
|
5056
|
+
};
|
|
5057
|
+
var CONTENT12 = `You are an expert Issue Tracker specializing in managing all types of work items including bugs, user stories, features, and tasks in Azure DevOps. Your primary responsibility is to track work items discovered during testing, manage state transitions through QA workflows, and ensure all items are properly documented and resolved.
|
|
5058
|
+
|
|
5059
|
+
**Core Responsibilities:**
|
|
5060
|
+
|
|
5061
|
+
1. **Work Item Creation & Management**: Generate detailed work items (Bugs, User Stories, Tasks, Features) with appropriate content based on type. For bugs: reproduction steps and environment details. For stories: acceptance criteria and QA notes.
|
|
5062
|
+
|
|
5063
|
+
2. **Duplicate Detection**: Before creating new work items, search using WIQL for existing similar items to avoid duplicates and link related work.
|
|
5064
|
+
|
|
5065
|
+
3. **Lifecycle Management**: Track work item states, manage transitions (New \u2192 Active \u2192 Resolved \u2192 Closed), add comments, and ensure proper resolution.
|
|
5066
|
+
|
|
5067
|
+
4. ${MEMORY_READ_INSTRUCTIONS.replace(/{ROLE}/g, "issue-tracker")}
|
|
5068
|
+
|
|
5069
|
+
**Memory Sections for Issue Tracker (Azure DevOps)**:
|
|
5070
|
+
- Azure DevOps organization, project, and team configuration
|
|
5071
|
+
- Recently reported work items with their IDs and status
|
|
5072
|
+
- User stories currently in QA state
|
|
5073
|
+
- WIQL queries that work well for your project
|
|
5074
|
+
- Area path and iteration path mappings
|
|
5075
|
+
- Work item type configurations and custom fields
|
|
5076
|
+
- Common issue patterns and resolutions
|
|
5077
|
+
|
|
5078
|
+
**Operational Workflow:**
|
|
5079
|
+
|
|
5080
|
+
1. **Initial Check**: Always begin by reading \`.bugzy/runtime/memory/issue-tracker.md\` to load your Azure DevOps configuration and recent work item history
|
|
5081
|
+
|
|
5082
|
+
2. **Duplicate Detection**:
|
|
5083
|
+
- Check memory for recently reported similar work items
|
|
5084
|
+
- Use stored WIQL queries to search efficiently
|
|
5085
|
+
- Look for matching titles, descriptions, or error messages
|
|
5086
|
+
- Link related work items when found
|
|
5087
|
+
|
|
5088
|
+
3. **Work Item Creation**:
|
|
5089
|
+
- Use the project and area path from memory
|
|
5090
|
+
- Apply appropriate work item type, priority, and iteration
|
|
5091
|
+
- Include comprehensive details and reproduction steps
|
|
5092
|
+
- Set custom fields based on stored configuration
|
|
5093
|
+
|
|
5094
|
+
4. ${MEMORY_UPDATE_INSTRUCTIONS.replace(/{ROLE}/g, "issue-tracker")}
|
|
5095
|
+
|
|
5096
|
+
Specifically for issue-tracker (Azure DevOps), consider updating:
|
|
5097
|
+
- **Created Work Items**: Add newly created work items with their IDs
|
|
5098
|
+
- **Story Status**: Update tracking of stories currently in QA
|
|
5099
|
+
- **WIQL Patterns**: Save successful queries for future searches
|
|
5100
|
+
- **Field Configurations**: Track custom field reference names
|
|
5101
|
+
- Update pattern library with new work item types
|
|
5102
|
+
- Track resolution patterns and timeframes
|
|
5103
|
+
|
|
5104
|
+
**Memory File Structure** (\`.bugzy/runtime/memory/issue-tracker.md\`):
|
|
5105
|
+
\`\`\`markdown
|
|
5106
|
+
# Issue Tracker Memory
|
|
5107
|
+
|
|
5108
|
+
## Last Updated: [timestamp]
|
|
5109
|
+
|
|
5110
|
+
## Azure DevOps Configuration
|
|
5111
|
+
- Organization: my-org
|
|
5112
|
+
- Project: MyProject
|
|
5113
|
+
- Default Area Path: MyProject\\QA
|
|
5114
|
+
- Default Iteration: MyProject\\Sprint 15
|
|
5115
|
+
|
|
5116
|
+
## Work Item Types
|
|
5117
|
+
- Bug: For defects and issues
|
|
5118
|
+
- User Story: For features from user perspective
|
|
5119
|
+
- Task: For small work units
|
|
5120
|
+
- Feature: For larger feature groupings
|
|
5121
|
+
|
|
5122
|
+
## Common Field Reference Names
|
|
5123
|
+
- System.Title
|
|
5124
|
+
- System.Description
|
|
5125
|
+
- System.State
|
|
5126
|
+
- System.AssignedTo
|
|
5127
|
+
- System.AreaPath
|
|
5128
|
+
- System.IterationPath
|
|
5129
|
+
- Microsoft.VSTS.Common.Priority (1-4)
|
|
5130
|
+
- Microsoft.VSTS.Common.Severity (1 - Critical to 4 - Low)
|
|
5131
|
+
- System.Tags
|
|
5132
|
+
|
|
5133
|
+
## Workflow States
|
|
5134
|
+
- Bug: New \u2192 Active \u2192 Resolved \u2192 Closed
|
|
5135
|
+
- User Story: New \u2192 Active \u2192 Resolved \u2192 Closed
|
|
5136
|
+
- Task: To Do \u2192 Doing \u2192 Done
|
|
5137
|
+
|
|
5138
|
+
## Recent Work Items (Last 30 days)
|
|
5139
|
+
### Bugs
|
|
5140
|
+
- [Date] #1234: Login timeout on Chrome - State: Active - Area: MyProject\\Auth
|
|
5141
|
+
- [Date] #1235: Payment validation error - State: Resolved - Area: MyProject\\Payments
|
|
5142
|
+
[etc.]
|
|
5143
|
+
|
|
5144
|
+
### Stories in QA
|
|
5145
|
+
- [Date] #1240: User authentication story - Sprint 15
|
|
5146
|
+
- [Date] #1241: Payment integration - Sprint 15
|
|
5147
|
+
|
|
5148
|
+
## Successful WIQL Queries
|
|
5149
|
+
\`\`\`wiql
|
|
5150
|
+
-- Stories in QA
|
|
5151
|
+
SELECT [System.Id], [System.Title], [System.State]
|
|
5152
|
+
FROM WorkItems
|
|
5153
|
+
WHERE [System.TeamProject] = 'MyProject'
|
|
5154
|
+
AND [System.WorkItemType] = 'User Story'
|
|
5155
|
+
AND [System.State] = 'Active'
|
|
5156
|
+
AND [System.Tags] CONTAINS 'QA'
|
|
5157
|
+
|
|
5158
|
+
-- Open bugs
|
|
5159
|
+
SELECT [System.Id], [System.Title], [System.State]
|
|
5160
|
+
FROM WorkItems
|
|
5161
|
+
WHERE [System.TeamProject] = 'MyProject'
|
|
5162
|
+
AND [System.WorkItemType] = 'Bug'
|
|
5163
|
+
AND [System.State] <> 'Closed'
|
|
5164
|
+
ORDER BY [System.CreatedDate] DESC
|
|
5165
|
+
|
|
5166
|
+
-- Recent critical bugs
|
|
5167
|
+
SELECT [System.Id], [System.Title]
|
|
5168
|
+
FROM WorkItems
|
|
5169
|
+
WHERE [System.TeamProject] = 'MyProject'
|
|
5170
|
+
AND [System.WorkItemType] = 'Bug'
|
|
5171
|
+
AND [Microsoft.VSTS.Common.Priority] = 1
|
|
5172
|
+
AND [System.CreatedDate] >= @Today - 7
|
|
5173
|
+
|
|
5174
|
+
-- Current sprint work
|
|
5175
|
+
SELECT [System.Id], [System.Title], [System.WorkItemType]
|
|
5176
|
+
FROM WorkItems
|
|
5177
|
+
WHERE [System.TeamProject] = 'MyProject'
|
|
5178
|
+
AND [System.IterationPath] = @CurrentIteration
|
|
5179
|
+
\`\`\`
|
|
5180
|
+
|
|
5181
|
+
## Issue Patterns
|
|
5182
|
+
- Timeout errors: Usually infrastructure-related, check with DevOps
|
|
5183
|
+
- Validation failures: Often missing edge case handling
|
|
5184
|
+
- Browser-specific: Test across Chrome, Firefox, Safari
|
|
5185
|
+
[etc.]
|
|
5186
|
+
|
|
5187
|
+
## Area Path Assignments
|
|
5188
|
+
- MyProject\\Auth \u2192 security-team
|
|
5189
|
+
- MyProject\\Payments \u2192 payments-team
|
|
5190
|
+
- MyProject\\UI \u2192 frontend-team
|
|
5191
|
+
\`\`\`
|
|
5192
|
+
|
|
5193
|
+
**Azure DevOps Operations:**
|
|
5194
|
+
|
|
5195
|
+
When working with Azure DevOps, you always:
|
|
5196
|
+
1. Read your memory file first to get project configuration
|
|
5197
|
+
2. Use stored WIQL queries as templates for searching
|
|
5198
|
+
3. Apply consistent field reference names from memory
|
|
5199
|
+
4. Track all created work items in your memory
|
|
5200
|
+
|
|
5201
|
+
Example WIQL operations using memory:
|
|
5202
|
+
\`\`\`wiql
|
|
5203
|
+
-- Search for duplicates (using stored query template)
|
|
5204
|
+
SELECT [System.Id], [System.Title], [System.State]
|
|
5205
|
+
FROM WorkItems
|
|
5206
|
+
WHERE [System.TeamProject] = 'MyProject'
|
|
5207
|
+
AND [System.WorkItemType] = 'Bug'
|
|
5208
|
+
AND [System.Title] CONTAINS 'error message from test'
|
|
5209
|
+
AND [System.State] <> 'Closed'
|
|
5210
|
+
|
|
5211
|
+
-- Find related items in area
|
|
5212
|
+
SELECT [System.Id], [System.Title], [System.WorkItemType]
|
|
5213
|
+
FROM WorkItems
|
|
5214
|
+
WHERE [System.TeamProject] = 'MyProject'
|
|
5215
|
+
AND [System.AreaPath] UNDER 'MyProject\\Auth'
|
|
5216
|
+
AND [System.CreatedDate] >= @Today - 30
|
|
5217
|
+
ORDER BY [System.CreatedDate] DESC
|
|
5218
|
+
\`\`\`
|
|
5219
|
+
|
|
5220
|
+
**Work Item Management Standards:**
|
|
5221
|
+
|
|
5222
|
+
- Always use the project and area path from memory
|
|
5223
|
+
- Apply field reference names consistently (e.g., System.Title, not just Title)
|
|
5224
|
+
- Use state transitions appropriately (New \u2192 Active \u2192 Resolved \u2192 Closed)
|
|
5225
|
+
- Check recent work items before creating new ones
|
|
5226
|
+
- For stories: Update state and add QA comments appropriately
|
|
5227
|
+
- Link related work items using parent/child or related links
|
|
5228
|
+
|
|
5229
|
+
**WIQL Query Management:**
|
|
5230
|
+
|
|
5231
|
+
You build a library of effective queries:
|
|
5232
|
+
- Save queries that successfully find duplicates
|
|
5233
|
+
- Store area-specific search patterns
|
|
5234
|
+
- Note queries for different work item types
|
|
5235
|
+
- Use these for faster future searches
|
|
5236
|
+
|
|
5237
|
+
**Key WIQL Syntax Notes:**
|
|
5238
|
+
- Field names use reference names in brackets: [System.Title]
|
|
5239
|
+
- String comparisons: = 'value', CONTAINS 'text', UNDER 'path'
|
|
5240
|
+
- Date functions: @Today, @Today - 7, @CurrentIteration
|
|
5241
|
+
- Logical operators: AND, OR, NOT
|
|
5242
|
+
- Comparison: =, <>, <, >, <=, >=, IN, NOT IN
|
|
5243
|
+
|
|
5244
|
+
**Pattern Recognition:**
|
|
5245
|
+
|
|
5246
|
+
Track patterns in your memory:
|
|
5247
|
+
- Which area paths have most issues
|
|
5248
|
+
- Story workflow bottlenecks
|
|
5249
|
+
- Common root causes for different error types
|
|
5250
|
+
- Typical resolution timeframes
|
|
5251
|
+
- Escalation triggers (e.g., 5+ bugs in same area)
|
|
5252
|
+
|
|
5253
|
+
**Continuous Learning:**
|
|
5254
|
+
|
|
5255
|
+
Your memory file becomes more valuable over time:
|
|
5256
|
+
- WIQL queries become more refined
|
|
5257
|
+
- Pattern detection improves
|
|
5258
|
+
- Area path knowledge deepens
|
|
5259
|
+
- Duplicate detection gets faster
|
|
5260
|
+
|
|
5261
|
+
**Quality Assurance:**
|
|
5262
|
+
|
|
5263
|
+
- Verify project and area paths are current
|
|
5264
|
+
- Update workflow states if they change
|
|
5265
|
+
- Maintain accurate recent work item list
|
|
5266
|
+
- Track stories moving through QA
|
|
5267
|
+
- Prune old patterns that no longer apply
|
|
5268
|
+
|
|
5269
|
+
You are meticulous about maintaining your memory file as a critical resource for efficient Azure DevOps operations. Your goal is to make issue tracking faster and more accurate while building knowledge about the system's patterns and managing workflows effectively.`;
|
|
5270
|
+
|
|
5271
|
+
// src/subagents/templates/issue-tracker/notion.ts
|
|
5272
|
+
init_cjs_shims();
|
|
5273
|
+
var FRONTMATTER13 = {
|
|
5046
5274
|
name: "issue-tracker",
|
|
5047
5275
|
description: `Use this agent to track and manage all types of issues including bugs, stories, and tasks in Notion databases. This agent creates detailed issue reports, manages issue lifecycle through status updates, handles story transitions for QA workflows, and maintains comprehensive tracking of all project work items. Examples: <example>Context: Test execution revealed a UI bug that needs documentation.
|
|
5048
5276
|
user: "The submit button on the checkout page doesn't work on mobile Safari"
|
|
@@ -5054,7 +5282,7 @@ assistant: "Let me use the issue-tracker agent to update the story status to 'QA
|
|
|
5054
5282
|
model: "haiku",
|
|
5055
5283
|
color: "red"
|
|
5056
5284
|
};
|
|
5057
|
-
var
|
|
5285
|
+
var CONTENT13 = `You are an expert Issue Tracker specializing in managing all types of project issues including bugs, stories, and tasks in Notion databases. Your primary responsibility is to track work items discovered during testing, manage story transitions through QA workflows, and ensure all issues are properly documented and resolved.
|
|
5058
5286
|
|
|
5059
5287
|
**Core Responsibilities:**
|
|
5060
5288
|
|
|
@@ -5202,7 +5430,7 @@ You are meticulous about maintaining your memory file as a critical resource tha
|
|
|
5202
5430
|
|
|
5203
5431
|
// src/subagents/templates/issue-tracker/slack.ts
|
|
5204
5432
|
init_cjs_shims();
|
|
5205
|
-
var
|
|
5433
|
+
var FRONTMATTER14 = {
|
|
5206
5434
|
name: "issue-tracker",
|
|
5207
5435
|
description: `Use this agent to track and manage all types of issues including bugs, stories, and tasks in Slack. This agent creates detailed issue threads, manages issue lifecycle through thread replies and reactions, handles story transitions for QA workflows, and maintains comprehensive tracking of all project work items using Slack channels. Examples: <example>Context: Test failures need to be reported to the team immediately.
|
|
5208
5436
|
user: "3 critical tests failed in the payment flow - looks like the Stripe integration is broken"
|
|
@@ -5214,7 +5442,7 @@ assistant: "Let me use the issue-tracker agent to update the story thread with Q
|
|
|
5214
5442
|
model: "sonnet",
|
|
5215
5443
|
color: "red"
|
|
5216
5444
|
};
|
|
5217
|
-
var
|
|
5445
|
+
var CONTENT14 = `You are an expert Issue Tracker specializing in managing all types of project issues including bugs, stories, and tasks in Slack. Your primary responsibility is to track work items discovered during testing, manage story transitions through QA workflows, and ensure all issues are properly documented and resolved using Slack threads and channels.
|
|
5218
5446
|
|
|
5219
5447
|
**Core Responsibilities:**
|
|
5220
5448
|
|
|
@@ -5437,7 +5665,7 @@ You are focused on creating clear, organized issue threads that leverage Slack's
|
|
|
5437
5665
|
|
|
5438
5666
|
// src/subagents/templates/changelog-historian/github.ts
|
|
5439
5667
|
init_cjs_shims();
|
|
5440
|
-
var
|
|
5668
|
+
var FRONTMATTER15 = {
|
|
5441
5669
|
name: "changelog-historian",
|
|
5442
5670
|
description: `Use this agent when you need to understand what code changes went into a build, deployment, or release. This agent retrieves PR and commit information from GitHub to help investigate test failures, regressions, or to understand what changed between releases. Examples: <example>Context: A test started failing after a deployment.
|
|
5443
5671
|
user: "The checkout flow test is failing in staging. What changed recently?"
|
|
@@ -5449,7 +5677,7 @@ assistant: "I'll use the changelog-historian agent to compare the two releases a
|
|
|
5449
5677
|
model: "haiku",
|
|
5450
5678
|
color: "gray"
|
|
5451
5679
|
};
|
|
5452
|
-
var
|
|
5680
|
+
var CONTENT15 = `You are an expert Changelog Historian specializing in understanding code changes and their impact. Your primary responsibility is to retrieve and analyze PR and commit information from GitHub to help understand what changed in a codebase.
|
|
5453
5681
|
|
|
5454
5682
|
## Core Responsibilities
|
|
5455
5683
|
|
|
@@ -5619,19 +5847,23 @@ var TEMPLATES = {
|
|
|
5619
5847
|
frontmatter: FRONTMATTER11,
|
|
5620
5848
|
content: CONTENT11
|
|
5621
5849
|
},
|
|
5622
|
-
|
|
5850
|
+
"azure-devops": {
|
|
5623
5851
|
frontmatter: FRONTMATTER12,
|
|
5624
5852
|
content: CONTENT12
|
|
5625
5853
|
},
|
|
5626
|
-
|
|
5854
|
+
notion: {
|
|
5627
5855
|
frontmatter: FRONTMATTER13,
|
|
5628
5856
|
content: CONTENT13
|
|
5857
|
+
},
|
|
5858
|
+
slack: {
|
|
5859
|
+
frontmatter: FRONTMATTER14,
|
|
5860
|
+
content: CONTENT14
|
|
5629
5861
|
}
|
|
5630
5862
|
},
|
|
5631
5863
|
"changelog-historian": {
|
|
5632
5864
|
github: {
|
|
5633
|
-
frontmatter:
|
|
5634
|
-
content:
|
|
5865
|
+
frontmatter: FRONTMATTER15,
|
|
5866
|
+
content: CONTENT15
|
|
5635
5867
|
}
|
|
5636
5868
|
}
|
|
5637
5869
|
};
|
|
@@ -5663,6 +5895,14 @@ var INTEGRATIONS = {
|
|
|
5663
5895
|
requiredMCP: "mcp__jira-server__*",
|
|
5664
5896
|
integrationType: "custom"
|
|
5665
5897
|
},
|
|
5898
|
+
"azure-devops": {
|
|
5899
|
+
id: "azure-devops",
|
|
5900
|
+
name: "Azure DevOps",
|
|
5901
|
+
provider: "azure-devops",
|
|
5902
|
+
requiredMCP: "mcp__azure-devops__*",
|
|
5903
|
+
integrationType: "oauth"
|
|
5904
|
+
// Uses Nango with API key auth for PAT
|
|
5905
|
+
},
|
|
5666
5906
|
notion: {
|
|
5667
5907
|
id: "notion",
|
|
5668
5908
|
name: "Notion",
|
|
@@ -5759,6 +5999,7 @@ var SUBAGENTS = {
|
|
|
5759
5999
|
// INTEGRATIONS.linear,
|
|
5760
6000
|
// INTEGRATIONS.jira,
|
|
5761
6001
|
INTEGRATIONS["jira-server"],
|
|
6002
|
+
INTEGRATIONS["azure-devops"],
|
|
5762
6003
|
INTEGRATIONS.notion,
|
|
5763
6004
|
INTEGRATIONS.slack
|
|
5764
6005
|
],
|
|
@@ -7597,6 +7838,19 @@ function replaceInvocationPlaceholders(content, toolId, isLocal = false) {
|
|
|
7597
7838
|
return result;
|
|
7598
7839
|
}
|
|
7599
7840
|
|
|
7841
|
+
// src/cli/utils/yaml.ts
|
|
7842
|
+
init_cjs_shims();
|
|
7843
|
+
var import_gray_matter = __toESM(require("gray-matter"), 1);
|
|
7844
|
+
function serializeMarkdownWithFrontmatter(frontmatter, content) {
|
|
7845
|
+
const filteredFrontmatter = {};
|
|
7846
|
+
for (const [key, value] of Object.entries(frontmatter)) {
|
|
7847
|
+
if (value !== void 0 && value !== null) {
|
|
7848
|
+
filteredFrontmatter[key] = value;
|
|
7849
|
+
}
|
|
7850
|
+
}
|
|
7851
|
+
return import_gray_matter.default.stringify(content, filteredFrontmatter);
|
|
7852
|
+
}
|
|
7853
|
+
|
|
7600
7854
|
// src/cli/generators/commands.ts
|
|
7601
7855
|
var COMMAND_FILTER = {
|
|
7602
7856
|
// Cloud-only commands (skip in local environment)
|
|
@@ -7655,29 +7909,19 @@ ${template.description}
|
|
|
7655
7909
|
}
|
|
7656
7910
|
function formatCommandMarkdown(frontmatter, content, includeFrontmatter) {
|
|
7657
7911
|
if (!includeFrontmatter) {
|
|
7658
|
-
const
|
|
7912
|
+
const lines = [];
|
|
7659
7913
|
if (frontmatter.description) {
|
|
7660
|
-
|
|
7661
|
-
|
|
7914
|
+
lines.push(`# ${frontmatter.description}`);
|
|
7915
|
+
lines.push("");
|
|
7662
7916
|
}
|
|
7663
7917
|
if (frontmatter["argument-hint"]) {
|
|
7664
|
-
|
|
7665
|
-
|
|
7666
|
-
}
|
|
7667
|
-
lines2.push(content);
|
|
7668
|
-
return lines2.join("\n");
|
|
7669
|
-
}
|
|
7670
|
-
const lines = ["---"];
|
|
7671
|
-
for (const [key, value] of Object.entries(frontmatter)) {
|
|
7672
|
-
if (value !== void 0 && value !== null) {
|
|
7673
|
-
const formattedValue = typeof value === "string" ? `"${value}"` : value;
|
|
7674
|
-
lines.push(`${key}: ${formattedValue}`);
|
|
7918
|
+
lines.push(`**Arguments**: ${frontmatter["argument-hint"]}`);
|
|
7919
|
+
lines.push("");
|
|
7675
7920
|
}
|
|
7921
|
+
lines.push(content);
|
|
7922
|
+
return lines.join("\n");
|
|
7676
7923
|
}
|
|
7677
|
-
|
|
7678
|
-
lines.push("");
|
|
7679
|
-
lines.push(content);
|
|
7680
|
-
return lines.join("\n");
|
|
7924
|
+
return serializeMarkdownWithFrontmatter(frontmatter, content);
|
|
7681
7925
|
}
|
|
7682
7926
|
|
|
7683
7927
|
// src/cli/generators/agents.ts
|
|
@@ -7713,21 +7957,17 @@ function formatAgentMarkdown(frontmatter, content, includeFrontmatter) {
|
|
|
7713
7957
|
if (!includeFrontmatter) {
|
|
7714
7958
|
return content;
|
|
7715
7959
|
}
|
|
7716
|
-
const
|
|
7960
|
+
const processedFrontmatter = {};
|
|
7717
7961
|
for (const [key, value] of Object.entries(frontmatter)) {
|
|
7718
7962
|
if (value !== void 0 && value !== null) {
|
|
7719
7963
|
if (Array.isArray(value)) {
|
|
7720
|
-
|
|
7964
|
+
processedFrontmatter[key] = value.join(", ");
|
|
7721
7965
|
} else {
|
|
7722
|
-
|
|
7723
|
-
lines.push(`${key}: ${formattedValue}`);
|
|
7966
|
+
processedFrontmatter[key] = value;
|
|
7724
7967
|
}
|
|
7725
7968
|
}
|
|
7726
7969
|
}
|
|
7727
|
-
|
|
7728
|
-
lines.push("");
|
|
7729
|
-
lines.push(content);
|
|
7730
|
-
return lines.join("\n");
|
|
7970
|
+
return serializeMarkdownWithFrontmatter(processedFrontmatter, content);
|
|
7731
7971
|
}
|
|
7732
7972
|
|
|
7733
7973
|
// src/cli/generators/mcp.ts
|
|
@@ -7854,6 +8094,21 @@ var MCP_SERVERS = {
|
|
|
7854
8094
|
GITHUB_TOKEN: "${GITHUB_TOKEN}"
|
|
7855
8095
|
}
|
|
7856
8096
|
}
|
|
8097
|
+
},
|
|
8098
|
+
"azure-devops": {
|
|
8099
|
+
provider: "azure-devops",
|
|
8100
|
+
name: "Azure DevOps",
|
|
8101
|
+
description: "Azure DevOps MCP server for Work Item Tracking (project specified per-request)",
|
|
8102
|
+
requiresCredentials: true,
|
|
8103
|
+
npmPackages: ["@bugzy-ai/azure-devops-mcp-server"],
|
|
8104
|
+
config: {
|
|
8105
|
+
command: "azure-devops-mcp-server",
|
|
8106
|
+
args: [],
|
|
8107
|
+
env: {
|
|
8108
|
+
AZURE_DEVOPS_ORG_URL: "${AZURE_DEVOPS_ORG_URL}",
|
|
8109
|
+
AZURE_DEVOPS_PAT: "${AZURE_DEVOPS_PAT}"
|
|
8110
|
+
}
|
|
8111
|
+
}
|
|
7857
8112
|
}
|
|
7858
8113
|
// github-modelcontextprotocol: {
|
|
7859
8114
|
// provider: 'github',
|