osPath
Resolve durable local home and temp directories for Node hosts.
Home order (mkdir + write/delete probe; failure skips):
os.homedir()HOME/USERPROFILE/home/appwhen config.isDatabricksAppEnv./.homeunder cwd
Temp order (same ensure/probe/skip):
os.tmpdir()TMPDIR/TMP/TEMP.tmpunder the resolved home
Both paths are memoized per resolved cwd (same idea as
@dbx-tools/core project command caching): cwd is part of the key because
the ./.home / <home>/.tmp fallbacks depend on it.