mirror of
https://github.com/wu736139669/hapi.git
synced 2026-11-18 03:27:08 +00:00
feat(dsh): integrate DeepSeek Harness through ACP (#1632)
* feat(dsh): add DeepSeek Harness ACP flavor * fix(dsh): update mobile flavor catalogs * fix(dsh): keep mobile spawn policy managed * fix(dsh): keep managed policy and prompt retry * fix(dsh): suppress unsupported runner policy flags * fix(dsh): align native managed-policy UX
This commit is contained in:
@@ -8,9 +8,10 @@ interface RemoteModeDisplayProps {
|
||||
logPath?: string
|
||||
onExit?: () => void
|
||||
onSwitchToLocal?: () => void
|
||||
agentLabel?: string
|
||||
}
|
||||
|
||||
export const RemoteModeDisplay: React.FC<RemoteModeDisplayProps> = ({ messageBuffer, logPath, onExit, onSwitchToLocal }) => {
|
||||
export const RemoteModeDisplay: React.FC<RemoteModeDisplayProps> = ({ messageBuffer, logPath, onExit, onSwitchToLocal, agentLabel = 'Claude' }) => {
|
||||
const [messages, setMessages] = useState<BufferedMessage[]>([])
|
||||
const { confirmationMode, actionInProgress } = useSwitchControls({
|
||||
onExit,
|
||||
@@ -70,7 +71,7 @@ export const RemoteModeDisplay: React.FC<RemoteModeDisplayProps> = ({ messageBuf
|
||||
overflow="hidden"
|
||||
>
|
||||
<Box flexDirection="column" marginBottom={1}>
|
||||
<Text color="gray" bold>📡 Remote Mode - Claude Messages</Text>
|
||||
<Text color="gray" bold>📡 Remote Mode - {agentLabel} Messages</Text>
|
||||
<Text color="gray" dimColor>{'─'.repeat(Math.min(terminalWidth - 4, 60))}</Text>
|
||||
</Box>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user