Files
ruflo/v3/@claude-flow
rUv 3233724877 Fix hooks backward compatibility: make --success and --file optional
The command parser enforces `required: true` on option specs BEFORE
the action function runs, so defaulting values in the action was
insufficient. Changed 5 option specs from required to optional:
- pre-edit: --file (defaults to 'unknown')
- post-edit: --file (defaults to 'unknown'), --success (defaults to true)
- post-command: --success (defaults to true)
- post-task: --success (defaults to true)

This enables Claude Code hooks to call these commands without explicit
flags, matching the PostToolUse convention where success is implied.

Published as @claude-flow/cli@3.1.0-alpha.36 and claude-flow@3.1.0-alpha.36.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-02-12 16:48:04 +00:00
..
2026-01-12 16:53:18 +00:00
2026-02-07 22:47:32 +00:00
2026-01-07 19:05:03 +00:00
2026-01-07 19:04:42 +00:00
2026-02-02 03:52:19 +00:00
2026-02-08 03:43:50 +00:00
2026-01-07 19:04:42 +00:00
2026-01-07 19:04:42 +00:00
2026-01-07 19:04:42 +00:00
2026-01-07 19:04:42 +00:00