sickbay 1.14.3 → 1.15.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/dist/{DiffApp-XTG4L4FO.js → DiffApp-CRZ3LNAD.js} +3 -4
- package/dist/{DoctorApp-JUMQMGJD.js → DoctorApp-WX4WLAOU.js} +3 -4
- package/dist/{FixApp-BX5LBIOP.js → FixApp-2DDF43KN.js} +4 -6
- package/dist/{StatsApp-WQAEKOY6.js → StatsApp-QGSMSOMF.js} +3 -4
- package/dist/{TrendApp-EM6DST33.js → TrendApp-RZ33ZBUM.js} +3 -4
- package/dist/{TuiApp-QXEQ7VC4.js → TuiApp-2SWXSWJX.js} +9 -10
- package/dist/{ai-K5VFVZO7.js → ai-7DGOLNJX.js} +0 -2
- package/dist/{badge-AO2FZVHJ.js → badge-KQ73KEIN.js} +0 -2
- package/dist/{chunk-CYUCJO47.js → chunk-6GIJCWXK.js} +4 -1759
- package/dist/{chunk-QM2YFOB3.js → chunk-G2DET5WU.js} +1 -1
- package/dist/{chunk-RH2MTL2L.js → chunk-QYJLQBEL.js} +1 -1
- package/dist/claude-SN6IVGBI.js +116 -0
- package/dist/config.js +1 -2
- package/dist/{dist-ZWXOESKV.js → dist-Q76NLAL5.js} +1 -2
- package/dist/{history-KXLC45VS.js → history-XLNVZEDI.js} +0 -1
- package/dist/index.js +39 -36
- package/dist/{init-722XRGCW.js → init-XUMTXUVV.js} +4 -5
- package/dist/resolve-package-RN2JUNIX.js +9 -0
- package/dist/{update-check-QLG6GA4Z.js → update-check-M7IFOMLJ.js} +0 -1
- package/dist/web/assets/graph-viz-Ls9Hbzox.js.map +1 -1
- package/dist/{web-74HLV7N5.js → web-U22VUQGS.js} +15 -5
- package/package.json +3 -2
- package/dist/chunk-JSBRDJBE.js +0 -30
- package/dist/resolve-package-WMVAEA6D.js +0 -10
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Header
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-JSBRDJBE.js";
|
|
3
|
+
} from "./chunk-G2DET5WU.js";
|
|
5
4
|
|
|
6
5
|
// src/components/DiffApp.tsx
|
|
7
6
|
import React, { useState, useEffect } from "react";
|
|
@@ -120,14 +119,14 @@ function DiffApp({ projectPath, branch, jsonOutput, checks, verbose }) {
|
|
|
120
119
|
useEffect(() => {
|
|
121
120
|
(async () => {
|
|
122
121
|
try {
|
|
123
|
-
const { runSickbay } = await import("./dist-
|
|
122
|
+
const { runSickbay } = await import("./dist-Q76NLAL5.js");
|
|
124
123
|
const currentReport = await runSickbay({
|
|
125
124
|
projectPath,
|
|
126
125
|
checks,
|
|
127
126
|
verbose
|
|
128
127
|
});
|
|
129
128
|
try {
|
|
130
|
-
const { saveEntry, saveLastReport } = await import("./history-
|
|
129
|
+
const { saveEntry, saveLastReport } = await import("./history-XLNVZEDI.js");
|
|
131
130
|
saveEntry(currentReport);
|
|
132
131
|
saveLastReport(currentReport);
|
|
133
132
|
} catch {
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
shortName
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QYJLQBEL.js";
|
|
4
4
|
import {
|
|
5
5
|
Header
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-G2DET5WU.js";
|
|
7
7
|
import {
|
|
8
8
|
detectPackageManager,
|
|
9
9
|
detectProject
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-JSBRDJBE.js";
|
|
10
|
+
} from "./chunk-6GIJCWXK.js";
|
|
12
11
|
|
|
13
12
|
// src/components/DoctorApp.tsx
|
|
14
13
|
import React, { useState, useEffect } from "react";
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
shortName
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QYJLQBEL.js";
|
|
4
4
|
import {
|
|
5
5
|
ProgressList
|
|
6
6
|
} from "./chunk-MBVA75EM.js";
|
|
7
7
|
import {
|
|
8
8
|
Header
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-G2DET5WU.js";
|
|
10
10
|
import {
|
|
11
11
|
runSickbay
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-JSBRDJBE.js";
|
|
12
|
+
} from "./chunk-6GIJCWXK.js";
|
|
14
13
|
|
|
15
14
|
// src/components/FixApp.tsx
|
|
16
15
|
import React, { useState, useEffect, useCallback } from "react";
|
|
@@ -61,8 +60,7 @@ async function executeFix(fix, projectPath) {
|
|
|
61
60
|
const args = parts.slice(1);
|
|
62
61
|
const { stdout, stderr } = await execFileAsync(cmd, args, {
|
|
63
62
|
cwd: projectPath,
|
|
64
|
-
timeout: 6e4
|
|
65
|
-
shell: true
|
|
63
|
+
timeout: 6e4
|
|
66
64
|
});
|
|
67
65
|
return {
|
|
68
66
|
fixable: fix,
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
shortName
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QYJLQBEL.js";
|
|
4
4
|
import {
|
|
5
5
|
Header
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-G2DET5WU.js";
|
|
7
7
|
import {
|
|
8
8
|
detectProject
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-JSBRDJBE.js";
|
|
9
|
+
} from "./chunk-6GIJCWXK.js";
|
|
11
10
|
|
|
12
11
|
// src/components/StatsApp.tsx
|
|
13
12
|
import React, { useState, useEffect } from "react";
|
|
@@ -4,16 +4,15 @@ import {
|
|
|
4
4
|
} from "./chunk-SHO3ZXTH.js";
|
|
5
5
|
import {
|
|
6
6
|
shortName
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QYJLQBEL.js";
|
|
8
8
|
import {
|
|
9
9
|
Header
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-G2DET5WU.js";
|
|
11
|
+
import "./chunk-6GIJCWXK.js";
|
|
12
12
|
import {
|
|
13
13
|
detectRegressions,
|
|
14
14
|
loadHistory
|
|
15
15
|
} from "./chunk-3OR2GFVE.js";
|
|
16
|
-
import "./chunk-JSBRDJBE.js";
|
|
17
16
|
|
|
18
17
|
// src/components/TrendApp.tsx
|
|
19
18
|
import React, { useState, useEffect } from "react";
|
|
@@ -14,11 +14,10 @@ import {
|
|
|
14
14
|
detectMonorepo,
|
|
15
15
|
runSickbay,
|
|
16
16
|
runSickbayMonorepo
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6GIJCWXK.js";
|
|
18
18
|
import {
|
|
19
19
|
loadHistory
|
|
20
20
|
} from "./chunk-3OR2GFVE.js";
|
|
21
|
-
import "./chunk-JSBRDJBE.js";
|
|
22
21
|
|
|
23
22
|
// src/components/tui/TuiApp.tsx
|
|
24
23
|
import React11, { useState as useState8, useEffect as useEffect7, useCallback as useCallback2, useRef as useRef5 } from "react";
|
|
@@ -363,7 +362,7 @@ function useSickbayRunner({ projectPath, checks, quotes }) {
|
|
|
363
362
|
setMonorepoReport(null);
|
|
364
363
|
setReport(result);
|
|
365
364
|
try {
|
|
366
|
-
const { saveEntry } = await import("./history-
|
|
365
|
+
const { saveEntry } = await import("./history-XLNVZEDI.js");
|
|
367
366
|
saveEntry(result);
|
|
368
367
|
} catch {
|
|
369
368
|
}
|
|
@@ -690,7 +689,7 @@ function TuiApp({
|
|
|
690
689
|
return () => timers.forEach(clearTimeout);
|
|
691
690
|
}, []);
|
|
692
691
|
useEffect7(() => {
|
|
693
|
-
checkForUpdate("1.
|
|
692
|
+
checkForUpdate("1.15.0").then((info) => {
|
|
694
693
|
if (info) setUpdateInfo(info);
|
|
695
694
|
});
|
|
696
695
|
}, []);
|
|
@@ -711,13 +710,13 @@ function TuiApp({
|
|
|
711
710
|
if (prevScore !== null) setPreviousScore(prevScore);
|
|
712
711
|
setLastScanTime(/* @__PURE__ */ new Date());
|
|
713
712
|
try {
|
|
714
|
-
const { saveLastReport } = await import("./history-
|
|
713
|
+
const { saveLastReport } = await import("./history-XLNVZEDI.js");
|
|
715
714
|
saveLastReport(result);
|
|
716
715
|
} catch {
|
|
717
716
|
}
|
|
718
717
|
try {
|
|
719
|
-
const { getDependencyTree } = await import("./dist-
|
|
720
|
-
const { saveDepTree } = await import("./history-
|
|
718
|
+
const { getDependencyTree } = await import("./dist-Q76NLAL5.js");
|
|
719
|
+
const { saveDepTree } = await import("./history-XLNVZEDI.js");
|
|
721
720
|
const tree = await getDependencyTree(projectPath, result.projectInfo.packageManager);
|
|
722
721
|
saveDepTree(projectPath, tree);
|
|
723
722
|
} catch {
|
|
@@ -733,7 +732,7 @@ function TuiApp({
|
|
|
733
732
|
setTimeout(() => setScoreFlash(void 0), 600);
|
|
734
733
|
}
|
|
735
734
|
try {
|
|
736
|
-
const { loadHistory: loadHistory2, detectRegressions } = await import("./history-
|
|
735
|
+
const { loadHistory: loadHistory2, detectRegressions } = await import("./history-XLNVZEDI.js");
|
|
737
736
|
const history = loadHistory2(projectPath);
|
|
738
737
|
if (history) {
|
|
739
738
|
const regressions = detectRegressions(history.entries);
|
|
@@ -820,11 +819,11 @@ function TuiApp({
|
|
|
820
819
|
const webReport = monorepoReportRef.current ?? reportRef.current;
|
|
821
820
|
if (!webReport) return;
|
|
822
821
|
try {
|
|
823
|
-
const { serveWeb } = await import("./web-
|
|
822
|
+
const { serveWeb } = await import("./web-U22VUQGS.js");
|
|
824
823
|
const { default: openBrowser } = await import("open");
|
|
825
824
|
let aiService;
|
|
826
825
|
if (withAI && process.env.ANTHROPIC_API_KEY && !monorepoReportRef.current) {
|
|
827
|
-
const { createAIService } = await import("./ai-
|
|
826
|
+
const { createAIService } = await import("./ai-7DGOLNJX.js");
|
|
828
827
|
aiService = createAIService(process.env.ANTHROPIC_API_KEY);
|
|
829
828
|
addActivity("info", "Launching web dashboard with AI...");
|
|
830
829
|
} else {
|