@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.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  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
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kud/claude-sessions-cli",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "TUI session manager for Claude Code",
5
5
  "type": "module",
6
6
  "bin": {