Skip to content

docs: expand API reference to address issue #49#221

Merged
alexander-akait merged 4 commits intomainfrom
claude/improve-docs-issue-49-9VJAo
Apr 20, 2026
Merged

docs: expand API reference to address issue #49#221
alexander-akait merged 4 commits intomainfrom
claude/improve-docs-issue-49-9VJAo

Conversation

@alexander-akait
Copy link
Copy Markdown
Member

@alexander-akait alexander-akait commented Apr 20, 2026

fixes #49

claude added 3 commits April 20, 2026 13:24
Documents the plugin-facing tap options (name, stage, before), the
hook-owner protected API, the full set of interceptor handlers
(error, result, done, name), withOptions, and adds a Code generation
section explaining the runtime compilation and evals used by hooks.
Also clarifies HookMap for vs get and MultiHook semantics.

Refs #49
Adds four small snippets showing how MultiHook fans taps out to multiple
hooks, how tapAsync/tapPromise are forwarded, how intercept/withOptions
attach to a group of hooks at once, and how isUsed aggregates across the
wrapped hooks.

Refs #49
Shows how pre-configuring stage via withOptions orders taps, and notes
that per-tap options override values from the facade.

Refs #49
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 20, 2026

⚠️ No Changeset found

Latest commit: 12a580b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla Bot commented Apr 20, 2026

CLA Not Signed

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.96%. Comparing base (edb1d12) to head (12a580b).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #221   +/-   ##
=======================================
  Coverage   97.96%   97.96%           
=======================================
  Files          13       13           
  Lines         689      689           
  Branches      112      112           
=======================================
  Hits          675      675           
  Misses         13       13           
  Partials        1        1           
Flag Coverage Δ
integration 97.96% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@alexander-akait alexander-akait merged commit 0ec6d24 into main Apr 20, 2026
31 of 32 checks passed
@alexander-akait alexander-akait deleted the claude/improve-docs-issue-49-9VJAo branch April 20, 2026 13:47
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.

Better technical documentation for API

2 participants