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

@@ -1351,6 +1351,7 @@ export const PackageList = [
'packages/frontend/templates',
'packages/frontend/track',
'blocksuite/affine/all',
'blocksuite/affine/blocks/root',
'blocksuite/affine/components',
'blocksuite/affine/shared',
'blocksuite/framework/global',