@vibe-lark/larkpal 0.1.18 → 0.1.19
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/main.mjs +1 -1
- package/package.json +1 -1
package/dist/main.mjs
CHANGED
|
@@ -12228,7 +12228,7 @@ async function main() {
|
|
|
12228
12228
|
logger.info("已从 process.env 清除 LARK_APP_SECRET(CC 子进程不可继承)");
|
|
12229
12229
|
}
|
|
12230
12230
|
const workspaceEnv = process.env.LARKPAL_WORKSPACE;
|
|
12231
|
-
if (workspaceEnv) {
|
|
12231
|
+
if (workspaceEnv && process.env.LARKPAL_PERSIST_CLAUDE === "1") {
|
|
12232
12232
|
const claudeDir = join(homedir(), ".claude");
|
|
12233
12233
|
const persistentClaudeDir = join(workspaceEnv, ".claude");
|
|
12234
12234
|
await mkdir(persistentClaudeDir, { recursive: true });
|