Logo
Explore Help
Register Sign In
niuniu/lijiaoqiao
1
0
Fork 0
You've already forked lijiaoqiao
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
56a69e519b1fdb8b2b73aec00a4045f951e91ef4
lijiaoqiao/gateway/builtin_hooks/__init__.py

2 lines
57 B
Python
Raw Normal View History

feat: built-in boot-md hook — run BOOT.md on gateway startup (#3733) The gateway now ships with a built-in boot-md hook that checks for ~/.hermes/BOOT.md on every startup. If the file exists, the agent executes its instructions in a background thread. No installation or configuration needed — just create the file. No BOOT.md = zero overhead (the hook silently returns). Implementation: - gateway/builtin_hooks/boot_md.py: handler with boot prompt, background thread, [SILENT] suppression, error handling - gateway/hooks.py: _register_builtin_hooks() called at the start of discover_and_load() to wire in built-in hooks - Docs updated: hooks page documents BOOT.md as a built-in feature
2026-03-29 10:19:54 -07:00
"""Built-in gateway hooks that are always registered."""
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 57ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API