@bugzy-ai/bugzy 1.9.3 → 1.9.5
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 +24 -50
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.js +23 -49
- package/dist/cli/index.js.map +1 -1
- package/dist/index.cjs +21 -46
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +21 -46
- package/dist/index.js.map +1 -1
- package/dist/subagents/index.cjs.map +1 -1
- package/dist/subagents/index.js.map +1 -1
- package/dist/subagents/metadata.cjs.map +1 -1
- package/dist/subagents/metadata.js.map +1 -1
- package/dist/tasks/index.cjs +20 -9
- package/dist/tasks/index.cjs.map +1 -1
- package/dist/tasks/index.js +20 -9
- package/dist/tasks/index.js.map +1 -1
- package/dist/templates/init/.bugzy/runtime/knowledge-base.md +61 -0
- package/dist/templates/init/.bugzy/runtime/knowledge-maintenance-guide.md +97 -0
- package/dist/templates/init/.bugzy/runtime/project-context.md +35 -0
- package/dist/templates/init/.bugzy/runtime/subagent-memory-guide.md +87 -0
- package/dist/templates/init/.bugzy/runtime/templates/test-plan-template.md +50 -0
- package/dist/templates/init/.bugzy/runtime/templates/test-result-schema.md +498 -0
- package/dist/templates/init/.bugzy/runtime/test-execution-strategy.md +535 -0
- package/dist/templates/init/.bugzy/runtime/testing-best-practices.md +632 -0
- package/dist/templates/init/.gitignore-template +25 -0
- 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/index.cjs
CHANGED
|
@@ -83,6 +83,7 @@ var MCP_SERVERS = {
|
|
|
83
83
|
// Bot credentials (platform-level, from Bugzy's Azure Bot registration)
|
|
84
84
|
TEAMS_BOT_APP_ID: "${TEAMS_BOT_APP_ID}",
|
|
85
85
|
TEAMS_BOT_APP_PASSWORD: "${TEAMS_BOT_APP_PASSWORD}",
|
|
86
|
+
TEAMS_BOT_TENANT_ID: "${TEAMS_BOT_TENANT_ID}",
|
|
86
87
|
// Conversation context (per-project, from stored conversation reference)
|
|
87
88
|
TEAMS_SERVICE_URL: "${TEAMS_SERVICE_URL}",
|
|
88
89
|
TEAMS_CONVERSATION_ID: "${TEAMS_CONVERSATION_ID}"
|
|
@@ -339,7 +340,9 @@ Extract the following from arguments:
|
|
|
339
340
|
- **type**: Test type (exploratory, functional, regression, smoke) - defaults to functional
|
|
340
341
|
- **focus**: Optional specific feature or section to focus on`
|
|
341
342
|
},
|
|
342
|
-
// Step 4:
|
|
343
|
+
// Step 4: Load Project Context (library)
|
|
344
|
+
"load-project-context",
|
|
345
|
+
// Step 5: Knowledge Base Read (library)
|
|
343
346
|
"read-knowledge-base",
|
|
344
347
|
// Step 5: Gather Context (inline)
|
|
345
348
|
{
|
|
@@ -638,10 +641,10 @@ var generateTestPlanTask = {
|
|
|
638
641
|
title: "Arguments",
|
|
639
642
|
content: `Product description: $ARGUMENTS`
|
|
640
643
|
},
|
|
641
|
-
// Step 4:
|
|
642
|
-
"read-knowledge-base",
|
|
643
|
-
// Step 5: Load Project Context (library)
|
|
644
|
+
// Step 4: Load Project Context (library)
|
|
644
645
|
"load-project-context",
|
|
646
|
+
// Step 5: Knowledge Base Read (library)
|
|
647
|
+
"read-knowledge-base",
|
|
645
648
|
// Step 6: Process Description (inline)
|
|
646
649
|
{
|
|
647
650
|
inline: true,
|
|
@@ -863,7 +866,9 @@ Process team responses from Slack threads and handle multi-turn conversations wi
|
|
|
863
866
|
title: "Arguments",
|
|
864
867
|
content: `Team message/thread context: $ARGUMENTS`
|
|
865
868
|
},
|
|
866
|
-
// Step 4:
|
|
869
|
+
// Step 4: Load Project Context (library)
|
|
870
|
+
"load-project-context",
|
|
871
|
+
// Step 5: Knowledge Base Read (library)
|
|
867
872
|
"read-knowledge-base",
|
|
868
873
|
// Step 5: Detect Intent (inline - task-specific)
|
|
869
874
|
{
|
|
@@ -1002,7 +1007,9 @@ Process various types of events using intelligent pattern matching and historica
|
|
|
1002
1007
|
title: "Arguments",
|
|
1003
1008
|
content: `Arguments: $ARGUMENTS`
|
|
1004
1009
|
},
|
|
1005
|
-
// Step 4:
|
|
1010
|
+
// Step 4: Load Project Context (library)
|
|
1011
|
+
"load-project-context",
|
|
1012
|
+
// Step 5: Knowledge Base Read (library)
|
|
1006
1013
|
"read-knowledge-base",
|
|
1007
1014
|
// Step 5: Understand Event Context (inline)
|
|
1008
1015
|
{
|
|
@@ -1434,7 +1441,9 @@ Extract the following from arguments:
|
|
|
1434
1441
|
- Specific file: "tests/specs/login.spec.ts"
|
|
1435
1442
|
- All tests: "all" or "" \u2192 runs entire test suite`
|
|
1436
1443
|
},
|
|
1437
|
-
// Step 4:
|
|
1444
|
+
// Step 4: Load Project Context (library)
|
|
1445
|
+
"load-project-context",
|
|
1446
|
+
// Step 5: Knowledge Base Read (library)
|
|
1438
1447
|
"read-knowledge-base",
|
|
1439
1448
|
// Step 5: Test Execution Strategy (library)
|
|
1440
1449
|
"read-test-strategy",
|
|
@@ -1589,7 +1598,9 @@ This task performs comprehensive change verification with:
|
|
|
1589
1598
|
|
|
1590
1599
|
The input format determines the trigger source and context extraction strategy.`
|
|
1591
1600
|
},
|
|
1592
|
-
// Step 4:
|
|
1601
|
+
// Step 4: Load Project Context (library)
|
|
1602
|
+
"load-project-context",
|
|
1603
|
+
// Step 5: Knowledge Base Read (library)
|
|
1593
1604
|
"read-knowledge-base",
|
|
1594
1605
|
// Step 5: Detect Trigger Source (inline)
|
|
1595
1606
|
{
|
|
@@ -2082,6 +2093,7 @@ This command orchestrates the complete test coverage workflow in a single execut
|
|
|
2082
2093
|
content: `Focus area: $ARGUMENTS`
|
|
2083
2094
|
},
|
|
2084
2095
|
// Phase 1: Setup
|
|
2096
|
+
"load-project-context",
|
|
2085
2097
|
"read-knowledge-base",
|
|
2086
2098
|
// Phase 2: Exploration Protocol
|
|
2087
2099
|
"exploration-protocol",
|
|
@@ -2148,8 +2160,8 @@ var exploreApplicationTask = {
|
|
|
2148
2160
|
- **system**: target system (optional for multi-system setups)`
|
|
2149
2161
|
},
|
|
2150
2162
|
// Setup
|
|
2151
|
-
"read-knowledge-base",
|
|
2152
2163
|
"load-project-context",
|
|
2164
|
+
"read-knowledge-base",
|
|
2153
2165
|
// Exploration Protocol (adaptive depth)
|
|
2154
2166
|
"exploration-protocol",
|
|
2155
2167
|
// Execute
|
|
@@ -6005,42 +6017,6 @@ Test Strategy: [exists/missing]
|
|
|
6005
6017
|
tags: ["setup", "context"]
|
|
6006
6018
|
};
|
|
6007
6019
|
|
|
6008
|
-
// src/tasks/steps/setup/check-existing-artifacts.ts
|
|
6009
|
-
var checkExistingArtifactsStep = {
|
|
6010
|
-
id: "check-existing-artifacts",
|
|
6011
|
-
title: "Assess Existing Artifacts",
|
|
6012
|
-
category: "setup",
|
|
6013
|
-
content: `## Assess Existing Artifacts
|
|
6014
|
-
|
|
6015
|
-
Before proceeding, check what already exists to determine which phases to skip.
|
|
6016
|
-
|
|
6017
|
-
**1. Check Project Context**
|
|
6018
|
-
- Read \`.bugzy/runtime/project-context.md\` if it exists
|
|
6019
|
-
- Check if it contains information relevant to: $ARGUMENTS
|
|
6020
|
-
- **Decision**: If project context exists and covers the focus area -> Skip exploration
|
|
6021
|
-
|
|
6022
|
-
**2. Check Test Plan**
|
|
6023
|
-
- Read \`test-plan.md\` if it exists
|
|
6024
|
-
- Check if it contains features related to: $ARGUMENTS
|
|
6025
|
-
- **Decision**: If test plan exists and covers the focus area -> Skip test plan generation
|
|
6026
|
-
|
|
6027
|
-
**3. Check Existing Test Cases**
|
|
6028
|
-
- List files in \`./test-cases/\` for tests related to focus area
|
|
6029
|
-
- List files in \`./tests/specs/\` for automated tests
|
|
6030
|
-
- **Decision**: If test cases already exist for the focus area -> Skip to verification only
|
|
6031
|
-
|
|
6032
|
-
**4. Document Assessment**
|
|
6033
|
-
Create a brief assessment summary:
|
|
6034
|
-
\`\`\`
|
|
6035
|
-
Assessment for: $ARGUMENTS
|
|
6036
|
-
- Project context: [exists/missing] - [covers focus area: yes/no]
|
|
6037
|
-
- Test plan: [exists/missing] - [covers focus area: yes/no]
|
|
6038
|
-
- Test cases: [count] existing for focus area
|
|
6039
|
-
- Phases to run: [list phases]
|
|
6040
|
-
\`\`\``,
|
|
6041
|
-
tags: ["setup", "assessment"]
|
|
6042
|
-
};
|
|
6043
|
-
|
|
6044
6020
|
// src/tasks/steps/setup/security-notice.ts
|
|
6045
6021
|
var securityNoticeStep = {
|
|
6046
6022
|
id: "security-notice",
|
|
@@ -7304,7 +7280,6 @@ var STEP_LIBRARY = {
|
|
|
7304
7280
|
"read-knowledge-base": readKnowledgeBaseStep,
|
|
7305
7281
|
"read-test-strategy": readTestStrategyStep,
|
|
7306
7282
|
"load-project-context": loadProjectContextStep,
|
|
7307
|
-
"check-existing-artifacts": checkExistingArtifactsStep,
|
|
7308
7283
|
// Exploration
|
|
7309
7284
|
"exploration-protocol": explorationProtocolStep,
|
|
7310
7285
|
// Clarification
|