xiaozuoassistant 0.2.51 → 0.2.52

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.
@@ -3,7 +3,11 @@ import path from 'path';
3
3
  import { v4 as uuidv4 } from 'uuid';
4
4
  const SESSIONS_DIR = path.resolve(process.cwd(), 'sessions');
5
5
  const INDEX_FILE = path.join(SESSIONS_DIR, 'index.json');
6
+ import { config } from '../../config/loader.js';
6
7
  function defaultWorkspacePath() {
8
+ if (config && config.workspace) {
9
+ return path.resolve(config.workspace);
10
+ }
7
11
  return path.resolve(process.cwd(), 'workspace');
8
12
  }
9
13
  function normalizeWorkspace(input) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xiaozuoassistant",
3
- "version": "0.2.51",
3
+ "version": "0.2.52",
4
4
  "description": "A local-first personal AI assistant with multi-channel support and enhanced memory.",
5
5
  "author": "mantle.lau",
6
6
  "license": "MIT",