Skip to content

feat(retrieval): add includeDocumentIds to query params - #126

Merged
EricNGOntos merged 1 commit into
mainfrom
feat/wuchengke/retrieval-include-document-ids
Sep 11, 2026
Merged

feat(retrieval): add includeDocumentIds to query params#126
EricNGOntos merged 1 commit into
mainfrom
feat/wuchengke/retrieval-include-document-ids

Conversation

@EricNGOntos

Copy link
Copy Markdown
Contributor

Summary

  • Add includeDocumentIds to the typed retrieval query contract.
  • Preserve empty include/exclude arrays on the HTTP body; omit the fields when they are not supplied.
  • Align package.json with the already-published npm 2.2.0 so the next Changeset release can publish above that version.

Test plan

  • pnpm run format:check, typecheck, lint
  • vitest run retrieval unit + wire tests (13 passed)
  • Remote CI green
  • After merge: merge the Release package PR so npm publishes the new version

Made with Cursor

Expose the request-level document allowlist on the typed retrieval contract and keep empty arrays on the wire. Align package.json with the already-published 2.2.0 so the next release can publish above it.

Co-authored-by: Cursor <cursoragent@cursor.com>
@EricNGOntos
EricNGOntos force-pushed the feat/wuchengke/retrieval-include-document-ids branch from c893308 to 2a58e9e Compare September 11, 2026 08:26
@EricNGOntos
EricNGOntos merged commit 1efbd5f into main Sep 11, 2026
4 checks passed
@EricNGOntos
EricNGOntos deleted the feat/wuchengke/retrieval-include-document-ids branch September 11, 2026 08:29
@github-actions github-actions Bot mentioned this pull request Sep 11, 2026
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.

1 participant