feat: hide pin and unpin based on existing pinning configuration (#236)

This commit is contained in:
Kian Jones
2025-12-16 14:29:39 -05:00
committed by GitHub
parent 902c7c7110
commit 90a66ee94b
4 changed files with 47 additions and 3 deletions

View File

@@ -13,6 +13,7 @@ interface InputAssistProps {
agentId?: string;
agentName?: string | null;
serverUrl?: string;
workingDirectory?: string;
}
/**
@@ -30,6 +31,7 @@ export function InputAssist({
agentId,
agentName,
serverUrl,
workingDirectory,
}: InputAssistProps) {
const showFileAutocomplete = currentInput.includes("@");
const showCommandAutocomplete =
@@ -67,6 +69,8 @@ export function InputAssist({
cursorPosition={cursorPosition}
onSelect={onCommandSelect}
onActiveChange={onAutocompleteActiveChange}
agentId={agentId}
workingDirectory={workingDirectory}
/>
<AgentInfoBar
agentId={agentId}