This repository has been archived on 2026-06-01. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
小橘 🍊 701198cb2c feat: @uncaged/pulse-hermes — watcher + executor adapter (#37)
* feat: @uncaged/pulse-hermes — watcher + executor adapter (closes #35)

New package: @uncaged/pulse-hermes

Watcher (hermes-watcher.ts):
- Reads gateway_state.json for gateway health, active sessions, platform states
- Checks process liveness via PID + pgrep fallback
- Checks cron scheduler liveness
- shouldWake triggers on: gateway death, error state, agent idle transition

Executor (hermes-executor.ts):
- CLI mode: spawns `hermes run` with prompt file
- Supports model override, toolset selection, timeout
- API and Telegram modes stubbed for future implementation

22 tests, all passing.

* fix: biome lint — template literals, unused imports, import order

---------

Co-authored-by: 鹿鸣 <luming@shazhou.work>
2026-04-14 23:16:42 +08:00

18 lines
388 B
JSON

{
"compilerOptions": {
"target": "ES2022",
"module": "ES2022",
"moduleResolution": "bundler",
"declaration": true,
"outDir": "dist",
"rootDir": "src",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"types": ["bun-types"]
},
"include": ["src"],
"exclude": ["src/**/*.test.ts"]
}