Files
deepseek-harness/packages/attachment
creatixchu 58ec1f0867 refactor(file-upload): keep storage helpers and the HTTP route package-private
Stop re-exporting the verbatim file-store helpers from attachment-local, move
the raw-byte upload route handler into a non-entry module of file-upload, and
drop the redundant hook type re-exports from the Client entry. The route test
moves next to the module it exercises.
2026-09-04 15:41:25 +08:00
..

description, kind
description kind
Package map for the durable image attachment capability family: what you can do with image attachments, and where your images are stored. package-group

attachment/ — durable attachment capability family

English | 中文

Summary

The attachment/ group provides durable image attachments: attach images to prompts and commands, and the harness saves them on your machine, shows them again in conversation history, and sends them to the model in later turns. The shipped dsh composition enables this with no setup. The capability and its storage are split across two packages, described below. Stored images survive restarts and are never deleted automatically, and only raster image formats are supported.

Table of Contents


Packages

These two packages provide durable image attachments; each README describes what you can do with its part.

Package Role ctx key
attachment/ Image attachments for prompts and commands that persist and come back in history ctx.attachments
attachment-local/ Stores your attached images on this machine below DSH_HOME registers on ctx.attachments

Start with the subsystem reference for the service contract, then the capability-seam table and the configuration surface of the local backend.

Dev Note

Working context for maintainers — click to expand

None.