@bugzy-ai/bugzy 1.9.0 → 1.9.2
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/dist/cli/index.cjs +26 -27
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.js +26 -27
- package/dist/cli/index.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/tasks/index.cjs +1 -1
- package/dist/tasks/index.cjs.map +1 -1
- package/dist/tasks/index.js +1 -1
- package/dist/tasks/index.js.map +1 -1
- package/package.json +2 -2
package/dist/cli/index.cjs
CHANGED
|
@@ -785,7 +785,7 @@ The handler file contains all necessary processing logic for the detected intent
|
|
|
785
785
|
],
|
|
786
786
|
requiredSubagents: ["team-communicator"],
|
|
787
787
|
optionalSubagents: [],
|
|
788
|
-
dependentTasks: []
|
|
788
|
+
dependentTasks: ["verify-changes"]
|
|
789
789
|
};
|
|
790
790
|
}
|
|
791
791
|
});
|
|
@@ -7838,6 +7838,19 @@ function replaceInvocationPlaceholders(content, toolId, isLocal = false) {
|
|
|
7838
7838
|
return result;
|
|
7839
7839
|
}
|
|
7840
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
|
+
|
|
7841
7854
|
// src/cli/generators/commands.ts
|
|
7842
7855
|
var COMMAND_FILTER = {
|
|
7843
7856
|
// Cloud-only commands (skip in local environment)
|
|
@@ -7896,29 +7909,19 @@ ${template.description}
|
|
|
7896
7909
|
}
|
|
7897
7910
|
function formatCommandMarkdown(frontmatter, content, includeFrontmatter) {
|
|
7898
7911
|
if (!includeFrontmatter) {
|
|
7899
|
-
const
|
|
7912
|
+
const lines = [];
|
|
7900
7913
|
if (frontmatter.description) {
|
|
7901
|
-
|
|
7902
|
-
|
|
7914
|
+
lines.push(`# ${frontmatter.description}`);
|
|
7915
|
+
lines.push("");
|
|
7903
7916
|
}
|
|
7904
7917
|
if (frontmatter["argument-hint"]) {
|
|
7905
|
-
|
|
7906
|
-
|
|
7907
|
-
}
|
|
7908
|
-
lines2.push(content);
|
|
7909
|
-
return lines2.join("\n");
|
|
7910
|
-
}
|
|
7911
|
-
const lines = ["---"];
|
|
7912
|
-
for (const [key, value] of Object.entries(frontmatter)) {
|
|
7913
|
-
if (value !== void 0 && value !== null) {
|
|
7914
|
-
const formattedValue = typeof value === "string" ? `"${value}"` : value;
|
|
7915
|
-
lines.push(`${key}: ${formattedValue}`);
|
|
7918
|
+
lines.push(`**Arguments**: ${frontmatter["argument-hint"]}`);
|
|
7919
|
+
lines.push("");
|
|
7916
7920
|
}
|
|
7921
|
+
lines.push(content);
|
|
7922
|
+
return lines.join("\n");
|
|
7917
7923
|
}
|
|
7918
|
-
|
|
7919
|
-
lines.push("");
|
|
7920
|
-
lines.push(content);
|
|
7921
|
-
return lines.join("\n");
|
|
7924
|
+
return serializeMarkdownWithFrontmatter(frontmatter, content);
|
|
7922
7925
|
}
|
|
7923
7926
|
|
|
7924
7927
|
// src/cli/generators/agents.ts
|
|
@@ -7954,21 +7957,17 @@ function formatAgentMarkdown(frontmatter, content, includeFrontmatter) {
|
|
|
7954
7957
|
if (!includeFrontmatter) {
|
|
7955
7958
|
return content;
|
|
7956
7959
|
}
|
|
7957
|
-
const
|
|
7960
|
+
const processedFrontmatter = {};
|
|
7958
7961
|
for (const [key, value] of Object.entries(frontmatter)) {
|
|
7959
7962
|
if (value !== void 0 && value !== null) {
|
|
7960
7963
|
if (Array.isArray(value)) {
|
|
7961
|
-
|
|
7964
|
+
processedFrontmatter[key] = value.join(", ");
|
|
7962
7965
|
} else {
|
|
7963
|
-
|
|
7964
|
-
lines.push(`${key}: ${formattedValue}`);
|
|
7966
|
+
processedFrontmatter[key] = value;
|
|
7965
7967
|
}
|
|
7966
7968
|
}
|
|
7967
7969
|
}
|
|
7968
|
-
|
|
7969
|
-
lines.push("");
|
|
7970
|
-
lines.push(content);
|
|
7971
|
-
return lines.join("\n");
|
|
7970
|
+
return serializeMarkdownWithFrontmatter(processedFrontmatter, content);
|
|
7972
7971
|
}
|
|
7973
7972
|
|
|
7974
7973
|
// src/cli/generators/mcp.ts
|