feat(core): peek doc in ai doc-read tool result (#13424)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
* Enhanced document read results with clickable cards that open a peek
view of the referenced document.
* Added support for displaying document identifiers in document read
results.

* **Bug Fixes**
* Improved compatibility with older document read results that may lack
a document identifier.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Cats Juice authored and GitHub committed 2025-08-06 04:01:07 +00:00
1 parent e735ada758
commit 44ef06de36
3 files changed
+21

No files matched your search

@@ -57,6 +57,7 @@ export const buildDocContentGetter = (
}
return {
docId,
title: content.title,
markdown: content.markdown,
createdAt: docMeta.createdAt,