dlw-machine-setup 0.9.3 → 0.9.4
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/bin/installer.js +14 -10
- package/package.json +1 -1
package/bin/installer.js
CHANGED
|
@@ -5568,7 +5568,13 @@ var write_state_default = defineStep({
|
|
|
5568
5568
|
instructions: target.instructions,
|
|
5569
5569
|
mcpConfig: target.mcpConfig,
|
|
5570
5570
|
contexts: "_ai-context/",
|
|
5571
|
-
|
|
5571
|
+
/* Factory v2 bundle lands assets under .claude/ via the
|
|
5572
|
+
* Claude Code profile (agents/, skills/, factory/, hooks/, plus
|
|
5573
|
+
* a merge into .claude/settings.json). The legacy 'factory/'
|
|
5574
|
+
* top-level path was retired in installer v0.8.0 when the
|
|
5575
|
+
* per-agent profile dispatch took over — keeping it here would
|
|
5576
|
+
* mislead the uninstall preview which reads this field. */
|
|
5577
|
+
factory: ctx.installed.factoryInstalled ? ".claude/" : null,
|
|
5572
5578
|
abapHooks: ctx.installed.abapHooksInstalled ? ".claude/hooks/" : null,
|
|
5573
5579
|
globalConfig: (0, import_path14.join)((0, import_os2.homedir)(), ".one-shot-installer")
|
|
5574
5580
|
}
|
|
@@ -5969,15 +5975,13 @@ async function previewAndConfirm(config, options) {
|
|
|
5969
5975
|
console.log(` ${instructionFile.padEnd(domainColWidth + 14)}${instructionMode}`);
|
|
5970
5976
|
console.log(` ${mcpConfigFile.padEnd(domainColWidth + 14)}${mcpMode}`);
|
|
5971
5977
|
console.log(` ${".gitignore".padEnd(domainColWidth + 14)}${gitignoreMode}`);
|
|
5972
|
-
if (config.installFactory) {
|
|
5973
|
-
const
|
|
5974
|
-
const
|
|
5975
|
-
console.log(` ${"
|
|
5976
|
-
|
|
5977
|
-
|
|
5978
|
-
|
|
5979
|
-
const hooksMode = (0, import_fs16.existsSync)(hooksDir) ? yellow2("merge") : green2("create");
|
|
5980
|
-
console.log(` ${".claude/hooks/".padEnd(domainColWidth + 14)}${hooksMode}`);
|
|
5978
|
+
if (config.installFactory || config.installAbapHooks) {
|
|
5979
|
+
const claudeDir = (0, import_path16.join)(config.projectPath, ".claude");
|
|
5980
|
+
const claudeMode = (0, import_fs16.existsSync)(claudeDir) ? yellow2("merge") : green2("create");
|
|
5981
|
+
console.log(` ${".claude/".padEnd(domainColWidth + 14)}${claudeMode}`);
|
|
5982
|
+
const settingsPath = (0, import_path16.join)(config.projectPath, ".claude", "settings.json");
|
|
5983
|
+
const settingsMode = (0, import_fs16.existsSync)(settingsPath) ? yellow2("merge") : green2("create");
|
|
5984
|
+
console.log(` ${".claude/settings.json".padEnd(domainColWidth + 14)}${settingsMode}`);
|
|
5981
5985
|
}
|
|
5982
5986
|
if (serverEntries.length > 0) {
|
|
5983
5987
|
console.log("");
|