mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-12-01 14:01:24 -05:00
AgentAdmissionRejected now extends HarnessError with the fixed code AGENT_ADMISSION_REJECTED. The Session Remote recognizes a refusal by that code and imports only agent-controller types, so its mapping also holds for an error from another copy of the module; its literals are typed by the agent-controller constants, so a changed value fails the build.