@misterhuydo/sentinel 1.4.18 → 1.4.20
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/.cairn/minify-map.json +0 -6
- package/lib/add.js +0 -12
- package/package.json +1 -1
package/.cairn/minify-map.json
CHANGED
|
@@ -10,11 +10,5 @@
|
|
|
10
10
|
"state": "edit-ready",
|
|
11
11
|
"minifiedAt": 1774252437350.0059,
|
|
12
12
|
"readCount": 1
|
|
13
|
-
},
|
|
14
|
-
"J:\\Projects\\Sentinel\\cli\\lib\\add.js": {
|
|
15
|
-
"tempPath": "J:\\Projects\\Sentinel\\cli\\.cairn\\views\\fc4a1a_add.js",
|
|
16
|
-
"state": "edit-ready",
|
|
17
|
-
"minifiedAt": 1774375121342.4312,
|
|
18
|
-
"readCount": 1
|
|
19
13
|
}
|
|
20
14
|
}
|
package/lib/add.js
CHANGED
|
@@ -489,17 +489,6 @@ async function addFromGit(gitUrl, workspace) {
|
|
|
489
489
|
if (discovered.length > 0) {
|
|
490
490
|
// Config already exists in the cloned repo — just generate scripts
|
|
491
491
|
generateProjectScripts(projectDir, codeDir, pythonBin);
|
|
492
|
-
// Write SSH_KEY_FILE for primary repo itself (no LOCAL_PATH — derived automatically)
|
|
493
|
-
const primaryProps = path.join(projectDir, 'config', 'repo-configs', `${repoSlug}.properties`);
|
|
494
|
-
if (!fs.existsSync(primaryProps)) {
|
|
495
|
-
writePropertiesFile(primaryProps, {
|
|
496
|
-
REPO_NAME: repoSlug,
|
|
497
|
-
REPO_URL: gitUrl,
|
|
498
|
-
BRANCH: 'main',
|
|
499
|
-
AUTO_PUBLISH: autoPublish ? 'true' : 'false',
|
|
500
|
-
CAIRN_MCP_ENABLED: 'true',
|
|
501
|
-
});
|
|
502
|
-
}
|
|
503
492
|
ok(`Project "${name}" ready at ${projectDir}`);
|
|
504
493
|
printNextSteps(projectDir, autoPublish);
|
|
505
494
|
await offerToStart(projectDir);
|
|
@@ -512,7 +501,6 @@ async function addFromGit(gitUrl, workspace) {
|
|
|
512
501
|
REPO_URL: gitUrl,
|
|
513
502
|
BRANCH: 'main',
|
|
514
503
|
AUTO_PUBLISH: autoPublish ? 'true' : 'false',
|
|
515
|
-
CAIRN_MCP_ENABLED: 'true',
|
|
516
504
|
});
|
|
517
505
|
const example = path.join(repoDir, '_example.properties');
|
|
518
506
|
if (fs.existsSync(example)) fs.removeSync(example);
|