From b12262e8c9415b042b38a309c222ff8a7128a137 Mon Sep 17 00:00:00 2001 From: Pine Date: Fri, 14 Aug 2026 11:48:17 +0800 Subject: [PATCH] feat(app-boot): mount image recognition by default for the web profile Add the image-recognition bundle to the web profile template so the capability is on by default for new web profiles. Co-Authored-By: Claude --- packages/boot/app-boot/src/profile.ts | 2 +- packages/bundle/image-recognition/README.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/boot/app-boot/src/profile.ts b/packages/boot/app-boot/src/profile.ts index 8f982bed80..45d835eef7 100644 --- a/packages/boot/app-boot/src/profile.ts +++ b/packages/boot/app-boot/src/profile.ts @@ -112,7 +112,7 @@ export function resolveProfileDir(name: string, home: string = resolveDshHome()) /** The shipped profile templates auto-initialized on first use, by name. */ export const PROFILE_TEMPLATES: Record = { - web: ['@deepseek-ai/dsh-base', '@deepseek-ai/dsh-web-app'], + web: ['@deepseek-ai/dsh-base', '@deepseek-ai/dsh-web-app', '@deepseek-ai/dsh-image-recognition-bundle'], headless: ['@deepseek-ai/dsh-base', '@deepseek-ai/dsh-headless'], } diff --git a/packages/bundle/image-recognition/README.md b/packages/bundle/image-recognition/README.md index 67634c9ff0..f3665cf6bb 100644 --- a/packages/bundle/image-recognition/README.md +++ b/packages/bundle/image-recognition/README.md @@ -5,10 +5,10 @@ capability seam (`@deepseek-ai/dsh-image-recognition`), the configurable HTTP provider (`@deepseek-ai/dsh-image-recognition-http`), and the model-facing consumer (`@deepseek-ai/dsh-tool-image-recognition`). -The bundle is **not** in any default profile's bundles list. Enable it per -profile by adding this package to the profile's `dsh.profile.bundles` (or -`dsh plugin --profile add @deepseek-ai/dsh-image-recognition-bundle`), -then configure the endpoint and key in the Plugins settings page +The `web` profile template mounts this bundle by default. A non-web profile opts +in by adding this package to its `dsh.profile.bundles` (or +`dsh plugin --profile add @deepseek-ai/dsh-image-recognition-bundle`). +Then configure the endpoint, key, and model in the Plugins settings page (`image-recognition` card). ## Known Limitations and Deferred Work