dual-brain 0.3.14 → 0.3.15
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/install.mjs +3 -1
- package/package.json +1 -1
package/install.mjs
CHANGED
|
@@ -1067,8 +1067,10 @@ function installDefaultShellLauncher(workspace, actions) {
|
|
|
1067
1067
|
const existingSuppress = new RegExp(`${esc(suppressStart)}[\\s\\S]*?${esc(suppressEnd)}\\n?`, 'm');
|
|
1068
1068
|
src = src.replace(existing, '');
|
|
1069
1069
|
src = src.replace(existingSuppress, '');
|
|
1070
|
+
const earlyMarker = '# Claude Code Setup';
|
|
1070
1071
|
const sessionMarker = '# Session Manager (interactive menu)';
|
|
1071
|
-
if (src.includes(
|
|
1072
|
+
if (src.includes(earlyMarker)) src = src.replace(earlyMarker, `${suppressBlock}\n\n${earlyMarker}`);
|
|
1073
|
+
else if (src.includes(sessionMarker)) src = src.replace(sessionMarker, `${suppressBlock}\n\n${sessionMarker}`);
|
|
1072
1074
|
else src = `${suppressBlock}\n\n${src.replace(/^\s*/, '')}`;
|
|
1073
1075
|
const marker = '# Auto-show menu on shell start';
|
|
1074
1076
|
if (src.includes(marker)) src = src.replace(marker, `${block}\n\n${marker}`);
|
package/package.json
CHANGED