@kud/claude-sessions-cli 1.0.1 → 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 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,4 @@
1
1
  #!/usr/bin/env node
2
- #!/usr/bin/env node
3
2
 
4
3
  // src/index.tsx
5
4
  import React, { useState, useEffect } from "react";
@@ -196,7 +195,7 @@ var deleteSession = (item) => {
196
195
  }
197
196
  removeFromClaudeJson(item.dir);
198
197
  }
199
- if (item.type === "chat") {
198
+ if (item.type === "chat" && item.dir !== HOME) {
200
199
  try {
201
200
  execSync(`trash "${item.dir}"`);
202
201
  } catch {
@@ -540,7 +539,8 @@ var App = () => {
540
539
  ),
541
540
  /* @__PURE__ */ jsx(Text, { color: "white", bold: sel, children: item.label }),
542
541
  /* @__PURE__ */ jsx(Text, { color: "gray", bold: sel, children: item.path }),
543
- /* @__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" })
544
544
  ] })
545
545
  ] }, item.dir);
546
546
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kud/claude-sessions-cli",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "TUI session manager for Claude Code",
5
5
  "type": "module",
6
6
  "bin": {