claudeup 3.6.0 → 3.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudeup",
3
- "version": "3.6.0",
3
+ "version": "3.6.1",
4
4
  "description": "TUI tool for managing Claude Code plugins, MCPs, and configuration",
5
5
  "type": "module",
6
6
  "main": "src/main.tsx",
@@ -9,6 +9,6 @@ export function ConfirmModal({ title, message, onConfirm, onCancel, }) {
9
9
  onCancel();
10
10
  }
11
11
  });
12
- return (_jsxs("box", { flexDirection: "column", border: true, borderStyle: "rounded", borderColor: "yellow", paddingLeft: 2, paddingRight: 2, paddingTop: 1, paddingBottom: 1, width: 60, children: [_jsx("text", { children: _jsx("strong", { children: title }) }), _jsx("box", { marginTop: 1, marginBottom: 1, children: _jsx("text", { children: message }) }), _jsx("box", { children: _jsxs("text", { children: [_jsx("span", { fg: "green", children: "[Y]" }), _jsx("span", { children: "es " }), _jsx("span", { fg: "red", children: "[N]" }), _jsx("span", { children: "o" })] }) })] }));
12
+ return (_jsxs("box", { flexDirection: "column", border: true, borderStyle: "rounded", borderColor: "yellow", backgroundColor: "#1a1a2e", paddingLeft: 2, paddingRight: 2, paddingTop: 1, paddingBottom: 1, width: 60, children: [_jsx("text", { children: _jsx("strong", { children: title }) }), _jsx("box", { marginTop: 1, marginBottom: 1, children: _jsx("text", { children: message }) }), _jsx("box", { children: _jsxs("text", { children: [_jsx("span", { fg: "green", children: "[Y]" }), _jsx("span", { children: "es " }), _jsx("span", { fg: "red", children: "[N]" }), _jsx("span", { children: "o" })] }) })] }));
13
13
  }
14
14
  export default ConfirmModal;
@@ -32,6 +32,7 @@ export function ConfirmModal({
32
32
  border
33
33
  borderStyle="rounded"
34
34
  borderColor="yellow"
35
+ backgroundColor="#1a1a2e"
35
36
  paddingLeft={2}
36
37
  paddingRight={2}
37
38
  paddingTop={1}
@@ -11,6 +11,6 @@ export function InputModal({ title, label, defaultValue = "", onSubmit, onCancel
11
11
  onCancel();
12
12
  }
13
13
  });
14
- return (_jsxs("box", { flexDirection: "column", border: true, borderStyle: "rounded", borderColor: "cyan", paddingLeft: 2, paddingRight: 2, paddingTop: 1, paddingBottom: 1, width: 60, children: [_jsx("text", { children: _jsx("strong", { children: title }) }), _jsx("box", { marginTop: 1, marginBottom: 1, children: _jsx("text", { children: label }) }), _jsx("input", { value: value, onChange: setValue, focused: true, width: 54 }), _jsx("box", { marginTop: 1, children: _jsx("text", { fg: "#666666", children: "Enter to confirm \u2022 Escape to cancel" }) })] }));
14
+ return (_jsxs("box", { flexDirection: "column", border: true, borderStyle: "rounded", borderColor: "cyan", backgroundColor: "#1a1a2e", paddingLeft: 2, paddingRight: 2, paddingTop: 1, paddingBottom: 1, width: 60, children: [_jsx("text", { children: _jsx("strong", { children: title }) }), _jsx("box", { marginTop: 1, marginBottom: 1, children: _jsx("text", { children: label }) }), _jsx("input", { value: value, onChange: setValue, focused: true, width: 54 }), _jsx("box", { marginTop: 1, children: _jsx("text", { fg: "#666666", children: "Enter to confirm \u2022 Escape to cancel" }) })] }));
15
15
  }
16
16
  export default InputModal;
@@ -37,6 +37,7 @@ export function InputModal({
37
37
  border
38
38
  borderStyle="rounded"
39
39
  borderColor="cyan"
40
+ backgroundColor="#1a1a2e"
40
41
  paddingLeft={2}
41
42
  paddingRight={2}
42
43
  paddingTop={1}
@@ -9,6 +9,6 @@ export function LoadingModal({ message, }) {
9
9
  }, 80);
10
10
  return () => clearInterval(interval);
11
11
  }, []);
12
- return (_jsxs("box", { flexDirection: "row", border: true, borderStyle: "rounded", borderColor: "cyan", paddingLeft: 2, paddingRight: 2, paddingTop: 1, paddingBottom: 1, children: [_jsx("text", { fg: "cyan", children: SPINNER_FRAMES[frame] }), _jsxs("text", { children: [" ", message] })] }));
12
+ return (_jsxs("box", { flexDirection: "row", border: true, borderStyle: "rounded", borderColor: "cyan", backgroundColor: "#1a1a2e", paddingLeft: 2, paddingRight: 2, paddingTop: 1, paddingBottom: 1, children: [_jsx("text", { fg: "cyan", children: SPINNER_FRAMES[frame] }), _jsxs("text", { children: [" ", message] })] }));
13
13
  }
14
14
  export default LoadingModal;
@@ -26,6 +26,7 @@ export function LoadingModal({
26
26
  border
27
27
  borderStyle="rounded"
28
28
  borderColor="cyan"
29
+ backgroundColor="#1a1a2e"
29
30
  paddingLeft={2}
30
31
  paddingRight={2}
31
32
  paddingTop={1}
@@ -11,6 +11,6 @@ export function MessageModal({ title, message, variant, onDismiss, }) {
11
11
  // Any key dismisses
12
12
  onDismiss();
13
13
  });
14
- return (_jsxs("box", { flexDirection: "column", border: true, borderStyle: "rounded", borderColor: config.color, paddingLeft: 2, paddingRight: 2, paddingTop: 1, paddingBottom: 1, width: 60, children: [_jsxs("box", { children: [_jsxs("text", { fg: config.color, children: [config.icon, " "] }), _jsx("text", { children: _jsx("strong", { children: title }) })] }), _jsx("box", { marginTop: 1, marginBottom: 1, children: _jsx("text", { children: message }) }), _jsx("box", { children: _jsx("text", { fg: "#666666", children: "Press any key to continue" }) })] }));
14
+ return (_jsxs("box", { flexDirection: "column", border: true, borderStyle: "rounded", borderColor: config.color, backgroundColor: "#1a1a2e", paddingLeft: 2, paddingRight: 2, paddingTop: 1, paddingBottom: 1, width: 60, children: [_jsxs("box", { children: [_jsxs("text", { fg: config.color, children: [config.icon, " "] }), _jsx("text", { children: _jsx("strong", { children: title }) })] }), _jsx("box", { marginTop: 1, marginBottom: 1, children: _jsx("text", { children: message }) }), _jsx("box", { children: _jsx("text", { fg: "#666666", children: "Press any key to continue" }) })] }));
15
15
  }
16
16
  export default MessageModal;
@@ -37,6 +37,7 @@ export function MessageModal({
37
37
  border
38
38
  borderStyle="rounded"
39
39
  borderColor={config.color}
40
+ backgroundColor="#1a1a2e"
40
41
  paddingLeft={2}
41
42
  paddingRight={2}
42
43
  paddingTop={1}
@@ -50,7 +50,7 @@ export function ModalContainer() {
50
50
  return null;
51
51
  }
52
52
  };
53
- // Center the modal on screen
54
- return (_jsx("box", { position: "absolute", width: "100%", height: "100%", justifyContent: "center", alignItems: "center", children: renderModal() }));
53
+ // Center the modal on screen with opaque backdrop
54
+ return (_jsx("box", { position: "absolute", width: "100%", height: "100%", justifyContent: "center", alignItems: "center", backgroundColor: "#1a1a2e", children: renderModal() }));
55
55
  }
56
56
  export default ModalContainer;
@@ -87,7 +87,7 @@ export function ModalContainer() {
87
87
  }
88
88
  };
89
89
 
90
- // Center the modal on screen
90
+ // Center the modal on screen with opaque backdrop
91
91
  return (
92
92
  <box
93
93
  position="absolute"
@@ -95,6 +95,7 @@ export function ModalContainer() {
95
95
  height="100%"
96
96
  justifyContent="center"
97
97
  alignItems="center"
98
+ backgroundColor="#1a1a2e"
98
99
  >
99
100
  {renderModal()}
100
101
  </box>
@@ -17,7 +17,7 @@ export function SelectModal({ title, message, options, onSelect, onCancel, }) {
17
17
  setSelectedIndex((prev) => Math.min(options.length - 1, prev + 1));
18
18
  }
19
19
  });
20
- return (_jsxs("box", { flexDirection: "column", border: true, borderStyle: "rounded", borderColor: "cyan", paddingLeft: 2, paddingRight: 2, paddingTop: 1, paddingBottom: 1, width: 50, children: [_jsx("text", { children: _jsx("strong", { children: title }) }), _jsx("box", { marginTop: 1, marginBottom: 1, children: _jsx("text", { children: message }) }), _jsx("box", { flexDirection: "column", children: options.map((option, idx) => {
20
+ return (_jsxs("box", { flexDirection: "column", border: true, borderStyle: "rounded", borderColor: "cyan", backgroundColor: "#1a1a2e", paddingLeft: 2, paddingRight: 2, paddingTop: 1, paddingBottom: 1, width: 50, children: [_jsx("text", { children: _jsx("strong", { children: title }) }), _jsx("box", { marginTop: 1, marginBottom: 1, children: _jsx("text", { children: message }) }), _jsx("box", { flexDirection: "column", children: options.map((option, idx) => {
21
21
  const isSelected = idx === selectedIndex;
22
22
  const label = isSelected ? `> ${option.label}` : ` ${option.label}`;
23
23
  return (_jsxs("text", { fg: isSelected ? "cyan" : "#666666", children: [isSelected && _jsx("strong", { children: label }), !isSelected && label] }, option.value));
@@ -42,6 +42,7 @@ export function SelectModal({
42
42
  border
43
43
  borderStyle="rounded"
44
44
  borderColor="cyan"
45
+ backgroundColor="#1a1a2e"
45
46
  paddingLeft={2}
46
47
  paddingRight={2}
47
48
  paddingTop={1}