PR #214 (Position D auth) regenerated packages/types/openapi/openapi.yaml
from the EigenLayer-AVS staging snapshot, which pulled in the
RestAPINodeConfig.options.summarize block as an unrelated catch-up.
That block isn't load-bearing for Position D auth and shouldn't have
been bundled.
Reverting just the openapi.yaml hunk (+ the regenerated types) is
safe: the SDK builder at packages/sdk-js/src/v4/builders/nodes.ts
has its own local `options?: { summarize?: boolean }` annotation and
the AAVE template test still typechecks + runs. Verified locally —
yarn build clean, 12/12 smoke tests pass.
The summarize feature can land in its own dedicated PR with the
proper feature description and test coverage attached, so the
openapi schema entry travels with the change that actually
introduces the SDK-side support, instead of arriving silently via
an unrelated auth-migration squash merge.
Summary
PR #214 (Position D auth) regenerated
packages/types/openapi/openapi.yamlfrom the EigenLayer-AVS staging snapshot. That refresh pulled in theRestAPINodeConfig.options.summarizeblock — which is unrelated to the Position D auth migration but landed in the same squash because the openapi resync is wholesale.This PR removes just that hunk so the
summarizefeature can land in its own dedicated PR with the proper "feat: document RestAPI options.summarize" framing, instead of arriving silently via an auth-migration squash merge.Why this is safe to revert
The SDK builder at packages/sdk-js/src/v4/builders/nodes.ts:119 declares its own local annotation:
and spreads it into the node config without referencing the generated
RestAPINodeConfig.optionstype. So removing the openapi-side declaration doesn't break the builder's call surface, and the AAVE template test (tests/v4/templates/aave-health-factor-alert.test.ts:231) keeps typechecking + running.Verification
yarn workspace @avaprotocol/types build— cleanyarn workspace @avaprotocol/sdk-js build— cleannpx tsc --noEmit -p .— no errors onnodes.tsor AAVE testyarn test tests/v4/smoke.test.ts— 12/12 passWhat's next
A separate PR will re-add the
RestAPINodeConfig.options.summarizeschema entry alongside whatever additional SDK + test coverage the summarize feature warrants — that PR is the right home for the schema documentation since it ships the SDK-side support together.🤖 Generated with Claude Code