@kud/claude-sessions-cli 1.0.2 → 1.0.3
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/index.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -195,7 +195,7 @@ var deleteSession = (item) => {
|
|
|
195
195
|
}
|
|
196
196
|
removeFromClaudeJson(item.dir);
|
|
197
197
|
}
|
|
198
|
-
if (item.type === "chat") {
|
|
198
|
+
if (item.type === "chat" && item.dir !== HOME) {
|
|
199
199
|
try {
|
|
200
200
|
execSync(`trash "${item.dir}"`);
|
|
201
201
|
} catch {
|
|
@@ -539,7 +539,8 @@ var App = () => {
|
|
|
539
539
|
),
|
|
540
540
|
/* @__PURE__ */ jsx(Text, { color: "white", bold: sel, children: item.label }),
|
|
541
541
|
/* @__PURE__ */ jsx(Text, { color: "gray", bold: sel, children: item.path }),
|
|
542
|
-
/* @__PURE__ */ jsx(Text, { color: "yellow", bold: sel, dimColor: !sel, children: item.ago })
|
|
542
|
+
/* @__PURE__ */ jsx(Text, { color: "yellow", bold: sel, dimColor: !sel, children: item.ago }),
|
|
543
|
+
item.dir === HOME && /* @__PURE__ */ jsx(Text, { color: "red", dimColor: !sel, children: "\u26A0 not recommended" })
|
|
543
544
|
] })
|
|
544
545
|
] }, item.dir);
|
|
545
546
|
}),
|