Skip to content

feat: add generic tool argument matching and access - #13

Merged
shanebishop1 merged 3 commits into
mainfrom
feat/tool-argument-hooks
Sep 8, 2026
Merged

shanebishop1 merged 3 commits into
mainfrom
feat/tool-argument-hooks

Conversation

@shanebishop1

@shanebishop1 shanebishop1 commented Sep 7, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • add explicit glob and regex matchers for arbitrary when.toolArgs values while preserving exact matching
  • expose direct tool arguments to inject/toast templates and hook commands through a private temporary JSON file
  • prefer arguments from modern after-hook events and isolate fallback caches by plugin, session, and call
  • document the behavior and cover matching, interpolation, shell safety, large payloads, cleanup, and concurrency

Closes #12

@shanebishop1
shanebishop1 merged commit 0b013e4 into main Sep 8, 2026
3 checks passed
@shanebishop1
shanebishop1 deleted the feat/tool-argument-hooks branch September 8, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No way to use tool arguments in hooks - when.toolArgs is exact only and templates have no args

1 participant