Commit Graph
10 Commits
Author SHA1 Message Date
sir1standxingzhi dcbf601e35 fix linux desktop packaging paths (#1162)
Co-authored-by: xingzhi <chuzihao.czh@alibaba-inc.com>
2026-05-30 20:14:24 +08:00
sir1standxingzhi 46bd7d0420 relax desktop release artifact harness check (#1161)
Co-authored-by: xingzhi <chuzihao.czh@alibaba-inc.com>
2026-05-30 19:49:08 +08:00
sir1standxingzhi 877bb16bc8 Skip macOS signing when certificates are absent (#1160)
Co-authored-by: xingzhi <chuzihao.czh@alibaba-inc.com>
2026-05-30 18:59:49 +08:00
sir1standxingzhi 6da5cd605a Add repository harness for coding agents (#1157)
Co-authored-by: xingzhi <chuzihao.czh@alibaba-inc.com>
2026-05-30 18:57:22 +08:00
sir1standxingzhi ce04b10eee Fix Windows bundled Hermes CLI launcher (#1159)
* Fix Windows bundled Hermes CLI launcher

* Update kanban service tests for Hermes process wrapper

---------

Co-authored-by: xingzhi <chuzihao.czh@alibaba-inc.com>
2026-05-30 18:57:04 +08:00
sir1standxingzhi 7f944a4905 Fix desktop release artifact globs (#1155)
Co-authored-by: xingzhi <chuzihao.czh@alibaba-inc.com>
2026-05-30 16:35:50 +08:00
sir1standxingzhi 12e0b5ebed fix(server): raise body parser limit so avatar upload doesn't 413 (#1149)
Profile avatars are sent to /profiles/:name/avatar as base64 image data
URLs in a JSON body. The handler allows up to 1MB of raw image data,
which is ~1.37MB once base64-encoded — larger than @koa/bodyparser's
default 1mb jsonLimit, so uploads were rejected with HTTP 413 before
reaching the handler.

Set jsonLimit/textLimit to 4mb, leaving the handler's own 1MB raw-size
check as the authoritative limit (now returning a clear 400 instead of
a confusing 413).

Co-authored-by: xingzhi <chuzihao.czh@alibaba-inc.com>
2026-05-30 16:32:46 +08:00
sir1standxingzhi eea1d1decd fix(auth): use path.dirname for credential dir on Windows (#1148)
Provider auth controllers derived the credential directory with
`authPath.substring(0, authPath.lastIndexOf('/'))`. On Windows paths use
backslashes, so `lastIndexOf('/')` returns -1 and the slice yields an
empty string, making `mkdirSync('')` throw
`ENOENT: no such file or directory, mkdir ''` during OAuth login.

Replace the manual slicing with the cross-platform `path.dirname()` in
codex-auth (auth.json + codex CLI token paths), xai-auth, and nous-auth.

Fixes Codex/xAI/Nous login on Windows.

Co-authored-by: xingzhi <chuzihao.czh@alibaba-inc.com>
2026-05-30 16:31:00 +08:00
cbae8e8c3f Add desktop (Electron) packaging and release distribution (#1147)
* Add desktop packaging workflow

* Add desktop package homepage

* Fix desktop default credential prompt

* Suppress default credential prompt on desktop

* Publish desktop artifacts on release; reduce CI to PR smoke test

Add desktop-release.yml triggered on release publish (mirroring
docker-publish.yml) to build all platforms and upload .dmg/.exe/
.AppImage/.deb to the GitHub Release.

Trim build.yml desktop job to a PR-only Linux x64 smoke test, since
release artifacts are now produced by desktop-release.yml. This drops
per-push and macOS/Windows packaging from regular CI.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* Fix desktop Hermes data home on Windows

---------

Co-authored-by: xingzhi <chuzihao.czh@alibaba-inc.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 14:20:04 +08:00
sir1st 1373b4746b feat(version-check): add HERMES_WEB_UI_DISABLE_UPDATE_CHECK env var (#1105)
Adds an opt-in environment variable to suppress the npm-registry update
check. When set, three things change:

1. checkLatestVersion() returns immediately (no outbound fetch)
2. startVersionCheck() does not arm the 30-minute interval
3. /api/health returns webui_latest='' and webui_update_available=false

Use case: hermes-web-ui is bundled inside a packaged distribution like
a desktop app where the user cannot `npm install -g hermes-web-ui@latest`
to apply an upgrade. The 'update available' prompt is then misleading
(the user would have to wait for the wrapper app to ship a new release),
and the recurring HTTPS call to the npm registry is unnecessary noise.

Set HERMES_WEB_UI_DISABLE_UPDATE_CHECK=true | 1 | on | yes to disable.
The default behavior is unchanged.

Discussed in #1091 — proposed by @EKKOLearnAI.
2026-05-28 22:36:07 +08:00