claudeup 4.11.1 → 4.11.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.
package/package.json
CHANGED
|
@@ -757,6 +757,6 @@ describe("formatMismatchModal", () => {
|
|
|
757
757
|
expect(modal).toContain("v2.0.0");
|
|
758
758
|
expect(modal).toContain("v4.0.2");
|
|
759
759
|
expect(modal).toContain("45997");
|
|
760
|
-
expect(modal).toContain("
|
|
760
|
+
expect(modal).toContain("not work correctly");
|
|
761
761
|
});
|
|
762
762
|
});
|
|
@@ -189,14 +189,19 @@ export function formatMismatchWarning(mismatches) {
|
|
|
189
189
|
*/
|
|
190
190
|
export function formatMismatchModal(mismatches) {
|
|
191
191
|
const lines = [];
|
|
192
|
-
lines.push("
|
|
193
|
-
lines.push("
|
|
194
|
-
lines.push("
|
|
192
|
+
lines.push("Your plugins will not work correctly in this project.");
|
|
193
|
+
lines.push("");
|
|
194
|
+
lines.push("Due to a Claude Code bug, the plugin loader ignores");
|
|
195
|
+
lines.push("per-project versions and loads an older version instead.");
|
|
196
|
+
lines.push("Commands, MCP tools, and skills will be outdated.");
|
|
197
|
+
lines.push("");
|
|
195
198
|
for (const m of mismatches) {
|
|
196
199
|
const name = m.pluginId.split("@")[0];
|
|
197
|
-
lines.push(` ${name}:
|
|
200
|
+
lines.push(` ${name}: v${m.firstEntryVersion} loaded, expected v${m.currentProjectVersion}`);
|
|
198
201
|
}
|
|
199
|
-
lines.push(
|
|
202
|
+
lines.push("");
|
|
203
|
+
lines.push("Fix: align all projects to the same version.");
|
|
204
|
+
lines.push("Details: github.com/anthropics/claude-code/issues/45997");
|
|
200
205
|
return lines.join("\n");
|
|
201
206
|
}
|
|
202
207
|
// ── Helpers ──────────────────────────────────────────────────────────────────
|
|
@@ -275,22 +275,22 @@ export function formatMismatchModal(
|
|
|
275
275
|
mismatches: VersionMismatchInfo[],
|
|
276
276
|
): string {
|
|
277
277
|
const lines: string[] = [];
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
);
|
|
281
|
-
lines.push(
|
|
282
|
-
|
|
283
|
-
);
|
|
284
|
-
lines.push("
|
|
278
|
+
|
|
279
|
+
lines.push("Your plugins will not work correctly in this project.");
|
|
280
|
+
lines.push("");
|
|
281
|
+
lines.push("Due to a Claude Code bug, the plugin loader ignores");
|
|
282
|
+
lines.push("per-project versions and loads an older version instead.");
|
|
283
|
+
lines.push("Commands, MCP tools, and skills will be outdated.");
|
|
284
|
+
lines.push("");
|
|
285
285
|
|
|
286
286
|
for (const m of mismatches) {
|
|
287
287
|
const name = m.pluginId.split("@")[0];
|
|
288
|
-
lines.push(
|
|
289
|
-
` ${name}: will load v${m.firstEntryVersion} instead of v${m.currentProjectVersion}`,
|
|
290
|
-
);
|
|
288
|
+
lines.push(` ${name}: v${m.firstEntryVersion} loaded, expected v${m.currentProjectVersion}`);
|
|
291
289
|
}
|
|
292
290
|
|
|
293
|
-
lines.push(
|
|
291
|
+
lines.push("");
|
|
292
|
+
lines.push("Fix: align all projects to the same version.");
|
|
293
|
+
lines.push("Details: github.com/anthropics/claude-code/issues/45997");
|
|
294
294
|
|
|
295
295
|
return lines.join("\n");
|
|
296
296
|
}
|