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

@@ -1,4 +1,5 @@
// Import useInput from vendored Ink for bracketed paste support
import { stdin } from "node:process";
import { Box, Text, useInput } from "ink";
import SpinnerLib from "ink-spinner";
import { type ComponentType, useEffect, useRef, useState } from "react";
@@ -568,6 +569,7 @@ export function Input({
agentId={agentId}
agentName={agentName}
serverUrl={serverUrl}
workingDirectory={process.cwd()}
/>
<Box justifyContent="space-between" marginBottom={1}>