@localskills/cli 0.1.7 → 0.1.8

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 +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2556,6 +2556,7 @@ ${transformed}`
2556
2556
  import { Command as Command6 } from "commander";
2557
2557
  import { readFileSync as readFileSync6, existsSync as existsSync14 } from "fs";
2558
2558
  import { resolve as resolve3, basename as basename2, extname as extname2 } from "path";
2559
+ import { homedir as homedir10 } from "os";
2559
2560
 
2560
2561
  // src/lib/scanner.ts
2561
2562
  import { existsSync as existsSync13, readdirSync as readdirSync2, readFileSync as readFileSync5 } from "fs";
@@ -2878,7 +2879,7 @@ function validateVisibility(value) {
2878
2879
  process.exit(1);
2879
2880
  }
2880
2881
  function shortenPath(filePath) {
2881
- const home = __require("os").homedir();
2882
+ const home = homedir10();
2882
2883
  if (filePath.startsWith(home)) {
2883
2884
  return "~" + filePath.slice(home.length);
2884
2885
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@localskills/cli",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "CLI for localskills.sh — install agent skills locally",
5
5
  "type": "module",
6
6
  "bin": {