ccstatusline 1.0.1 → 1.0.2
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/ccstatusline.js +5 -5
- package/package.json +1 -1
package/dist/ccstatusline.js
CHANGED
|
@@ -103,13 +103,13 @@ async function saveClaudeSettings(settings) {
|
|
|
103
103
|
}
|
|
104
104
|
async function isInstalled() {
|
|
105
105
|
const settings = await loadClaudeSettings();
|
|
106
|
-
return settings.statusLine?.command === "npx ccstatusline";
|
|
106
|
+
return settings.statusLine?.command === "npx -y ccstatusline";
|
|
107
107
|
}
|
|
108
108
|
async function installStatusLine() {
|
|
109
109
|
const settings = await loadClaudeSettings();
|
|
110
110
|
settings.statusLine = {
|
|
111
111
|
type: "command",
|
|
112
|
-
command: "npx ccstatusline",
|
|
112
|
+
command: "npx -y ccstatusline",
|
|
113
113
|
padding: 1
|
|
114
114
|
};
|
|
115
115
|
await saveClaudeSettings(settings);
|
|
@@ -668,12 +668,12 @@ var App = () => {
|
|
|
668
668
|
} else {
|
|
669
669
|
const existing = await getExistingStatusLine();
|
|
670
670
|
let message;
|
|
671
|
-
if (existing && existing !== "npx ccstatusline") {
|
|
671
|
+
if (existing && existing !== "npx -y ccstatusline") {
|
|
672
672
|
message = `This will modify ~/.claude/settings.json
|
|
673
673
|
|
|
674
674
|
A status line is already configured: "${existing}"
|
|
675
|
-
Replace it with ccstatusline?`;
|
|
676
|
-
} else if (existing === "npx ccstatusline") {
|
|
675
|
+
Replace it with npx -y ccstatusline?`;
|
|
676
|
+
} else if (existing === "npx -y ccstatusline") {
|
|
677
677
|
message = `ccstatusline is already installed in ~/.claude/settings.json
|
|
678
678
|
Reinstall it?`;
|
|
679
679
|
} else {
|