sickbay 1.15.0 → 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.
@@ -1,7 +1,6 @@
1
1
  import {
2
2
  Header
3
- } from "./chunk-SC444YPU.js";
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-ZWXOESKV.js");
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-KXLC45VS.js");
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-RH2MTL2L.js";
3
+ } from "./chunk-QYJLQBEL.js";
4
4
  import {
5
5
  Header
6
- } from "./chunk-SC444YPU.js";
6
+ } from "./chunk-G2DET5WU.js";
7
7
  import {
8
8
  detectPackageManager,
9
9
  detectProject
10
- } from "./chunk-CYUCJO47.js";
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-RH2MTL2L.js";
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-SC444YPU.js";
9
+ } from "./chunk-G2DET5WU.js";
10
10
  import {
11
11
  runSickbay
12
- } from "./chunk-CYUCJO47.js";
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-RH2MTL2L.js";
3
+ } from "./chunk-QYJLQBEL.js";
4
4
  import {
5
5
  Header
6
- } from "./chunk-SC444YPU.js";
6
+ } from "./chunk-G2DET5WU.js";
7
7
  import {
8
8
  detectProject
9
- } from "./chunk-CYUCJO47.js";
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-RH2MTL2L.js";
7
+ } from "./chunk-QYJLQBEL.js";
8
8
  import {
9
9
  Header
10
- } from "./chunk-SC444YPU.js";
11
- import "./chunk-CYUCJO47.js";
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-CYUCJO47.js";
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-KXLC45VS.js");
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.14.3").then((info) => {
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-KXLC45VS.js");
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-ZWXOESKV.js");
720
- const { saveDepTree } = await import("./history-KXLC45VS.js");
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-KXLC45VS.js");
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-74HLV7N5.js");
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-K5VFVZO7.js");
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 {
@@ -1,5 +1,3 @@
1
- import "./chunk-JSBRDJBE.js";
2
-
3
1
  // src/services/ai.ts
4
2
  import Anthropic from "@anthropic-ai/sdk";
5
3
  function createAIService(apiKey) {
@@ -1,5 +1,3 @@
1
- import "./chunk-JSBRDJBE.js";
2
-
3
1
  // src/commands/badge.ts
4
2
  import { existsSync, readFileSync } from "fs";
5
3
  import { join } from "path";