@neobiotechlabs/neobiotech-dev-agent 0.1.23 → 0.1.24
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.
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"source": "npm",
|
|
11
11
|
"package": "@neobiotechlabs/neobiotech-dev-agent",
|
|
12
12
|
"registry": "https://registry.npmjs.org",
|
|
13
|
-
"version": "0.1.
|
|
13
|
+
"version": "0.1.24"
|
|
14
14
|
},
|
|
15
15
|
"description": "의료기기 SW 규제 개발 자동화 (Jira·Confluence·Risk·CVSS·Xray·IEC 62304/62366·MDR·문서 렌더)",
|
|
16
16
|
"category": "medical-device",
|
package/dist/index.js
CHANGED
|
@@ -159694,10 +159694,12 @@ var RiskClient = class {
|
|
|
159694
159694
|
error: "RISK_PLUGIN_ENDPOINT not configured. \uD658\uACBD\uBCC0\uC218 \uB610\uB294 \uCF54\uB4DC \uC815\uC801 \uAE30\uBCF8\uAC12\uC744 \uD655\uC778\uD558\uC138\uC694."
|
|
159695
159695
|
};
|
|
159696
159696
|
}
|
|
159697
|
+
const DEFAULT_RMP_AUTHOR = "557058:f58131cb-b67d-43c7-b30d-6b58d40bd077";
|
|
159698
|
+
const finalAuthor = payload.author && payload.author.length > 0 ? payload.author : process.env.RISK_PLUGIN_AUTHOR || DEFAULT_RMP_AUTHOR;
|
|
159697
159699
|
const fullPayload = {
|
|
159698
159700
|
...payload,
|
|
159699
159701
|
issueKey,
|
|
159700
|
-
author:
|
|
159702
|
+
author: finalAuthor
|
|
159701
159703
|
};
|
|
159702
159704
|
try {
|
|
159703
159705
|
const resp = await fetch(endpoint, {
|
|
@@ -160243,8 +160245,9 @@ function planSetRisk(model, riskSet, classifierOptions, issueKey) {
|
|
|
160243
160245
|
if (!m3) return { items: [], skipped: [{ classifier: "*", optionName: model }] };
|
|
160244
160246
|
const setId = m3.riskSets[riskSet];
|
|
160245
160247
|
if (!setId) return { items: [], skipped: [{ classifier: "*", optionName: `riskSet.${riskSet}` }] };
|
|
160246
|
-
const
|
|
160247
|
-
|
|
160248
|
+
const DEFAULT_RMP_AUTHOR = "557058:f58131cb-b67d-43c7-b30d-6b58d40bd077";
|
|
160249
|
+
const author = process.env.RISK_PLUGIN_AUTHOR || DEFAULT_RMP_AUTHOR;
|
|
160250
|
+
if (!author) return { items: [], skipped: [{ classifier: "*", optionName: "RISK_PLUGIN_AUTHOR missing" }] };
|
|
160248
160251
|
const items = [];
|
|
160249
160252
|
const skipped = [];
|
|
160250
160253
|
for (const [classifierName, optionName] of Object.entries(classifierOptions)) {
|
|
@@ -184978,7 +184981,7 @@ var xrayClientSecret = process.env.XRAY_CLIENT_SECRET || "";
|
|
|
184978
184981
|
var xray = xrayClientId && xrayClientSecret ? new XrayClient(xrayClientId, xrayClientSecret, jiraUrl, jiraEmail, jiraToken) : null;
|
|
184979
184982
|
var server = new McpServer({
|
|
184980
184983
|
name: "jira-confluence",
|
|
184981
|
-
version: "0.1.
|
|
184984
|
+
version: "0.1.24"
|
|
184982
184985
|
});
|
|
184983
184986
|
var ctx = { server, jira, confluence, risk, xray };
|
|
184984
184987
|
registerJiraCrudTools(ctx);
|