@clawos-dev/clawd 0.2.124-beta.248.02a0096 → 0.2.124-beta.249.9a67f6d
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/dist/cli.cjs +6 -6
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -34926,7 +34926,7 @@ function copyBundleExtras(srcDir, dstDir) {
|
|
|
34926
34926
|
}
|
|
34927
34927
|
}
|
|
34928
34928
|
}
|
|
34929
|
-
var
|
|
34929
|
+
var DAEMON_MANAGED_PATHS = ["extension-kit", "CLAUDE.md"];
|
|
34930
34930
|
function refreshDaemonManagedDirs(args) {
|
|
34931
34931
|
const entries = args.entries ?? DEFAULT_PERSONAS;
|
|
34932
34932
|
for (const entry of entries) {
|
|
@@ -34934,20 +34934,20 @@ function refreshDaemonManagedDirs(args) {
|
|
|
34934
34934
|
if (!fs9.existsSync(bundleDir)) continue;
|
|
34935
34935
|
const personaDir = args.store.personaDirPath(entry.personaId);
|
|
34936
34936
|
if (!fs9.existsSync(personaDir)) continue;
|
|
34937
|
-
for (const
|
|
34938
|
-
const srcPath = path11.join(bundleDir,
|
|
34937
|
+
for (const relPath of DAEMON_MANAGED_PATHS) {
|
|
34938
|
+
const srcPath = path11.join(bundleDir, relPath);
|
|
34939
34939
|
if (!fs9.existsSync(srcPath)) continue;
|
|
34940
|
-
const dstPath = path11.join(personaDir,
|
|
34940
|
+
const dstPath = path11.join(personaDir, relPath);
|
|
34941
34941
|
try {
|
|
34942
34942
|
fs9.cpSync(srcPath, dstPath, { recursive: true, force: true, dereference: true });
|
|
34943
34943
|
args.logger.info("persona.refresh.synced", {
|
|
34944
34944
|
personaId: entry.personaId,
|
|
34945
|
-
|
|
34945
|
+
path: relPath
|
|
34946
34946
|
});
|
|
34947
34947
|
} catch (err) {
|
|
34948
34948
|
args.logger.warn("persona.refresh.failed", {
|
|
34949
34949
|
personaId: entry.personaId,
|
|
34950
|
-
|
|
34950
|
+
path: relPath,
|
|
34951
34951
|
error: err instanceof Error ? err.message : String(err)
|
|
34952
34952
|
});
|
|
34953
34953
|
}
|
package/package.json
CHANGED