@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.js
CHANGED
|
@@ -27,6 +27,7 @@ var MCP_SERVERS = {
|
|
|
27
27
|
// Bot credentials (platform-level, from Bugzy's Azure Bot registration)
|
|
28
28
|
TEAMS_BOT_APP_ID: "${TEAMS_BOT_APP_ID}",
|
|
29
29
|
TEAMS_BOT_APP_PASSWORD: "${TEAMS_BOT_APP_PASSWORD}",
|
|
30
|
+
TEAMS_BOT_TENANT_ID: "${TEAMS_BOT_TENANT_ID}",
|
|
30
31
|
// Conversation context (per-project, from stored conversation reference)
|
|
31
32
|
TEAMS_SERVICE_URL: "${TEAMS_SERVICE_URL}",
|
|
32
33
|
TEAMS_CONVERSATION_ID: "${TEAMS_CONVERSATION_ID}"
|
|
@@ -283,7 +284,9 @@ Extract the following from arguments:
|
|
|
283
284
|
- **type**: Test type (exploratory, functional, regression, smoke) - defaults to functional
|
|
284
285
|
- **focus**: Optional specific feature or section to focus on`
|
|
285
286
|
},
|
|
286
|
-
// Step 4:
|
|
287
|
+
// Step 4: Load Project Context (library)
|
|
288
|
+
"load-project-context",
|
|
289
|
+
// Step 5: Knowledge Base Read (library)
|
|
287
290
|
"read-knowledge-base",
|
|
288
291
|
// Step 5: Gather Context (inline)
|
|
289
292
|
{
|
|
@@ -582,10 +585,10 @@ var generateTestPlanTask = {
|
|
|
582
585
|
title: "Arguments",
|
|
583
586
|
content: `Product description: $ARGUMENTS`
|
|
584
587
|
},
|
|
585
|
-
// Step 4:
|
|
586
|
-
"read-knowledge-base",
|
|
587
|
-
// Step 5: Load Project Context (library)
|
|
588
|
+
// Step 4: Load Project Context (library)
|
|
588
589
|
"load-project-context",
|
|
590
|
+
// Step 5: Knowledge Base Read (library)
|
|
591
|
+
"read-knowledge-base",
|
|
589
592
|
// Step 6: Process Description (inline)
|
|
590
593
|
{
|
|
591
594
|
inline: true,
|
|
@@ -807,7 +810,9 @@ Process team responses from Slack threads and handle multi-turn conversations wi
|
|
|
807
810
|
title: "Arguments",
|
|
808
811
|
content: `Team message/thread context: $ARGUMENTS`
|
|
809
812
|
},
|
|
810
|
-
// Step 4:
|
|
813
|
+
// Step 4: Load Project Context (library)
|
|
814
|
+
"load-project-context",
|
|
815
|
+
// Step 5: Knowledge Base Read (library)
|
|
811
816
|
"read-knowledge-base",
|
|
812
817
|
// Step 5: Detect Intent (inline - task-specific)
|
|
813
818
|
{
|
|
@@ -946,7 +951,9 @@ Process various types of events using intelligent pattern matching and historica
|
|
|
946
951
|
title: "Arguments",
|
|
947
952
|
content: `Arguments: $ARGUMENTS`
|
|
948
953
|
},
|
|
949
|
-
// Step 4:
|
|
954
|
+
// Step 4: Load Project Context (library)
|
|
955
|
+
"load-project-context",
|
|
956
|
+
// Step 5: Knowledge Base Read (library)
|
|
950
957
|
"read-knowledge-base",
|
|
951
958
|
// Step 5: Understand Event Context (inline)
|
|
952
959
|
{
|
|
@@ -1378,7 +1385,9 @@ Extract the following from arguments:
|
|
|
1378
1385
|
- Specific file: "tests/specs/login.spec.ts"
|
|
1379
1386
|
- All tests: "all" or "" \u2192 runs entire test suite`
|
|
1380
1387
|
},
|
|
1381
|
-
// Step 4:
|
|
1388
|
+
// Step 4: Load Project Context (library)
|
|
1389
|
+
"load-project-context",
|
|
1390
|
+
// Step 5: Knowledge Base Read (library)
|
|
1382
1391
|
"read-knowledge-base",
|
|
1383
1392
|
// Step 5: Test Execution Strategy (library)
|
|
1384
1393
|
"read-test-strategy",
|
|
@@ -1533,7 +1542,9 @@ This task performs comprehensive change verification with:
|
|
|
1533
1542
|
|
|
1534
1543
|
The input format determines the trigger source and context extraction strategy.`
|
|
1535
1544
|
},
|
|
1536
|
-
// Step 4:
|
|
1545
|
+
// Step 4: Load Project Context (library)
|
|
1546
|
+
"load-project-context",
|
|
1547
|
+
// Step 5: Knowledge Base Read (library)
|
|
1537
1548
|
"read-knowledge-base",
|
|
1538
1549
|
// Step 5: Detect Trigger Source (inline)
|
|
1539
1550
|
{
|
|
@@ -2026,6 +2037,7 @@ This command orchestrates the complete test coverage workflow in a single execut
|
|
|
2026
2037
|
content: `Focus area: $ARGUMENTS`
|
|
2027
2038
|
},
|
|
2028
2039
|
// Phase 1: Setup
|
|
2040
|
+
"load-project-context",
|
|
2029
2041
|
"read-knowledge-base",
|
|
2030
2042
|
// Phase 2: Exploration Protocol
|
|
2031
2043
|
"exploration-protocol",
|
|
@@ -2092,8 +2104,8 @@ var exploreApplicationTask = {
|
|
|
2092
2104
|
- **system**: target system (optional for multi-system setups)`
|
|
2093
2105
|
},
|
|
2094
2106
|
// Setup
|
|
2095
|
-
"read-knowledge-base",
|
|
2096
2107
|
"load-project-context",
|
|
2108
|
+
"read-knowledge-base",
|
|
2097
2109
|
// Exploration Protocol (adaptive depth)
|
|
2098
2110
|
"exploration-protocol",
|
|
2099
2111
|
// Execute
|
|
@@ -5949,42 +5961,6 @@ Test Strategy: [exists/missing]
|
|
|
5949
5961
|
tags: ["setup", "context"]
|
|
5950
5962
|
};
|
|
5951
5963
|
|
|
5952
|
-
// src/tasks/steps/setup/check-existing-artifacts.ts
|
|
5953
|
-
var checkExistingArtifactsStep = {
|
|
5954
|
-
id: "check-existing-artifacts",
|
|
5955
|
-
title: "Assess Existing Artifacts",
|
|
5956
|
-
category: "setup",
|
|
5957
|
-
content: `## Assess Existing Artifacts
|
|
5958
|
-
|
|
5959
|
-
Before proceeding, check what already exists to determine which phases to skip.
|
|
5960
|
-
|
|
5961
|
-
**1. Check Project Context**
|
|
5962
|
-
- Read \`.bugzy/runtime/project-context.md\` if it exists
|
|
5963
|
-
- Check if it contains information relevant to: $ARGUMENTS
|
|
5964
|
-
- **Decision**: If project context exists and covers the focus area -> Skip exploration
|
|
5965
|
-
|
|
5966
|
-
**2. Check Test Plan**
|
|
5967
|
-
- Read \`test-plan.md\` if it exists
|
|
5968
|
-
- Check if it contains features related to: $ARGUMENTS
|
|
5969
|
-
- **Decision**: If test plan exists and covers the focus area -> Skip test plan generation
|
|
5970
|
-
|
|
5971
|
-
**3. Check Existing Test Cases**
|
|
5972
|
-
- List files in \`./test-cases/\` for tests related to focus area
|
|
5973
|
-
- List files in \`./tests/specs/\` for automated tests
|
|
5974
|
-
- **Decision**: If test cases already exist for the focus area -> Skip to verification only
|
|
5975
|
-
|
|
5976
|
-
**4. Document Assessment**
|
|
5977
|
-
Create a brief assessment summary:
|
|
5978
|
-
\`\`\`
|
|
5979
|
-
Assessment for: $ARGUMENTS
|
|
5980
|
-
- Project context: [exists/missing] - [covers focus area: yes/no]
|
|
5981
|
-
- Test plan: [exists/missing] - [covers focus area: yes/no]
|
|
5982
|
-
- Test cases: [count] existing for focus area
|
|
5983
|
-
- Phases to run: [list phases]
|
|
5984
|
-
\`\`\``,
|
|
5985
|
-
tags: ["setup", "assessment"]
|
|
5986
|
-
};
|
|
5987
|
-
|
|
5988
5964
|
// src/tasks/steps/setup/security-notice.ts
|
|
5989
5965
|
var securityNoticeStep = {
|
|
5990
5966
|
id: "security-notice",
|
|
@@ -7248,7 +7224,6 @@ var STEP_LIBRARY = {
|
|
|
7248
7224
|
"read-knowledge-base": readKnowledgeBaseStep,
|
|
7249
7225
|
"read-test-strategy": readTestStrategyStep,
|
|
7250
7226
|
"load-project-context": loadProjectContextStep,
|
|
7251
|
-
"check-existing-artifacts": checkExistingArtifactsStep,
|
|
7252
7227
|
// Exploration
|
|
7253
7228
|
"exploration-protocol": explorationProtocolStep,
|
|
7254
7229
|
// Clarification
|