automagik-cli
Version:
Automagik CLI - A powerful command-line interface for interacting with Automagik Hive multi-agent AI systems
9 lines (8 loc) • 942 B
JavaScript
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
import { Box, Text } from 'ink';
export const Footer = ({ debugMode, debugMessage, sessionId, apiUrl, }) => {
const formatSessionId = (id) => {
return id.slice(-8); // Show last 8 characters
};
return (_jsxs(Box, { flexDirection: "column", marginTop: 1, children: [debugMode && debugMessage && (_jsx(Box, { marginBottom: 1, children: _jsxs(Text, { color: "gray", italic: true, children: ["Debug: ", debugMessage] }) })), _jsxs(Box, { justifyContent: "space-between", children: [_jsx(Box, { children: _jsxs(Text, { color: "gray", children: ["Session: ", formatSessionId(sessionId)] }) }), _jsx(Box, { children: _jsxs(Text, { color: "gray", children: ["API: ", apiUrl] }) })] }), debugMode && (_jsx(Box, { marginTop: 1, children: _jsxs(Text, { color: "gray", dimColor: true, children: ["Debug mode enabled \u2022 Full session ID: ", sessionId] }) }))] }));
};