[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:
ekko
2026-05-15 15:52:16 +08:00
committed by GitHub
parent 94f1061734
commit 8196e49478
18 changed files with 373 additions and 9 deletions
@@ -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 })
}