Commit Graph

296 Commits

Author SHA1 Message Date
liuhao1024
21ae0e1238 fix(deps): pin av 18.1.0 alongside faster-whisper 1.2.1
Some checks failed
Live provider canaries / Live provider canaries (push) Has been cancelled
faster-whisper 1.2.1 calls av.open(..., metadata_errors="ignore"), a kwarg
PyAV 19 removed, so the faster-whisper 1.2.1 + av 19 pair fails every local
transcription with a TypeError. faster-whisper only declares av>=11, so an
unlocked resolve of [stt-whisper] picks av 19.0.2 today; only uv.lock's
av 18.1.0 kept locked installs working, and any lock refresh would break
local STT on every voice message.

No faster-whisper release carries the upstream fix (SYSTRAN/faster-whisper#1495);
1.2.1 (2025-10-31) is still the latest on PyPI, so an upgrade is not
available. Exact-pin av==18.1.0 (released 2026-08-12, already the locked
version) in [voice] and [stt-whisper] with faster-whisper's platform marker,
per the exact-pin policy for direct deps. uv.lock only records the new
requirement; no resolved version changes.

A metadata regression test asserts every extra carrying faster-whisper 1.2.1
also exact-pins a pre-19 av under the same marker.

Fixes #135245
2026-11-07 19:38:20 -08:00
alt-glitch
7c695da032 chore: drop the tenacity dependency that no module imports
pyproject.toml pinned tenacity==9.2.1 as a core dependency, but no
Python file in the tree imports it (`git grep -n "import tenacity\|from
tenacity"` returns nothing). The last import was removed in e46d5b2c13.
No plugin, plugin-catalog entry, nix expression or bundle script names
it. The only other code reference was the third-party preload list of
the fresh-process import smoke, which preloads modules only to speed up
its import runs; the name is removed there too.

uv.lock is regenerated with `python -m hermes_cli.main pm lock` from
this tree. The lock diff removes only the tenacity entries.
2026-11-06 23:02:03 -05:00
Maciej Lisiewski
36f9cba878 fix(deps): bump setuptools to 84.1.0
Moves every setuptools pin from 83.0.0 to 84.1.0 together: the dev
group, [build-system].requires, and the Termux toolchain and
deb-wheelhouse pins (scripts/termux), so source builds, the lock and
the Termux payload keep using one version. Only setuptools moves in the
relock. 84.1.0 was published 2026-10-19, past the 3-day release-age
check.

This is a major bump. 84.0's removals are distutils compiler internals
(Compiler.spawn shims, exception classes, LooseVersion in
CygwinCCompiler). Hermes's setup.py and the setuptools.build_meta
backend use none of them.

Advisory: GHSA-xmj3-9gf7-h52w
2026-11-03 21:06:30 +01:00
Maciej Lisiewski
6b4a19d86d fix(deps): bump filelock to 4.2.6
Moves the transitive filelock copy (torch: filelock; huggingface-hub:
filelock>=3.10.0) from 3.32.7 to 4.2.6 with a targeted relock; nothing
else moves. 4.2.6 is the newest release past the 3-day release-age
check (published 2026-10-31; 4.2.7 is still held back).

This is a major bump. The only 4.0 break is SoftReadWriteLock's
on-disk protocol (old and new processes on one lock path do not
exclude each other). No consumer uses SoftReadWriteLock:
huggingface-hub 1.33.0 uses FileLock, SoftFileLock, BaseFileLock and
Timeout; torch subclasses FileLock (torch/utils/_filelock.py); Hermes's
own test conftest uses FileLock.

Advisories: GHSA-567q-5qvw-pf92, GHSA-6627-m3xw-93mp,
GHSA-69hj-f68j-2879, GHSA-8mx5-7m5m-r77g, GHSA-9c4x-gm8v-wgc4,
GHSA-9j6q-wvj5-jgjg, GHSA-9vhv-jxww-xfm5, GHSA-cwqr-hh33-gh44,
GHSA-fq56-3cx3-fjxp, GHSA-j8f7-rjxc-mr56, GHSA-m462-7rxw-wvpg,
GHSA-rfpc-qcw5-3pc4, GHSA-v4x8-3wr5-3wq8
2026-11-03 21:06:30 +01:00
Maciej Lisiewski
4df2ce6444 fix(deps): bump tornado to 6.6
Moves the transitive tornado copy (python-telegram-bot[webhooks],
tornado~=6.5) from 6.5.10 to 6.6 with a targeted relock; nothing else
moves. 6.6 was published 2026-10-21, past the 3-day release-age check.

Advisories: GHSA-pcg2-g6cj-q92c, GHSA-pw9p-v7r6-gx4p,
GHSA-r4j5-9xpp-3985
2026-11-03 21:06:29 +01:00
Maciej Lisiewski
3d4d73e0fd fix(deps): bump pyasn1 to 0.6.5
Moves the google extra pin and the Google Chat staleness probe
(_REQUIRED_PACKAGES) from 0.6.4 to 0.6.5 so a half-synced interpreter
is repaired onto the patched release. pyasn1-modules 0.4.2 allows
<0.7.0. 0.6.5 was published 2026-10-27, past the 3-day release-age
check.

Advisories: GHSA-2qm8-x737-gmw5, GHSA-9m75-vc3g-4x39,
GHSA-fm9c-5rcf-2q5p, GHSA-mm57-4v3p-rchx
2026-11-03 21:06:29 +01:00
Maciej Lisiewski
a5c7cb4779 fix(deps): bump pypdf to 6.21.4
Moves the documents extra pin from 6.21.2 to 6.21.4 and relocks (only
pypdf moves). The four document skills that stage the same pin set in
their side environment move with it so they install the patched
release. 6.21.4 was published 2026-10-28, past the 3-day release-age
check.

Advisories: GHSA-42gh-23hr-vphw, GHSA-4vqv-7265-gm2w,
GHSA-5849-834g-hvw5, GHSA-62m5-6wh8-28x7, GHSA-cggf-277g-3q54,
GHSA-mfr5-77xh-9j7h, GHSA-x3rh-gjgm-fmqc
2026-11-03 21:06:29 +01:00
mnajafian-nv
f301e86fe4 chore(relay): upgrade to 0.11.0
Signed-off-by: mnajafian-nv <mnajafian@nvidia.com>
2026-11-03 00:14:24 +05:30
Teknium
4a8c01790a fix(skills): document skills share one PM-built side environment; pause before Enter in the no-tmux recipe
The six document skills each carried a copy of a venv bootstrap that ran
`python -m venv --clear` on a shared directory after an unlocked check, so two
agents could erase each other's install, and the pdf skill's optional installs
read a DOCS_ENV that was only set inside a branch.

`hermes pm environment NAME --extra E | --requirement R` exposes PM's existing
isolated environments (pm.ensure_environment) to shell callers: the identity
is re-checked under the environment's install lock, a rebuild lands in a new
generation published by an atomic selection, and the previous generation is
never deleted. It prints only the interpreter path on stdout. --extra reads
the extra's pins from pyproject.toml, so a Hermes update does not build a new
generation unless those pins change.

Every document skill now runs the same one-liner
(`hermes pm environment documents --extra documents --extra documents-pdf`)
when `python` lacks the libraries; the new documents-pdf extra carries
pdfplumber and pypdfium2. OCR libraries get their own named environments.

The no-tmux PTY recipe pauses 0.5 s between the text write and the Enter
write, like the tmux recipe, so the paste guard cannot read Enter as a newline.
2026-10-28 19:26:17 -07:00
Teknium
b357ebbfc4 fix(docker): ship tmux and the Office/PDF libraries; document skills keep a persistent side env
Hosted Docker instances could not run the hermes-agent skill's tmux spawning
recipe (no tmux) or create Office/PDF files: the docx/xlsx/powerpoint/pdf
skills said `pip install ...`, but the image's sealed venv has no pip and the
root fs resets on restart.

- Dockerfile: tmux in the runtime apt layer (+3 MB); bake a new [documents]
  extra (python-docx, openpyxl, python-pptx, reportlab, pypdf) into the
  sealed venv (+14 MB compressed, ~+38 MB on disk).
- pyproject/uv.lock: the [documents] extra, exact pins, outside [all];
  pm/extras ANCHORS gets its import anchors.
- docx/xlsx/powerpoint/pdf (+ optional excel-author/pptx-author): use
  `python` when it already imports the libs, otherwise a persistent side
  venv at $HERMES_HOME/environments/documents (recreated when its Python is
  gone); pdf script hints and the OCR reference point there, never at pip
  into Hermes's interpreter.
- hermes-agent skill: send text and Enter as separate tmux keystrokes (one
  burst lands as a newline, verified live), plus a no-tmux fallback via
  terminal(background=true, pty=true) + process_manage write.

Found on Hermes Cloud staging.
2026-10-28 19:26:17 -07:00
Maciej Lisiewski
bb6986f4d9 chore(deps): bump brotlicffi to 1.2.1.0 (#145147)
Carries libbrotli 1.2.1 (CVE-2026-111497, out-of-bounds write / RCE). Trailing bytes after a complete Brotli stream now raise brotlicffi.error.
2026-10-26 12:08:32 -07:00
Teknium
7abb9cc0fa feat(vault): opt-in OS-keychain storage for the vault key, with a verified migration
The local vault key sat in vault.key next to vault.json.enc, so any backup, synced
folder or copied ~/.hermes carried the ciphertext together with its key.

vault.key_storage: keychain (default stays `file`) puts a NEW vault's key in the OS
keychain via keyring (new lazy `keychain` extra, keyring==25.7.0), one entry per
profile, named by a non-secret vault.keyref. No reachable keychain (headless Linux,
extra not installed, plaintext/null keyring backends) falls back to the 0600 file.

`hermes vault key` shows where the key is; `hermes vault key migrate --to keychain|file`
writes the destination, proves it decrypts the vault, and only then removes the
source, so an interrupted move leaves a working vault and a rerun finishes it.

A vault whose key is missing (file or keychain entry) now raises a recovery message
and never mints a new key over existing ciphertext (before, a deleted vault.key was
silently replaced and the vault reported "key mismatch or corruption").

Opt-in rather than default: macOS can prompt for keychain access after Hermes'
Python changes, locked Linux keyrings prompt or are absent over SSH, cron while
logged out cannot read the key, and backups stop being self-contained.
2026-10-25 05:45:51 -07:00
Maciej Lisiewski
128b101efd chore(deps): bump openai to 2.54.0
openai: 2.24.0 -> 2.54.0 (pins edited: 1; also: {})
2026-10-23 09:24:07 +02:00
Maciej Lisiewski
5a36b89795 chore(deps): bump daytona to 0.225.0
daytona: 0.210.0 -> 0.225.0 (pins edited: 1; also: {daytona-analytics-api-client 0.210.0->0.225.0, daytona-api-client-async 0.210.0->0.225.0, daytona-api-client 0.210.0->0.225.0, daytona-analytics-api-client-async 0.210.0->0.225.0, daytona-toolbox-api-client 0.210.0->0.225.0, daytona-toolbox-api-client-async 0.210.0->0.225.0})
2026-10-23 09:24:06 +02:00
Maciej Lisiewski
c8d9bf011b chore(deps): bump indirect dependencies within existing constraints
- obstore: 0.8.2 -> 0.11.1
- transformers: 5.17.0 -> 5.20.2
2026-10-23 09:24:05 +02:00
Maciej Lisiewski
f02555cf5f chore(deps): bump ruff to 0.15.22
ruff: 0.15.10 -> 0.15.22 (pins edited: 1; also: {})
2026-10-23 09:24:04 +02:00
Maciej Lisiewski
64487e631f chore(deps): bump ty to 0.0.89
ty: 0.0.82 -> 0.0.89 (pins edited: 1; also: {})
2026-10-23 09:24:03 +02:00
Maciej Lisiewski
5961800d49 chore(deps): bump watchfiles to 1.3.0
watchfiles: 1.2.0 -> 1.3.0 (pins edited: 0; also: {})
2026-10-23 09:24:02 +02:00
Maciej Lisiewski
f9ed8d62ce chore(deps): bump vercel to 0.12.0
vercel: 0.7.2 -> 0.12.0 (pins edited: 1; also: {vercel-workers 0.0.25->None, vercel-internal-telemetry 0.7.2->0.8.1, vercel-cache 0.7.2->0.7.6})
2026-10-23 09:24:01 +02:00
Maciej Lisiewski
287ced62f3 chore(deps): bump uvloop to 0.23.0
uvloop: 0.22.1 -> 0.23.0 (pins edited: 0; also: {})
2026-10-23 09:23:59 +02:00
Maciej Lisiewski
fa8ffd09c9 chore(deps): bump uvicorn to 0.54.0
uvicorn: 0.41.0 -> 0.54.0 (pins edited: 1; also: {})
2026-10-23 09:23:58 +02:00
Maciej Lisiewski
fb945d0e61 chore(deps): bump truststore to 0.10.5
truststore: 0.10.4 -> 0.10.5 (pins edited: 2; also: {})
2026-10-23 09:23:58 +02:00
Maciej Lisiewski
b2ae855dff chore(deps): bump tenacity to 9.2.1
tenacity: 9.1.4 -> 9.2.1 (pins edited: 1; also: {})
2026-10-23 09:23:57 +02:00
Maciej Lisiewski
d8062a5c44 chore(deps): bump starlette to 1.9.0
starlette: 1.3.1 -> 1.9.0 (pins edited: 4; also: {})
2026-10-23 09:23:56 +02:00
Maciej Lisiewski
741357733f chore(deps): bump sounddevice to 0.5.6
sounddevice: 0.5.5 -> 0.5.6 (pins edited: 3; also: {})
2026-10-23 09:23:55 +02:00
Maciej Lisiewski
b3ace3a08f chore(deps): bump slack-sdk to 3.45.0
slack-sdk: 3.44.1 -> 3.45.0 (pins edited: 2; also: {})
2026-10-23 09:23:54 +02:00
Maciej Lisiewski
c6a8753e65 chore(deps): bump rich to 14.3.4
rich: 14.3.3 -> 14.3.4 (pins edited: 1; also: {})
2026-10-23 09:23:53 +02:00
Maciej Lisiewski
00a064a797 chore(deps): bump resvg-py to 0.5.0
resvg-py: 0.4.0 -> 0.5.0 (pins edited: 1; also: {})
2026-10-23 09:23:52 +02:00
Maciej Lisiewski
cec2a96e89 chore(deps): bump requests to 2.34.2
requests: 2.33.0 -> 2.34.2 (pins edited: 1; also: {})
2026-10-23 09:23:51 +02:00
Maciej Lisiewski
ae815e695a chore(deps): bump pywinpty to 3.1.0
pywinpty: 3.0.5 -> 3.1.0 (pins edited: 0; also: {})
2026-10-23 09:23:50 +02:00
Maciej Lisiewski
f62a01d293 chore(deps): bump python-dotenv to 1.2.4
python-dotenv: 1.2.2 -> 1.2.4 (pins edited: 1; also: {})
2026-10-23 09:23:49 +02:00
Maciej Lisiewski
67e9933f4e chore(deps): bump pytest-asyncio to 1.4.0
pytest-asyncio: 1.3.0 -> 1.4.0 (pins edited: 1; also: {})
2026-10-23 09:23:48 +02:00
Maciej Lisiewski
335e0eb680 chore(deps): bump pydantic to 2.14.1
pydantic: 2.13.4 -> 2.14.1 (pins edited: 1; also: {pydantic-core 2.46.4->2.50.1})
2026-10-23 09:23:47 +02:00
Maciej Lisiewski
e2a379174a chore(deps): bump prompt-toolkit to 3.0.53
prompt-toolkit: 3.0.52 -> 3.0.53 (pins edited: 1; also: {})
2026-10-23 09:23:47 +02:00
Maciej Lisiewski
65a82c53f9 chore(deps): bump playwright to 1.64.0
playwright: 1.62.0 -> 1.64.0 (pins edited: 1; also: {})
2026-10-23 09:23:46 +02:00
Maciej Lisiewski
2a4603b920 chore(deps): bump pillow-heif to 1.8.1
pillow-heif: 1.6.0 -> 1.8.1 (pins edited: 0; also: {})
2026-10-23 09:23:45 +02:00
Maciej Lisiewski
7e0c575b44 chore(deps): bump parallel-web to 0.6.0
parallel-web: 0.4.2 -> 0.6.0 (pins edited: 1; also: {})
2026-10-23 09:23:44 +02:00
Maciej Lisiewski
8309f37f33 chore(deps): bump packaging to 26.3
packaging: 26.0 -> 26.3 (pins edited: 2; also: {})
2026-10-23 09:23:43 +02:00
Maciej Lisiewski
b3f77e1ddd chore(deps): bump numpy to 2.5.4
numpy: 2.4.3 -> 2.5.4 (pins edited: 3; also: {})
2026-10-23 09:23:42 +02:00
Maciej Lisiewski
59821bdc3b chore(deps): bump nemo-relay to 0.10.3
nemo-relay: 0.10.0 -> 0.10.3 (pins edited: 0; also: {})
2026-10-23 09:23:41 +02:00
Maciej Lisiewski
e322dde361 chore(deps): bump modal to 1.6.2
modal: 1.5.5 -> 1.6.2 (pins edited: 1; also: {})
2026-10-23 09:23:40 +02:00
Maciej Lisiewski
481796aa6a chore(deps): bump microsoft-teams-apps to 2.1.1
microsoft-teams-apps: 2.0.13.4 -> 2.1.1 (pins edited: 1; also: {microsoft-teams-api 2.0.16->2.1.1})
2026-10-23 09:23:39 +02:00
Maciej Lisiewski
fe279881f8 chore(deps): bump markdown to 3.11.2
markdown: 3.10.2 -> 3.11.2 (pins edited: 1; also: {})
2026-10-23 09:23:38 +02:00
Maciej Lisiewski
c2083e626a chore(deps): bump lark-oapi to 1.7.5
lark-oapi: 1.6.8 -> 1.7.5 (pins edited: 1; also: {})
2026-10-23 09:23:37 +02:00
Maciej Lisiewski
161e7d2121 chore(deps): bump huggingface-hub to 1.33.0
huggingface-hub: 1.24.0 -> 1.33.0 (pins edited: 1; also: {})
2026-10-23 09:23:36 +02:00
Maciej Lisiewski
0cd517aa68 chore(deps): bump httpx2 to 2.15.1
httpx2: 2.12.0 -> 2.15.1 (pins edited: 3; also: {httpcore2 2.12.0->2.15.1})
2026-10-23 09:23:35 +02:00
Maciej Lisiewski
4b5479596f chore(deps): bump google-cloud-pubsub to 2.43.0
google-cloud-pubsub: 2.39.2 -> 2.43.0 (pins edited: 1; also: {})
2026-10-23 09:23:34 +02:00
Maciej Lisiewski
154748800b chore(deps): bump google-auth-oauthlib to 1.5.0
google-auth-oauthlib: 1.3.1 -> 1.5.0 (pins edited: 1; also: {})
2026-10-23 09:23:34 +02:00
Maciej Lisiewski
77da0e47a1 chore(deps): bump google-auth-httplib2 to 0.4.4
google-auth-httplib2: 0.3.1 -> 0.4.4 (pins edited: 1; also: {})
2026-10-23 09:23:33 +02:00
Maciej Lisiewski
9200e9202b chore(deps): bump google-auth to 2.62.0
google-auth: 2.55.1 -> 2.62.0 (pins edited: 2; also: {})
2026-10-23 09:23:32 +02:00