Skip to content

chore: bump knowhere-sdk to 2.2.0 for grep page numbers - #144

Merged
suguanYang merged 1 commit into
stagingfrom
feat/wangbinqi/bump-knowhere-sdk-2.2.0
Aug 20, 2026
Merged

chore: bump knowhere-sdk to 2.2.0 for grep page numbers#144
suguanYang merged 1 commit into
stagingfrom
feat/wangbinqi/bump-knowhere-sdk-2.2.0

Conversation

@suguanYang

Copy link
Copy Markdown
Contributor

Summary

  • Bump @ontos-ai/knowhere-sdk from ^2.1.2 to ^2.2.0 so Notebook gets published KnowledgeGrepMatch.pageNumbers.
  • Read that field from the SDK type in the evidence ledger (drop the interim cast). Citation chips can take /pN from grep without a follow-up readChunks in the common case.

This landed after PR 143 merged, so it is a follow-up on staging.

Test plan

  • pnpm exec tsc --noEmit
  • pnpm exec vitest run src/agent-harness/ledger.test.ts src/domains/chat/index.test.ts
  • Grep a page-memory source in chat and confirm chips show {title}/pN without an extra chunk read when the match already has page numbers

Made with Cursor

Use the published KnowledgeGrepMatch.pageNumbers field instead of a type cast so citation chips can take page numbers from grep without a follow-up read.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
knowhere-notebook-staging Ready Ready Preview Aug 20, 2026 7:27am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
knowhere-notebook Ignored Ignored Aug 20, 2026 7:27am

Request Review

@suguanYang
suguanYang merged commit 3232b51 into staging Aug 20, 2026
7 checks passed
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