triflux 10.55.0 → 10.55.1
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/bin/triflux.mjs +6 -8
- package/package.json +1 -1
package/bin/triflux.mjs
CHANGED
|
@@ -2846,11 +2846,8 @@ async function cmdDoctor(options = {}) {
|
|
|
2846
2846
|
const stdioRows = statusInfo.rows.filter((row) => row.type === "stdio");
|
|
2847
2847
|
const hasHardIssues =
|
|
2848
2848
|
invalidConfigs.length > 0 || mismatchRows.length > 0;
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
: stdioRows.length > 0
|
|
2852
|
-
? "warning"
|
|
2853
|
-
: "ok";
|
|
2849
|
+
// 레지스트리 밖 stdio MCP 는 사용자가 직접 둔 서버라 문제로 세지 않는다.
|
|
2850
|
+
const status = hasHardIssues ? "issues" : "ok";
|
|
2854
2851
|
|
|
2855
2852
|
addDoctorCheck(report, {
|
|
2856
2853
|
name: "mcp-registry",
|
|
@@ -2863,7 +2860,7 @@ async function cmdDoctor(options = {}) {
|
|
|
2863
2860
|
file: config.filePath,
|
|
2864
2861
|
error: config.parseError?.message || "parse error",
|
|
2865
2862
|
})),
|
|
2866
|
-
...(
|
|
2863
|
+
...(hasHardIssues
|
|
2867
2864
|
? { fix: "tfx doctor --fix 또는 tfx mcp sync" }
|
|
2868
2865
|
: {}),
|
|
2869
2866
|
});
|
|
@@ -2920,7 +2917,9 @@ async function cmdDoctor(options = {}) {
|
|
|
2920
2917
|
if (stdioRows.length === 0) {
|
|
2921
2918
|
ok("미등록 stdio MCP 없음");
|
|
2922
2919
|
} else {
|
|
2923
|
-
|
|
2920
|
+
info(
|
|
2921
|
+
`레지스트리 밖 stdio MCP ${stdioRows.length}개(사용자 설정, 점검 대상 아님)`,
|
|
2922
|
+
);
|
|
2924
2923
|
for (const row of stdioRows) {
|
|
2925
2924
|
info(
|
|
2926
2925
|
`${row.label}: ${row.name}${row.command ? ` (${row.command})` : ""}`,
|
|
@@ -2930,7 +2929,6 @@ async function cmdDoctor(options = {}) {
|
|
|
2930
2929
|
|
|
2931
2930
|
issues += invalidConfigs.length;
|
|
2932
2931
|
issues += mismatchRows.length;
|
|
2933
|
-
issues += stdioRows.length;
|
|
2934
2932
|
}
|
|
2935
2933
|
}
|
|
2936
2934
|
|