feat: chat uploads, vision turn isolation, and MindSpace agent improvements

Add chat file/image upload UX, attachment proxying, vision thumbnails, and per-turn image scoping so agents only use the current upload. Extend MindSpace asset context, billing token state, OA/scenario verify scripts, and related runtime config.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-07-11 00:23:01 +08:00
parent e3063ea806
commit 32fb2cdeaf
51 changed files with 4588 additions and 186 deletions
+3 -1
View File
@@ -2025,7 +2025,9 @@ export function createLlmProviderService(
const content = [
...imageItems.map((item) => ({
type: 'image_url',
image_url: { url: `data:${item.mimeType};base64,${item.data}` },
image_url: {
url: `data:${item.visionMimeType ?? item.mimeType};base64,${item.data}`,
},
})),
{ type: 'text', text: String(userText || '请描述这张图片的内容').trim() },
];