@bugzy-ai/bugzy 1.9.3 → 1.9.4
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 +25 -57
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.js +24 -56
- package/dist/cli/index.js.map +1 -1
- package/dist/index.cjs +22 -53
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +22 -53
- 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/cli/index.js
CHANGED
|
@@ -20,12 +20,12 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
20
20
|
};
|
|
21
21
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/tsup@8.5.
|
|
23
|
+
// node_modules/.pnpm/tsup@8.5.0_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/esm_shims.js
|
|
24
24
|
import path from "path";
|
|
25
25
|
import { fileURLToPath } from "url";
|
|
26
26
|
var getFilename, getDirname, __dirname;
|
|
27
27
|
var init_esm_shims = __esm({
|
|
28
|
-
"node_modules/.pnpm/tsup@8.5.
|
|
28
|
+
"node_modules/.pnpm/tsup@8.5.0_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/esm_shims.js"() {
|
|
29
29
|
"use strict";
|
|
30
30
|
getFilename = () => fileURLToPath(import.meta.url);
|
|
31
31
|
getDirname = () => path.dirname(getFilename());
|
|
@@ -127,7 +127,9 @@ Extract the following from arguments:
|
|
|
127
127
|
- **type**: Test type (exploratory, functional, regression, smoke) - defaults to functional
|
|
128
128
|
- **focus**: Optional specific feature or section to focus on`
|
|
129
129
|
},
|
|
130
|
-
// Step 4:
|
|
130
|
+
// Step 4: Load Project Context (library)
|
|
131
|
+
"load-project-context",
|
|
132
|
+
// Step 5: Knowledge Base Read (library)
|
|
131
133
|
"read-knowledge-base",
|
|
132
134
|
// Step 5: Gather Context (inline)
|
|
133
135
|
{
|
|
@@ -434,10 +436,10 @@ var init_generate_test_plan = __esm({
|
|
|
434
436
|
title: "Arguments",
|
|
435
437
|
content: `Product description: $ARGUMENTS`
|
|
436
438
|
},
|
|
437
|
-
// Step 4:
|
|
438
|
-
"read-knowledge-base",
|
|
439
|
-
// Step 5: Load Project Context (library)
|
|
439
|
+
// Step 4: Load Project Context (library)
|
|
440
440
|
"load-project-context",
|
|
441
|
+
// Step 5: Knowledge Base Read (library)
|
|
442
|
+
"read-knowledge-base",
|
|
441
443
|
// Step 6: Process Description (inline)
|
|
442
444
|
{
|
|
443
445
|
inline: true,
|
|
@@ -667,7 +669,9 @@ Process team responses from Slack threads and handle multi-turn conversations wi
|
|
|
667
669
|
title: "Arguments",
|
|
668
670
|
content: `Team message/thread context: $ARGUMENTS`
|
|
669
671
|
},
|
|
670
|
-
// Step 4:
|
|
672
|
+
// Step 4: Load Project Context (library)
|
|
673
|
+
"load-project-context",
|
|
674
|
+
// Step 5: Knowledge Base Read (library)
|
|
671
675
|
"read-knowledge-base",
|
|
672
676
|
// Step 5: Detect Intent (inline - task-specific)
|
|
673
677
|
{
|
|
@@ -814,7 +818,9 @@ Process various types of events using intelligent pattern matching and historica
|
|
|
814
818
|
title: "Arguments",
|
|
815
819
|
content: `Arguments: $ARGUMENTS`
|
|
816
820
|
},
|
|
817
|
-
// Step 4:
|
|
821
|
+
// Step 4: Load Project Context (library)
|
|
822
|
+
"load-project-context",
|
|
823
|
+
// Step 5: Knowledge Base Read (library)
|
|
818
824
|
"read-knowledge-base",
|
|
819
825
|
// Step 5: Understand Event Context (inline)
|
|
820
826
|
{
|
|
@@ -1254,7 +1260,9 @@ Extract the following from arguments:
|
|
|
1254
1260
|
- Specific file: "tests/specs/login.spec.ts"
|
|
1255
1261
|
- All tests: "all" or "" \u2192 runs entire test suite`
|
|
1256
1262
|
},
|
|
1257
|
-
// Step 4:
|
|
1263
|
+
// Step 4: Load Project Context (library)
|
|
1264
|
+
"load-project-context",
|
|
1265
|
+
// Step 5: Knowledge Base Read (library)
|
|
1258
1266
|
"read-knowledge-base",
|
|
1259
1267
|
// Step 5: Test Execution Strategy (library)
|
|
1260
1268
|
"read-test-strategy",
|
|
@@ -1417,7 +1425,9 @@ This task performs comprehensive change verification with:
|
|
|
1417
1425
|
|
|
1418
1426
|
The input format determines the trigger source and context extraction strategy.`
|
|
1419
1427
|
},
|
|
1420
|
-
// Step 4:
|
|
1428
|
+
// Step 4: Load Project Context (library)
|
|
1429
|
+
"load-project-context",
|
|
1430
|
+
// Step 5: Knowledge Base Read (library)
|
|
1421
1431
|
"read-knowledge-base",
|
|
1422
1432
|
// Step 5: Detect Trigger Source (inline)
|
|
1423
1433
|
{
|
|
@@ -1918,6 +1928,7 @@ This command orchestrates the complete test coverage workflow in a single execut
|
|
|
1918
1928
|
content: `Focus area: $ARGUMENTS`
|
|
1919
1929
|
},
|
|
1920
1930
|
// Phase 1: Setup
|
|
1931
|
+
"load-project-context",
|
|
1921
1932
|
"read-knowledge-base",
|
|
1922
1933
|
// Phase 2: Exploration Protocol
|
|
1923
1934
|
"exploration-protocol",
|
|
@@ -1992,8 +2003,8 @@ var init_explore_application = __esm({
|
|
|
1992
2003
|
- **system**: target system (optional for multi-system setups)`
|
|
1993
2004
|
},
|
|
1994
2005
|
// Setup
|
|
1995
|
-
"read-knowledge-base",
|
|
1996
2006
|
"load-project-context",
|
|
2007
|
+
"read-knowledge-base",
|
|
1997
2008
|
// Exploration Protocol (adaptive depth)
|
|
1998
2009
|
"exploration-protocol",
|
|
1999
2010
|
// Execute
|
|
@@ -6318,43 +6329,6 @@ Test Strategy: [exists/missing]
|
|
|
6318
6329
|
tags: ["setup", "context"]
|
|
6319
6330
|
};
|
|
6320
6331
|
|
|
6321
|
-
// src/tasks/steps/setup/check-existing-artifacts.ts
|
|
6322
|
-
init_esm_shims();
|
|
6323
|
-
var checkExistingArtifactsStep = {
|
|
6324
|
-
id: "check-existing-artifacts",
|
|
6325
|
-
title: "Assess Existing Artifacts",
|
|
6326
|
-
category: "setup",
|
|
6327
|
-
content: `## Assess Existing Artifacts
|
|
6328
|
-
|
|
6329
|
-
Before proceeding, check what already exists to determine which phases to skip.
|
|
6330
|
-
|
|
6331
|
-
**1. Check Project Context**
|
|
6332
|
-
- Read \`.bugzy/runtime/project-context.md\` if it exists
|
|
6333
|
-
- Check if it contains information relevant to: $ARGUMENTS
|
|
6334
|
-
- **Decision**: If project context exists and covers the focus area -> Skip exploration
|
|
6335
|
-
|
|
6336
|
-
**2. Check Test Plan**
|
|
6337
|
-
- Read \`test-plan.md\` if it exists
|
|
6338
|
-
- Check if it contains features related to: $ARGUMENTS
|
|
6339
|
-
- **Decision**: If test plan exists and covers the focus area -> Skip test plan generation
|
|
6340
|
-
|
|
6341
|
-
**3. Check Existing Test Cases**
|
|
6342
|
-
- List files in \`./test-cases/\` for tests related to focus area
|
|
6343
|
-
- List files in \`./tests/specs/\` for automated tests
|
|
6344
|
-
- **Decision**: If test cases already exist for the focus area -> Skip to verification only
|
|
6345
|
-
|
|
6346
|
-
**4. Document Assessment**
|
|
6347
|
-
Create a brief assessment summary:
|
|
6348
|
-
\`\`\`
|
|
6349
|
-
Assessment for: $ARGUMENTS
|
|
6350
|
-
- Project context: [exists/missing] - [covers focus area: yes/no]
|
|
6351
|
-
- Test plan: [exists/missing] - [covers focus area: yes/no]
|
|
6352
|
-
- Test cases: [count] existing for focus area
|
|
6353
|
-
- Phases to run: [list phases]
|
|
6354
|
-
\`\`\``,
|
|
6355
|
-
tags: ["setup", "assessment"]
|
|
6356
|
-
};
|
|
6357
|
-
|
|
6358
6332
|
// src/tasks/steps/setup/security-notice.ts
|
|
6359
6333
|
init_esm_shims();
|
|
6360
6334
|
var securityNoticeStep = {
|
|
@@ -7640,7 +7614,6 @@ var STEP_LIBRARY = {
|
|
|
7640
7614
|
"read-knowledge-base": readKnowledgeBaseStep,
|
|
7641
7615
|
"read-test-strategy": readTestStrategyStep,
|
|
7642
7616
|
"load-project-context": loadProjectContextStep,
|
|
7643
|
-
"check-existing-artifacts": checkExistingArtifactsStep,
|
|
7644
7617
|
// Exploration
|
|
7645
7618
|
"exploration-protocol": explorationProtocolStep,
|
|
7646
7619
|
// Clarification
|
|
@@ -7988,19 +7961,14 @@ var MCP_SERVERS = {
|
|
|
7988
7961
|
teams: {
|
|
7989
7962
|
provider: "teams",
|
|
7990
7963
|
name: "Microsoft Teams",
|
|
7991
|
-
description: "Microsoft Teams MCP server for messaging
|
|
7964
|
+
description: "Microsoft Teams MCP server for messaging and channel operations",
|
|
7992
7965
|
requiresCredentials: true,
|
|
7993
7966
|
npmPackages: ["@bugzy-ai/teams-mcp-server"],
|
|
7994
7967
|
config: {
|
|
7995
7968
|
command: "teams-mcp-server",
|
|
7996
7969
|
args: [],
|
|
7997
7970
|
env: {
|
|
7998
|
-
|
|
7999
|
-
TEAMS_BOT_APP_ID: "${TEAMS_BOT_APP_ID}",
|
|
8000
|
-
TEAMS_BOT_APP_PASSWORD: "${TEAMS_BOT_APP_PASSWORD}",
|
|
8001
|
-
// Conversation context (per-project, from stored conversation reference)
|
|
8002
|
-
TEAMS_SERVICE_URL: "${TEAMS_SERVICE_URL}",
|
|
8003
|
-
TEAMS_CONVERSATION_ID: "${TEAMS_CONVERSATION_ID}"
|
|
7971
|
+
TEAMS_ACCESS_TOKEN: "${TEAMS_ACCESS_TOKEN}"
|
|
8004
7972
|
}
|
|
8005
7973
|
}
|
|
8006
7974
|
},
|