feat(coding-agent): Add built-in update command (#3680)
This commit is contained in:
@@ -54,7 +54,6 @@ import {
|
||||
getDebugLogPath,
|
||||
getDocsPath,
|
||||
getShareViewerUrl,
|
||||
getUpdateInstruction,
|
||||
VERSION,
|
||||
} from "../../config.js";
|
||||
import { type AgentSession, type AgentSessionEvent, parseSkillBlock } from "../../core/agent-session.js";
|
||||
@@ -3515,8 +3514,8 @@ export class InteractiveMode {
|
||||
}
|
||||
|
||||
showNewVersionNotification(newVersion: string): void {
|
||||
const action = theme.fg("accent", getUpdateInstruction("@mariozechner/pi-coding-agent"));
|
||||
const updateInstruction = theme.fg("muted", `New version ${newVersion} is available. `) + action;
|
||||
const action = theme.fg("accent", `${APP_NAME} update`);
|
||||
const updateInstruction = theme.fg("muted", `New version ${newVersion} is available. Run `) + action;
|
||||
const changelogUrl = theme.fg(
|
||||
"accent",
|
||||
"https://github.com/badlogic/pi-mono/blob/main/packages/coding-agent/CHANGELOG.md",
|
||||
|
||||
Reference in New Issue
Block a user