package thin import "amadan.net/oficina/equipo/internal/wire" // toolProjectOld: the instance cannot take a proposal for one project yet // (below wire.ProtocolDesign). For the model; people never read it. const toolProjectOld = "Equipo needs an update before it can add a specialist for one project. Tell the person that in one line." // designRefused answers propose_specialist for one project here on a link // below protocol 38: Encode refuses the call, so it is never sent to an // older instance, which would read it as the whole team's. func designRefused(call wire.ToolCall, protocol int) (wire.ToolResult, bool) { if protocol == 0 || protocol >= wire.ProtocolDesign || !wire.ProjectProposal(&call) { return wire.ToolResult{}, false } return wire.ToolResult{CallID: call.CallID, IsError: true, Code: "project_unsupported", Text: toolProjectOld}, true }