[codex] Add group chat room reset and clone (#756)
* Add group chat room reset and clone * Clean npm cache before self update
This commit is contained in:
@@ -81,6 +81,12 @@ function getGlobalCliScript() {
|
||||
}
|
||||
|
||||
function runUpdateInstall() {
|
||||
try {
|
||||
runNpm(['cache', 'clean', '--force'], { timeout: 2 * 60 * 1000 })
|
||||
} catch (err) {
|
||||
console.warn('[update] failed to clean npm cache, continuing update:', err)
|
||||
}
|
||||
|
||||
return runNpm(['install', '-g', 'hermes-web-ui@latest'], { timeout: 10 * 60 * 1000 })
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user