Add /link and /unlink commands for managing agent tools (#59)
Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
@@ -34,9 +34,10 @@ export function CommandPreview({
|
||||
paddingX={1}
|
||||
>
|
||||
{commandList.map((item) => (
|
||||
<Box key={item.cmd} justifyContent="space-between" width={40}>
|
||||
<Text>{item.cmd}</Text>
|
||||
<Text dimColor>{item.desc}</Text>
|
||||
<Box key={item.cmd}>
|
||||
<Text>
|
||||
{item.cmd.padEnd(15)} <Text dimColor>{item.desc}</Text>
|
||||
</Text>
|
||||
</Box>
|
||||
))}
|
||||
{showAgentUrl && (
|
||||
|
||||
@@ -9,6 +9,8 @@ import { colors } from "./colors";
|
||||
type LoadingState =
|
||||
| "assembling"
|
||||
| "upserting"
|
||||
| "linking"
|
||||
| "unlinking"
|
||||
| "initializing"
|
||||
| "checking"
|
||||
| "ready";
|
||||
@@ -82,6 +84,12 @@ export function WelcomeScreen({
|
||||
if (loadingState === "upserting") {
|
||||
return "Upserting tools...";
|
||||
}
|
||||
if (loadingState === "linking") {
|
||||
return "Attaching Letta Code tools...";
|
||||
}
|
||||
if (loadingState === "unlinking") {
|
||||
return "Removing Letta Code tools...";
|
||||
}
|
||||
if (loadingState === "checking") {
|
||||
return "Checking for pending approvals...";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user