@levr-one/cli 0.12.1 → 0.12.2
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.
|
@@ -2954,12 +2954,18 @@ function describeTool(tool) {
|
|
|
2954
2954
|
/**
|
|
2955
2955
|
* Who the permission file reaches (code review F-030): a `project` file sits
|
|
2956
2956
|
* in the repository and is usually committed, so it grants the tools to
|
|
2957
|
-
* everyone on the repo
|
|
2958
|
-
*
|
|
2959
|
-
*
|
|
2957
|
+
* everyone on the repo — unless the repository ignores it, in which case the
|
|
2958
|
+
* sharing claim is false and the note says the file stays on this machine,
|
|
2959
|
+
* matching the install line's `[path is git-ignored — not shared via git]`
|
|
2960
|
+
* (ENG-7147, mirrors ENG-7134); a `local` file is personal, and when it is
|
|
2961
|
+
* about to be created somewhere git does not ignore, the user is told so (we
|
|
2962
|
+
* never edit their .gitignore).
|
|
2960
2963
|
*/
|
|
2961
2964
|
function sharingNote(plan) {
|
|
2962
|
-
if (plan.scope === "project")
|
|
2965
|
+
if (plan.scope === "project") {
|
|
2966
|
+
if (plan.gitIgnored === true) return "This file is in your repository but git-ignored, so these permissions stay on this machine. To share them, un-ignore that path (a `!` rule in .gitignore) or use --scope user.";
|
|
2967
|
+
return "This file is in your repository and is usually committed: these permissions are shared via git with everyone who uses this repo.";
|
|
2968
|
+
}
|
|
2963
2969
|
if (plan.scope === "local") {
|
|
2964
2970
|
const note = "This file is personal to you in this repository.";
|
|
2965
2971
|
if (!plan.fileExists && plan.gitIgnored === false) return `${note} It does not exist yet and git does not ignore it, so it would be committed by a "git add" of that folder: add it to .gitignore if you do not want to share it.`;
|
package/dist/cli.js
CHANGED
|
@@ -224,7 +224,7 @@ Examples:
|
|
|
224
224
|
aliases: { y: "yes" }
|
|
225
225
|
},
|
|
226
226
|
loader: async () => {
|
|
227
|
-
const { mcpAddHandler } = await import("./addHandler-
|
|
227
|
+
const { mcpAddHandler } = await import("./addHandler-LO6SChns.js");
|
|
228
228
|
return mcpAddHandler;
|
|
229
229
|
}
|
|
230
230
|
});
|
|
@@ -914,7 +914,7 @@ Examples:
|
|
|
914
914
|
|
|
915
915
|
//#endregion
|
|
916
916
|
//#region package.json
|
|
917
|
-
var version = "0.12.
|
|
917
|
+
var version = "0.12.2";
|
|
918
918
|
|
|
919
919
|
//#endregion
|
|
920
920
|
//#region src/app.ts
|