steward-cli 0.25.0 → 0.26.1

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 (3) hide show
  1. package/README.md +27 -0
  2. package/dist/cli.js +1113 -106
  3. package/package.json +17 -31
package/README.md CHANGED
@@ -63,6 +63,33 @@ Steward natively connects to frontier APIs, gateways, and local offline inferenc
63
63
 
64
64
  ---
65
65
 
66
+ ## Lifecycle Hooks
67
+
68
+ Steward supports deterministic command hooks configured in `.steward/hooks.json` (project-level) or `~/.steward/hooks.json` (user-level):
69
+
70
+ ```json
71
+ {
72
+ "version": 1,
73
+ "hooks": {
74
+ "SessionStart": [
75
+ {
76
+ "name": "load-env-context",
77
+ "command": ".steward/hooks/session-start.sh"
78
+ }
79
+ ],
80
+ "BeforeToolUse": [
81
+ {
82
+ "name": "guard-deployments",
83
+ "command": ".steward/hooks/check-command.sh",
84
+ "matcher": "bash"
85
+ }
86
+ ]
87
+ }
88
+ }
89
+ ```
90
+
91
+ ---
92
+
66
93
  ## Contributing
67
94
 
68
95
  We welcome contributions! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for development setup and guidelines.