@hasna/machines 0.0.28 → 0.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/dist/cli/index.js +1264 -1153
- package/dist/commands/runtime.d.ts +32 -0
- package/dist/commands/runtime.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +91 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -292,6 +292,22 @@ machines notifications dispatch --event manual.test --message "hello fleet"
|
|
|
292
292
|
- `webhook` channels deliver JSON via HTTP POST
|
|
293
293
|
- `command` channels execute the configured command with `HASNA_MACHINES_NOTIFICATION_*` env vars
|
|
294
294
|
|
|
295
|
+
## Runtime Events
|
|
296
|
+
|
|
297
|
+
`machines runtime tmux-watch` probes tmux with `display-message` and emits shared
|
|
298
|
+
Hasna events without sending keys, killing panes, or changing tmux state.
|
|
299
|
+
|
|
300
|
+
```bash
|
|
301
|
+
machines runtime tmux-watch %11 --once --json
|
|
302
|
+
machines runtime tmux-watch session:0.1 --interval-ms 5000
|
|
303
|
+
machines webhooks add https://example.com/hook --id tmux-alerts --type machines.tmux.pane_died
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
When a pane was present and later disappears, the command records
|
|
307
|
+
`machines.tmux.pane_died`. With `--once`, a missing pane records
|
|
308
|
+
`machines.tmux.pane_missing`; add `--no-deliver` to record without webhook
|
|
309
|
+
delivery.
|
|
310
|
+
|
|
295
311
|
## Dashboard
|
|
296
312
|
|
|
297
313
|
```bash
|