@vandeepunk/pi-coding-agent 0.0.1 → 0.0.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.
|
@@ -411,7 +411,7 @@ export class InteractiveMode {
|
|
|
411
411
|
if (process.env.PI_SKIP_VERSION_CHECK)
|
|
412
412
|
return undefined;
|
|
413
413
|
try {
|
|
414
|
-
const response = await fetch("https://registry.npmjs.org/@
|
|
414
|
+
const response = await fetch("https://registry.npmjs.org/@vandeepunk/pi-coding-agent/latest");
|
|
415
415
|
if (!response.ok)
|
|
416
416
|
return undefined;
|
|
417
417
|
const data = (await response.json());
|
|
@@ -2291,9 +2291,9 @@ export class InteractiveMode {
|
|
|
2291
2291
|
this.ui.requestRender();
|
|
2292
2292
|
}
|
|
2293
2293
|
showNewVersionNotification(newVersion) {
|
|
2294
|
-
const action = theme.fg("accent", getUpdateInstruction("@
|
|
2294
|
+
const action = theme.fg("accent", getUpdateInstruction("@vandeepunk/pi-coding-agent"));
|
|
2295
2295
|
const updateInstruction = theme.fg("muted", `New version ${newVersion} is available. `) + action;
|
|
2296
|
-
const changelogUrl = theme.fg("accent", "https://github.com/
|
|
2296
|
+
const changelogUrl = theme.fg("accent", "https://github.com/vandeefeng/pi-mono/blob/main/packages/coding-agent/CHANGELOG.md");
|
|
2297
2297
|
const changelogLine = theme.fg("muted", "Changelog: ") + changelogUrl;
|
|
2298
2298
|
this.chatContainer.addChild(new Spacer(1));
|
|
2299
2299
|
this.chatContainer.addChild(new DynamicBorder((text) => theme.fg("warning", text)));
|