storebound watch: store events for every app on the machine (rejected, approved, live, halted, crash threshold, reviews) to ntfy / Telegram / webhook / OS notification, loop or --once, baseline first, events.jsonl; storebound events and MCP events_recent; docs/watch.md; tests

This commit is contained in:
CRTkafa 2026-10-22 22:38:15 +08:00
parent 4fe26326cc
commit 78c541f2b8
16 changed files with 984 additions and 4 deletions

View file

@ -510,6 +510,11 @@
"ops",
"show"
],
"events": [
"app",
"kind",
"since"
],
"flow": [
"apply",
"from",
@ -973,6 +978,13 @@
"weekly",
"write"
],
"watch": [
"dir",
"every",
"notify",
"once",
"stdio"
],
"web": [
"base-url",
"landing",
@ -1058,6 +1070,7 @@
"download",
"enable",
"end",
"every",
"experiment",
"expo",
"fields",
@ -1098,6 +1111,7 @@
"keychain",
"keyword",
"keywords",
"kind",
"landing",
"lang",
"languages",
@ -1140,9 +1154,11 @@
"no-wait",
"no-web",
"not-sent-for-review",
"notify",
"off",
"offline",
"older-than",
"once",
"only-decreases",
"only-keywords",
"only-missing",
@ -1444,6 +1460,9 @@
"storebound edit --ops '<json>' [--dry] [--json]",
"storebound edit --show --json every value the desktop's editors show (listings, config sections, git state)"
],
"events": [
"storebound events [--since 24h] [--app <name>] [--kind rejected,live] [--json]"
],
"flow": [
"storebound flow list [--json] the flows of this project and their steps",
"storebound flow validate [--json] definitions, sub-flow cycles, commands, variables; exit 1 on a problem",
@ -1605,6 +1624,10 @@
"validate": [
"storebound validate [--apple] [--play] [--json] [--src store/renders] [--no-local] [--no-health] [--no-scan]"
],
"watch": [
"storebound watch [--dir <folder>] [--every 15m] [--notify os,ntfy,telegram,webhook] [--once] [--dry] [--json]",
"storebound watch test [--notify ...] [--dry] sends one test event to every configured sink"
],
"web": [
"storebound web init [--out web] [--landing] [--version-code N] [--dry] [--json]",
"storebound web check [<domain>] [--json] read-only, no credentials: the live files on https://<domain>"