Add @deepseek-ai/dsh-agent-controller, composed in the base bundle, as the entry through which a sender delivers a message from outside an Agent into its inbox. deliver() runs the sender's content preparation in the Agent's delivery order, asks the agent-controller/admission waterfall for a decision, rechecks cancellation and registration, and appends the message with followup() or steer(). dsh-agent and agent-loop are unchanged. The Web session/prompt Remote delivers through it: the image model check, upload receipt resolution, and attachment storage run as prepare, the receipt binding runs as beforeInsert, and refusals map to session/prompt-rejected. The Web client keeps its existing echo. This replaces the Host half of deepseek-harness/deepseek-harness#6178, whose admission stage lived in dsh-agent.
7 lines
128 B
JSON
7 lines
128 B
JSON
{
|
|
"meta": {
|
|
"title": "Agent Controller",
|
|
"description": "Admits messages from outside an Agent into its inbox."
|
|
}
|
|
}
|