feat(core): extract md & snapshot & attachments from selected (#13312)

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

## Summary by CodeRabbit

* **New Features**
* Enhanced extraction of selected content in the editor to include
document snapshots, markdown summaries, and attachments for both
edgeless and page modes.
* Attachments related to selected content are now available in chat and
input contexts, providing additional metadata.
* Added utility to identify and retrieve selected attachments in editor
content.

* **Bug Fixes**
* Improved consistency in attachment retrieval when extracting selected
content.

* **Chores**
* Updated dependencies and workspace references to include new block
suite components.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

> CLOSE AF-2770
This commit is contained in:
德布劳外 · 贾贵
2025-07-31 17:53:09 +08:00
committed by GitHub
parent 826afc209e
commit 77950cfc1b
12 changed files with 135 additions and 4 deletions

View File

@@ -18,6 +18,7 @@
{ "path": "../../common/reader" },
{ "path": "../track" },
{ "path": "../../../blocksuite/affine/all" },
{ "path": "../../../blocksuite/affine/blocks/root" },
{ "path": "../../../blocksuite/affine/components" },
{ "path": "../../../blocksuite/affine/shared" },
{ "path": "../../../blocksuite/framework/global" },