@bugzy-ai/bugzy 1.6.0 → 1.7.0

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.
@@ -7364,6 +7364,7 @@ var TOOL_STRINGS = {
7364
7364
  INVOKE_TEST_DEBUGGER_FIXER: '**DELEGATE TO SUBAGENT**: Use the Task tool with `subagent_type: "test-debugger-fixer"` to delegate debugging.\nThe agent will analyze failures and fix test code. Include error details and test path in the prompt.',
7365
7365
  INVOKE_TEST_CODE_GENERATOR: '**DELEGATE TO SUBAGENT**: Use the Task tool with `subagent_type: "test-code-generator"` to delegate code generation.\nThe agent will create Playwright tests and Page Objects. Include test case files in the prompt.',
7366
7366
  INVOKE_TEAM_COMMUNICATOR: '**DELEGATE TO SUBAGENT**: Use the Task tool with `subagent_type: "team-communicator"` to send team notifications.\nThe agent will post to Slack/Teams/Email. Include message content and context in the prompt.',
7367
+ INLINE_TEAM_COMMUNICATOR: "**TEAM COMMUNICATION**: Read `.claude/agents/team-communicator.md` and follow its instructions to communicate with the team.\nUse the tools and guidelines specified in that file within this context. Do NOT spawn a sub-agent.",
7367
7368
  INVOKE_ISSUE_TRACKER: '**DELEGATE TO SUBAGENT**: Use the Task tool with `subagent_type: "issue-tracker"` to create/update issues.\nThe agent will interact with Jira. Include bug details and classification in the prompt.',
7368
7369
  INVOKE_DOCUMENTATION_RESEARCHER: '**DELEGATE TO SUBAGENT**: Use the Task tool with `subagent_type: "documentation-researcher"` to search docs.\nThe agent will search Notion/Confluence. Include search query and context in the prompt.'
7369
7370
  },
@@ -7372,6 +7373,7 @@ var TOOL_STRINGS = {
7372
7373
  INVOKE_TEST_DEBUGGER_FIXER: 'Run the test-debugger-fixer agent:\n```bash\ncursor-agent -p "$(cat .cursor/agents/test-debugger-fixer.md)" --output-format text\n```',
7373
7374
  INVOKE_TEST_CODE_GENERATOR: 'Run the test-code-generator agent:\n```bash\ncursor-agent -p "$(cat .cursor/agents/test-code-generator.md)" --output-format text\n```',
7374
7375
  INVOKE_TEAM_COMMUNICATOR: 'Run the team-communicator agent:\n```bash\ncursor-agent -p "$(cat .cursor/agents/team-communicator.md)" --output-format text\n```',
7376
+ INLINE_TEAM_COMMUNICATOR: "**TEAM COMMUNICATION**: Read `.cursor/agents/team-communicator.md` and follow its instructions to communicate with the team.\nUse the tools and guidelines specified in that file within this context.",
7375
7377
  INVOKE_ISSUE_TRACKER: 'Run the issue-tracker agent:\n```bash\ncursor-agent -p "$(cat .cursor/agents/issue-tracker.md)" --output-format text\n```',
7376
7378
  INVOKE_DOCUMENTATION_RESEARCHER: 'Run the documentation-researcher agent:\n```bash\ncursor-agent -p "$(cat .cursor/agents/documentation-researcher.md)" --output-format text\n```'
7377
7379
  },
@@ -7380,6 +7382,7 @@ var TOOL_STRINGS = {
7380
7382
  INVOKE_TEST_DEBUGGER_FIXER: 'Run the test-debugger-fixer agent:\n```bash\ncodex -p "$(cat .codex/agents/test-debugger-fixer.md)"\n```',
7381
7383
  INVOKE_TEST_CODE_GENERATOR: 'Run the test-code-generator agent:\n```bash\ncodex -p "$(cat .codex/agents/test-code-generator.md)"\n```',
7382
7384
  INVOKE_TEAM_COMMUNICATOR: 'Run the team-communicator agent:\n```bash\ncodex -p "$(cat .codex/agents/team-communicator.md)"\n```',
7385
+ INLINE_TEAM_COMMUNICATOR: "**TEAM COMMUNICATION**: Read `.codex/agents/team-communicator.md` and follow its instructions to communicate with the team.\nUse the tools and guidelines specified in that file within this context.",
7383
7386
  INVOKE_ISSUE_TRACKER: 'Run the issue-tracker agent:\n```bash\ncodex -p "$(cat .codex/agents/issue-tracker.md)"\n```',
7384
7387
  INVOKE_DOCUMENTATION_RESEARCHER: 'Run the documentation-researcher agent:\n```bash\ncodex -p "$(cat .codex/agents/documentation-researcher.md)"\n```'
7385
7388
  }
@@ -7395,7 +7398,7 @@ function getToolString(toolId, key) {
7395
7398
  }
7396
7399
  return value;
7397
7400
  }
7398
- function replaceInvocationPlaceholders(content, toolId) {
7401
+ function replaceInvocationPlaceholders(content, toolId, isLocal = false) {
7399
7402
  let result = content;
7400
7403
  const keys = [
7401
7404
  "INVOKE_TEST_RUNNER",
@@ -7407,7 +7410,8 @@ function replaceInvocationPlaceholders(content, toolId) {
7407
7410
  ];
7408
7411
  for (const key of keys) {
7409
7412
  const placeholder = `{{${key}}}`;
7410
- const replacement = getToolString(toolId, key);
7413
+ const replacementKey = isLocal && key === "INVOKE_TEAM_COMMUNICATOR" ? "INLINE_TEAM_COMMUNICATOR" : key;
7414
+ const replacement = getToolString(toolId, replacementKey);
7411
7415
  result = result.replace(new RegExp(placeholder, "g"), replacement);
7412
7416
  }
7413
7417
  return result;
@@ -7445,7 +7449,7 @@ async function generateCommands(subagents, tool = DEFAULT_TOOL) {
7445
7449
  const template = TASK_TEMPLATES[slug];
7446
7450
  try {
7447
7451
  const taskDef = buildTaskDefinition(slug, projectSubAgents);
7448
- const processedContent = replaceInvocationPlaceholders(taskDef.content, tool);
7452
+ const processedContent = replaceInvocationPlaceholders(taskDef.content, tool, true);
7449
7453
  const content = formatCommandMarkdown(taskDef.frontmatter, processedContent, toolProfile.commandFrontmatter);
7450
7454
  const fileName = `${outputSlug}${toolProfile.commandExtension}`;
7451
7455
  const filePath = path6.join(commandsDir, fileName);
@@ -7460,7 +7464,7 @@ ${template.description}
7460
7464
 
7461
7465
  **Note**: This task requires additional subagents to be configured.`;
7462
7466
  const frontmatter = template.frontmatter;
7463
- const processedContent = replaceInvocationPlaceholders(fallbackContent, tool);
7467
+ const processedContent = replaceInvocationPlaceholders(fallbackContent, tool, true);
7464
7468
  const content = formatCommandMarkdown(frontmatter, processedContent, toolProfile.commandFrontmatter);
7465
7469
  const fileName = `${outputSlug}${toolProfile.commandExtension}`;
7466
7470
  const filePath = path6.join(commandsDir, fileName);