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 <noreply@anthropic.com>
This commit is contained in:
Pine
2026-08-14 11:48:17 +08:00
parent c73b9eb403
commit b12262e8c9
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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<string, readonly string[]> = {
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'],
}
+4 -4
View File
@@ -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 <name> 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 <name> 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