Skip to content

fix(windows): add OSError to os.kill and UTF-8 encoding to file reads - #2

Open
zhanggttry wants to merge 35 commits into
mainfrom
fix/windows-compat-safe
Open

zhanggttry wants to merge 35 commits into
mainfrom
fix/windows-compat-safe

Conversation

@zhanggttry

Copy link
Copy Markdown
Owner

Supersedes NousResearch#13587. Adds OSError handling to os.kill calls and UTF-8 encoding to file reads for Windows compatibility.

@github-actions

github-actions Bot commented May 17, 2026

Copy link
Copy Markdown

🔎 Lint report: fix/windows-compat-safe vs origin/main

ruff

Total: 0 on HEAD, 0 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 0 pre-existing issues carried over.

ty (type checker)

Total: 8380 on HEAD, 8374 on base (🆕 +6)

🆕 New issues (5):

Rule Count
unresolved-import 3
unresolved-reference 1
unresolved-attribute 1
First entries
hermes_cli/send_cmd.py:219: [unresolved-import] unresolved-import: Cannot resolve imported module `dotenv`
gateway/run.py:17078: [unresolved-import] unresolved-import: Module `gateway` has no member `memory_monitor`
hermes_cli/auth.py:4447: [unresolved-reference] unresolved-reference: Name `Tuple` used when not defined: Did you mean `tuple`?
tools/process_registry.py:560: [unresolved-attribute] unresolved-attribute: Module `subprocess` has no member `CREATE_NO_WINDOW`
gateway/run.py:8671: [unresolved-import] unresolved-import: Cannot resolve imported module `hermes_cli.session_recap`

✅ Fixed issues: none

Unchanged: 4390 pre-existing issues carried over.

Diagnostics are surfaced as warnings — this check never fails the build.

zhanggttry and others added 6 commits May 17, 2026 22:28
- Add zhanggttry@163.com to AUTHOR_MAP in scripts/release.py
- Sync hermes_cli/send_cmd.py from upstream (missing module caused ~30 test failures)
- Remove spurious CI trigger comment from .gitignore

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The newly synced send_cmd.py module exposes a `send` subcommand, but
it was missing from the _BUILTIN_SUBCOMMANDS frozenset used by plugin
discovery. This caused test_startup_plugin_gating to fail.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant