@plumpslabs/kuma 2.2.0 → 2.2.2

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getProjectRoot
3
- } from "./chunk-7Q3YUJSM.js";
3
+ } from "./chunk-T55NCW63.js";
4
4
 
5
5
  // src/utils/agentDetector.ts
6
6
  import fs from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getProjectRoot
3
- } from "./chunk-7Q3YUJSM.js";
3
+ } from "./chunk-T55NCW63.js";
4
4
 
5
5
  // src/cli/init.ts
6
6
  import fs from "fs";
@@ -150,6 +150,9 @@ function getKumaDir() {
150
150
  const root = getProjectRoot();
151
151
  return path.join(root, ".kuma");
152
152
  }
153
+ function getKumaBackupsDir() {
154
+ return path.join(getKumaDir(), "backups");
155
+ }
153
156
 
154
157
  export {
155
158
  validateFilePath,
@@ -157,5 +160,6 @@ export {
157
160
  getProjectRoot,
158
161
  getBackupPath,
159
162
  ensureBackupDir,
160
- getKumaDir
163
+ getKumaDir,
164
+ getKumaBackupsDir
161
165
  };