@hype/clod 1.3.0 → 1.3.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/dist/trash.js CHANGED
@@ -2,5 +2,7 @@
2
2
  // this adapter stays out of the coverage gate.
3
3
  export const trashPaths = async (paths) => {
4
4
  const { default: trash } = await import('trash'); // lazy: only deletes need it
5
- await trash(paths);
5
+ // one call per path: trash's WSL branch misroutes a batch to PowerShell
6
+ for (const p of paths)
7
+ await trash(p);
6
8
  };
package/dist/ui.js CHANGED
@@ -395,7 +395,8 @@ export default function App({ loadFirst, loadRest, initialSortMode, onResume, on
395
395
  try {
396
396
  await onDelete(current.filePath);
397
397
  }
398
- catch {
398
+ catch (err) {
399
+ setError(`could not delete: ${err.message}`);
399
400
  setMode('list');
400
401
  return;
401
402
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hype/clod",
3
3
  "description": "Terminal UI for managing Claude Code sessions.",
4
- "version": "1.3.0",
4
+ "version": "1.3.1",
5
5
  "author": "Nate Goldman <ungoldman@gmail.com>",
6
6
  "bin": {
7
7
  "clod": "./dist/index.js"