@plurnk/plurnk-hooks 1.16.5 → 1.17.0

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.
Files changed (2) hide show
  1. package/.env.defaults +6 -6
  2. package/package.json +1 -1
package/.env.defaults CHANGED
@@ -1,11 +1,11 @@
1
- # --- @plurnk/plurnk-hooks : exact command lifecycle hooks ---
1
+ # @plurnk/plurnk-hooks — exact-command event delivery.
2
+ # Both COMMAND and EVENTS are required to enable hooks. No shell interpretation.
2
3
 
3
- # Hooks are disabled until both an exact executable and explicit event selection
4
- # are configured. Arguments are a JSON array; no shell command is interpreted.
4
+ # Exact executable; each invocation receives one event envelope on stdin.
5
5
  # PLURNK_HOOKS_COMMAND=/usr/bin/node
6
+ # Literal argument vector, JSON array.
6
7
  # PLURNK_HOOKS_ARGS=["/absolute/path/to/plurnk-hook.mjs"]
8
+ # Selected events, comma-separated.
7
9
  # PLURNK_HOOKS_EVENTS=loop/terminated,loop/proposal,notice/event
8
-
9
- # One hook process receives one event envelope on stdin. This positive integer
10
- # bounds each delivery; expiry terminates that process without affecting the loop.
10
+ # Delivery deadline, positive ms; expiry terminates the hook, not the loop.
11
11
  PLURNK_HOOKS_TIMEOUT_MS=30000
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plurnk/plurnk-hooks",
3
- "version": "1.16.5",
3
+ "version": "1.17.0",
4
4
  "description": "Deliver selected Plurnk lifecycle events to exact local commands.",
5
5
  "keywords": [
6
6
  "plurnk",