@levr-one/cli 0.12.11 → 0.12.12
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.
|
@@ -2752,7 +2752,16 @@ const PLUGIN_TIP = "Tip: the Levr plugin adds /levr:work, /levr:file and /levr:d
|
|
|
2752
2752
|
function nextStepsText(report) {
|
|
2753
2753
|
if (report.dryRun) return "Dry run — re-run without --dry-run to apply these changes.";
|
|
2754
2754
|
if (!report.outcomes.some((o) => o.result.ok && !o.result.alreadyConfigured && (o.result.wrote || o.result.executed || o.result.command))) return report.outcomes.some((o) => !o.result.ok) ? "Nothing was installed." : "Nothing to do.";
|
|
2755
|
-
const
|
|
2755
|
+
const installed = report.outcomes.filter((o) => o.result.ok && !o.result.alreadyConfigured);
|
|
2756
|
+
const claudeCode = installed.find((o) => o.id === "claude-code");
|
|
2757
|
+
const onlyClaudeCode = claudeCode && installed.length === 1;
|
|
2758
|
+
const entry = claudeCode?.entryName ?? report.entryName ?? DEFAULT_SERVER_NAME;
|
|
2759
|
+
const lines = onlyClaudeCode ? [`Next: restart Claude Code, run /mcp, pick ${entry} and choose Authenticate —`, "it opens your browser once. Then ask it: \"What issues are assigned to me?\""] : claudeCode ? [
|
|
2760
|
+
"Next: restart the client(s) above. Most prompt you to authorize Levr",
|
|
2761
|
+
`once in the browser; Claude Code does not: run /mcp, pick ${entry} and`,
|
|
2762
|
+
"choose Authenticate, and it opens your browser once. Then ask it:",
|
|
2763
|
+
"\"What issues are assigned to me?\""
|
|
2764
|
+
] : ["Next: restart the client(s) above — each will prompt you to authorize", "Levr once in the browser. Then ask it: \"What issues are assigned to me?\""];
|
|
2756
2765
|
const projectWrites = report.outcomes.filter((o) => o.result.scope === "project" && o.result.wrote);
|
|
2757
2766
|
if (projectWrites.some((o) => o.result.gitIgnored !== true)) lines.push("", "Project-scoped config was written into this repository — commit it to", "share the Levr MCP with everyone who checks it out.");
|
|
2758
2767
|
if (projectWrites.some((o) => o.result.gitIgnored === true)) lines.push("", "A project-scoped file above is git-ignored, so it stays on this machine.", "To share it, un-ignore that path (a `!` rule in .gitignore) or use --scope user.");
|
package/dist/cli.js
CHANGED
|
@@ -226,7 +226,7 @@ Examples:
|
|
|
226
226
|
aliases: { y: "yes" }
|
|
227
227
|
},
|
|
228
228
|
loader: async () => {
|
|
229
|
-
const { mcpAddHandler } = await import("./addHandler-
|
|
229
|
+
const { mcpAddHandler } = await import("./addHandler-Dafsu41N.js");
|
|
230
230
|
return mcpAddHandler;
|
|
231
231
|
}
|
|
232
232
|
});
|
|
@@ -1248,7 +1248,7 @@ Examples:
|
|
|
1248
1248
|
|
|
1249
1249
|
//#endregion
|
|
1250
1250
|
//#region package.json
|
|
1251
|
-
var version = "0.12.
|
|
1251
|
+
var version = "0.12.12";
|
|
1252
1252
|
|
|
1253
1253
|
//#endregion
|
|
1254
1254
|
//#region src/app.ts
|