talon-agent 5.26.5 → 5.26.6
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.
- package/package.json +1 -1
- package/src/core/layout/index.ts +2 -2
package/package.json
CHANGED
package/src/core/layout/index.ts
CHANGED
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { readFile, mkdir } from "node:fs/promises";
|
|
11
|
-
import { homedir } from "node:os";
|
|
12
11
|
import { dirname, join } from "node:path";
|
|
13
12
|
import writeFileAtomic from "write-file-atomic";
|
|
14
13
|
import { claudeProjectsDir } from "../backup/sources/sessions.js";
|
|
15
14
|
import { raiseAlert } from "../frontend-runtime/alerts.js";
|
|
15
|
+
import { userHome as resolveUserHome } from "../../util/fs-path.js";
|
|
16
16
|
import { dirs } from "../../util/paths.js";
|
|
17
17
|
import { log, logWarn } from "../../util/log.js";
|
|
18
18
|
import { relinkClaudeProjects, type RelinkResult } from "./claude-relink.js";
|
|
@@ -144,7 +144,7 @@ export async function runStorageLayoutChecks(
|
|
|
144
144
|
): Promise<void> {
|
|
145
145
|
const env = process.env;
|
|
146
146
|
const container = inContainer(env);
|
|
147
|
-
const userHome =
|
|
147
|
+
const userHome = resolveUserHome();
|
|
148
148
|
try {
|
|
149
149
|
await relinkAfterHomeMove({
|
|
150
150
|
home: dirs.root,
|