roguelike-cli 1.2.2 → 1.2.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.
@@ -91,7 +91,7 @@ async function initCommand() {
91
91
  const existingConfig = await (0, config_1.initConfig)();
92
92
  const oldStoragePath = existingConfig?.storagePath;
93
93
  // 1. Root directory
94
- const defaultRoot = path.join(os.homedir(), '.rlc', 'notes');
94
+ const defaultRoot = path.join(os.homedir(), '.rlc', 'workspace');
95
95
  const rootDirAnswer = await question(`Root directory for notes [${defaultRoot}]: `);
96
96
  const rootDir = rootDirAnswer.trim() || defaultRoot;
97
97
  // Check if we need to migrate data
@@ -41,7 +41,7 @@ const fs = __importStar(require("fs"));
41
41
  const path = __importStar(require("path"));
42
42
  const os = __importStar(require("os"));
43
43
  const CONFIG_FILE = path.join(os.homedir(), '.rlc', 'config.json');
44
- const DEFAULT_STORAGE = path.join(os.homedir(), '.rlc', 'notes');
44
+ const DEFAULT_STORAGE = path.join(os.homedir(), '.rlc', 'workspace');
45
45
  async function initConfig() {
46
46
  const configDir = path.dirname(CONFIG_FILE);
47
47
  if (!fs.existsSync(configDir)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "roguelike-cli",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "AI-powered interactive terminal for creating schemas and todo lists",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -62,7 +62,7 @@ export async function initCommand(): Promise<void> {
62
62
  const oldStoragePath = existingConfig?.storagePath;
63
63
 
64
64
  // 1. Root directory
65
- const defaultRoot = path.join(os.homedir(), '.rlc', 'notes');
65
+ const defaultRoot = path.join(os.homedir(), '.rlc', 'workspace');
66
66
  const rootDirAnswer = await question(`Root directory for notes [${defaultRoot}]: `);
67
67
  const rootDir = rootDirAnswer.trim() || defaultRoot;
68
68
 
@@ -12,7 +12,7 @@ export interface Config {
12
12
  }
13
13
 
14
14
  const CONFIG_FILE = path.join(os.homedir(), '.rlc', 'config.json');
15
- const DEFAULT_STORAGE = path.join(os.homedir(), '.rlc', 'notes');
15
+ const DEFAULT_STORAGE = path.join(os.homedir(), '.rlc', 'workspace');
16
16
 
17
17
  export async function initConfig(): Promise<Config | null> {
18
18
  const configDir = path.dirname(CONFIG_FILE);