(latestVersion)
| 88 | }; |
| 89 | |
| 90 | const showUpdateNotification = (latestVersion) => { |
| 91 | if (!latestVersion) return; |
| 92 | console.log( |
| 93 | chalk.yellow(` |
| 94 | ┌────────────────────────────────────────────────────────┐ |
| 95 | │ Update available: ${chalk.red(pkg.version)} → ${chalk.green(latestVersion)} │ |
| 96 | │ Run: ${chalk.cyan("npm install -g @vudovn/ag-kit")} │ |
| 97 | └────────────────────────────────────────────────────────┘ |
| 98 | `) |
| 99 | ); |
| 100 | }; |
| 101 | |
| 102 | // Global SIGINT Handler for graceful cleanup |
| 103 | process.on("SIGINT", async () => { |
no outgoing calls
no test coverage detected