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.
25 lines
362 B
JSON
25 lines
362 B
JSON
{
|
|
"extends": "../../../tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"rootDir": "src",
|
|
"outDir": "lib/types"
|
|
},
|
|
"include": [
|
|
"src"
|
|
],
|
|
"references": [
|
|
{
|
|
"path": "../../../vendor/cordis"
|
|
},
|
|
{
|
|
"path": "../../core/agent"
|
|
},
|
|
{
|
|
"path": "../../core/scope"
|
|
},
|
|
{
|
|
"path": "../../llm/llm"
|
|
}
|
|
]
|
|
}
|