feat(server): improve context management (#15448)

#### PR Dependency Tree


* **PR #15448** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)

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

* **New Features**
* Added workspace artifact upload, browsing, removal, deduplication, and
library ownership support.
* Copilot now supports scoped document and artifact search, canvas
reading, live editor context, and frontend tools.
* Added scope and focus selectors with source-resolution receipts in
chat.
* Added embedding health, progress, synchronization, and retrieval
capabilities.
* Added BYOK policy visibility, provider restrictions, endpoint dialect
selection, and validation.
* Added delegated editor interactions and userdata document
authorization.

* **Bug Fixes**
* Improved attachment handling, cancellation, access control, retrieval
fallbacks, workspace synchronization, and configuration validation.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
DarkSky
2026-08-10 09:27:58 +08:00
committed by GitHub
parent 42322d13fe
commit ee899a267b
311 changed files with 20468 additions and 14806 deletions
@@ -2124,10 +2124,7 @@
"error.COPILOT_PROMPT_INVALID": "پیشنهاد Copilot نامعتبر است.",
"error.COPILOT_PROVIDER_NOT_SUPPORTED": "ارائه‌دهنده Copilot {{provider}} از نوع خروجی {{kind}} پشتیبانی نمی‌کند",
"error.COPILOT_PROVIDER_SIDE_ERROR": "ارائه‌دهنده {{provider}} با خطای {{kind}} ناموفق: {{message}}",
"error.COPILOT_INVALID_CONTEXT": "زمینه نادرست {{contextId}}.",
"error.COPILOT_CONTEXT_FILE_NOT_SUPPORTED": "فایل {{fileName}} برای استفاده به عنوان زمینه پشتیبانی نمی‌شود: {{message}}",
"error.COPILOT_FAILED_TO_MODIFY_CONTEXT": "عدم موفقیت در اصلاح زمینه {{contextId}}: {{message}}",
"error.COPILOT_FAILED_TO_MATCH_CONTEXT": "عدم موفقیت در تطابق زمینه {{contextId}} با \"%7B%7Bcontent%7D%7D\": {{message}}",
"error.COPILOT_FAILED_TO_MATCH_GLOBAL_CONTEXT": "عدم موفقیت در تطابق زمینه در فضای کاری {{workspaceId}} با \"%7B%7Bcontent%7D%7D\": {{message}}",
"error.COPILOT_EMBEDDING_DISABLED": "ویژگی تعبیه غیرفعال است، لطفاً با مدیر تماس بگیرید تا آن را در تنظیمات فضای کاری فعال کند.",
"error.COPILOT_EMBEDDING_UNAVAILABLE": "ویژگی جاسازی در دسترس نیست، ممکن است نیاز به نصب افزونه pgvector در پایگاه داده خود داشته باشید",