Skip to content

Releases: yxpil/HOWCUEME

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 04 Sep 20:18
MCP: serve mode now speaks Streamable HTTP JSON-RPC (0.2.0) — status/…

HOWCUEME v0.1.0

Choose a tag to compare

@yxpil yxpil released this 04 Sep 09:50

HOWCUEME v0.1.0

English

The first release of HOWCUEME — a conditional self-wakeup daemon for AI agents, built for the BIT ecosystem.

What's included

  • 5 condition types for when: interval (every N secs), daily (HH:MM local time, once per day with catch-up), file (exists / changed via mtime snapshot), http (status-code probe), process (exists / absent, via sysinfo)
  • 3 action types: webhook (POST JSON payload), command (direct exec, no shell, cross-platform), wake_bit (POSTs {bit_url}/api/chat with Authorization: Bearer <client_key> to wake a BIT agent)
  • Per-rule cooldown_secs debounce and enabled switch
  • Persistent state (state.json): last trigger per rule + file mtime snapshots
  • CLI (howcueme): validate / run [--once] [--interval N] / list / fire <RULE_NAME> / serve [--host H] [--port P]; --json everywhere; piped stdin JSON merged over CLI args (BIT exec-mode contract)
  • HTTP API in serve mode (default 127.0.0.1:8752): GET /health, GET /rules, POST /invoke (BIT Remote protocol: status / list / fire / validate), with an internal polling loop
  • Rules in TOML (~/.howcueme/rules.toml, HOWCUEME_DATA_DIR override, -c flag)
  • CI on linux / macOS / windows; this release ships binaries for x86_64-unknown-linux-gnu, aarch64-apple-darwin and x86_64-pc-windows-msvc

Install

Download the archive for your platform below, unpack, and put howcueme on your PATH. Checksums are produced by the CI workflow.

Quick check:

howcueme validate && howcueme serve   # http://127.0.0.1:8752/health

See the README for rules syntax, BIT integration (exec tool, Remote tool, wake_bit) and the self-wakeup loop.


中文

HOWCUEME 的首个发布版本——面向 AI 智能体的"条件自唤醒"守护程序,服务于 BIT 生态。

包含内容

  • 5 种触发条件:interval(每 N 秒)、daily(本地时区 HH:MM,每日一次,支持补触发)、file(exists / changed,基于 mtime 快照)、http(状态码探测)、process(存在 / 不存在,基于 sysinfo)
  • 3 种动作:webhook(POST JSON 负载)、command(直接执行、不经 shell、跨平台)、wake_bit(POST {bit_url}/api/chat,携带 Authorization: Bearer <client_key> 唤醒 BIT 智能体)
  • 逐规则 cooldown_secs 防抖与 enabled 开关
  • 状态持久化(state.json):每条规则的上次触发时间 + 文件 mtime 快照
  • CLI(howcueme):validate / run [--once] [--interval N] / list / fire <RULE_NAME> / serve [--host H] [--port P];全部支持 --json;stdin 管道 JSON 合并覆盖 CLI 参数(BIT exec 契约)
  • serve 模式 HTTP API(默认 127.0.0.1:8752):GET /health、GET /rules、POST /invoke(BIT Remote 协议:status / list / fire / validate),内部同样运行轮询循环
  • 规则文件为 TOML(~/.howcueme/rules.toml,支持 HOWCUEME_DATA_DIR 覆盖与 -c 指定)
  • CI 覆盖 linux / macOS / windows;本发布提供 x86_64-unknown-linux-gnu、aarch64-apple-darwin、x86_64-pc-windows-msvc 三个平台二进制

安装

在下方下载对应平台压缩包,解压后将 howcueme 放入 PATH。校验和由 CI 工作流生成。

howcueme validate && howcueme serve   # http://127.0.0.1:8752/health

规则语法、BIT 集成(exec 工具 / Remote 工具 / wake_bit)与"自唤醒闭环"说明见 README。


Part of the BIT ecosystem — github.com/yxpil/bit