aiblueprint-cli 1.4.26 → 1.4.27

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/cli.js +10 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -34957,7 +34957,16 @@ function getTokenFilePath() {
34957
34957
  }
34958
34958
  async function saveToken(githubToken) {
34959
34959
  const tokenFile = getTokenFilePath();
34960
- await import_fs_extra9.default.ensureDir(path11.dirname(tokenFile));
34960
+ const configDir = path11.dirname(tokenFile);
34961
+ try {
34962
+ await import_fs_extra9.default.ensureDir(configDir);
34963
+ } catch (error) {
34964
+ if (error.code === "EACCES") {
34965
+ throw new Error(`Permission denied creating config directory: ${configDir}
34966
+ ` + `Please create the directory manually: mkdir -p ${configDir}`);
34967
+ }
34968
+ throw error;
34969
+ }
34961
34970
  await import_fs_extra9.default.writeFile(tokenFile, githubToken, { mode: 384 });
34962
34971
  }
34963
34972
  async function getToken() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aiblueprint-cli",
3
- "version": "1.4.26",
3
+ "version": "1.4.27",
4
4
  "description": "AIBlueprint CLI for setting up Claude Code configurations",
5
5
  "author": "AIBlueprint",
6
6
  "license": "MIT",