Files
deepseek-harness/packages/vision
Pine 08ac7c3da5 feat(vision): gate recognition on a configured provider
Expose ImageRecognitionRuntime.available() and gate the image-task pre-step
injection on it, so the capability is dormant until an endpoint is
configured instead of guiding the model to a call that can only fail.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-14 12:08:30 +08:00
..

vision/

Image-recognition capability family over the DeepSeek Harness: a Service Definition seam, a user-configurable HTTP vision provider, and the model-facing recognition consumer (tool + skill + deterministic image-task injection). The opt-in bundle composes them for a profile.

Package Role
image-recognition/ Service Definition: ctx.imageRecognition provider registry + selection + ImageRecognitionError
image-recognition-http/ Provider: user-configured OpenAI-compatible chat-completions vision endpoint
tool-image-recognition/ Consumer: recognize_image tool, image-recognition skill, deterministic image-task injection
../bundle/image-recognition Opt-in bundle mounting the seam, provider, and consumer

A capability seam keeps Service Definition / Provider / Consumer roles separate (capability seams); the opt-in bundle is how a deployment turns image recognition on per profile.