Files
ruflo/v3/@claude-flow/cli/src
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-27 18:21:34 +00:00
2026-01-04 23:50:45 +00:00
2026-02-07 18:24:28 +00:00
2026-02-07 18:24:04 +00:00
2026-01-13 02:16:11 +00:00
2026-01-13 00:36:09 +00:00
2026-02-07 16:24:22 +00:00
2026-01-13 15:41:17 +00:00
2026-01-13 21:16:30 +00:00
2026-01-26 18:46:27 +00:00
2026-01-14 22:35:29 +00:00
2026-01-14 22:09:52 +00:00
2026-01-05 19:40:01 +00:00
2026-01-07 04:36:20 +00:00
2026-01-14 18:48:53 +00:00
2026-01-13 21:14:54 +00:00