@skillkit/tui 1.8.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +508 -38
- package/dist/index.js +13626 -2754
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
1
|
import { AgentType, SkillMetadata } from '@skillkit/core';
|
|
3
2
|
import * as _skillkit_agents from '@skillkit/agents';
|
|
3
|
+
import { JSX } from 'solid-js';
|
|
4
4
|
|
|
5
5
|
interface SkillItem {
|
|
6
6
|
name: string;
|
|
@@ -39,7 +39,7 @@ declare const SIDEBAR_NAV: SidebarSection[];
|
|
|
39
39
|
interface AppProps {
|
|
40
40
|
onExit?: (code?: number) => void;
|
|
41
41
|
}
|
|
42
|
-
declare function App(
|
|
42
|
+
declare function App(props: AppProps): any;
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
45
|
* Monochromatic color palette for SkillKit TUI
|
|
@@ -301,6 +301,16 @@ declare function getScreenFromKey(key: string): Screen | undefined;
|
|
|
301
301
|
*/
|
|
302
302
|
declare function isNavKey(key: string): boolean;
|
|
303
303
|
|
|
304
|
+
/**
|
|
305
|
+
* Detailed skill info including path for translation
|
|
306
|
+
*/
|
|
307
|
+
interface SkillWithDetails {
|
|
308
|
+
name: string;
|
|
309
|
+
description?: string;
|
|
310
|
+
path: string;
|
|
311
|
+
source?: string;
|
|
312
|
+
enabled: boolean;
|
|
313
|
+
}
|
|
304
314
|
/**
|
|
305
315
|
* Skills store state
|
|
306
316
|
*/
|
|
@@ -330,6 +340,12 @@ declare function removeSkill(skillName: string, agentType?: AgentType): boolean;
|
|
|
330
340
|
* Filter skills by search query
|
|
331
341
|
*/
|
|
332
342
|
declare function filterSkills(skills: SkillItem[], query: string): SkillItem[];
|
|
343
|
+
/**
|
|
344
|
+
* Load skills with full details including path for translation
|
|
345
|
+
* @param agentType - Optional agent type to load skills for
|
|
346
|
+
* @returns Array of skills with path details
|
|
347
|
+
*/
|
|
348
|
+
declare function loadSkillsWithDetails(agentType?: AgentType): SkillWithDetails[];
|
|
333
349
|
|
|
334
350
|
/**
|
|
335
351
|
* Agent status information
|
|
@@ -506,16 +522,12 @@ declare function clampIndex(index: number, listLength: number): number;
|
|
|
506
522
|
declare function calculateMaxVisible(availableRows: number, reservedRows: number, minVisible?: number): number;
|
|
507
523
|
|
|
508
524
|
interface AgentGridProps {
|
|
509
|
-
/** Maximum number of agents to display */
|
|
510
525
|
maxVisible?: number;
|
|
511
|
-
/** Show status indicators for detected agents */
|
|
512
526
|
showStatus?: boolean;
|
|
513
|
-
/** Agent types that are detected/active */
|
|
514
527
|
detectedAgents?: string[];
|
|
515
|
-
/** Number of columns in the grid */
|
|
516
528
|
columns?: number;
|
|
517
529
|
}
|
|
518
|
-
declare function AgentGrid(
|
|
530
|
+
declare function AgentGrid(props: AgentGridProps): any;
|
|
519
531
|
|
|
520
532
|
interface StatItem {
|
|
521
533
|
label: string;
|
|
@@ -526,7 +538,7 @@ interface StatsCardProps {
|
|
|
526
538
|
items: StatItem[];
|
|
527
539
|
animated?: boolean;
|
|
528
540
|
}
|
|
529
|
-
declare function StatsCard(
|
|
541
|
+
declare function StatsCard(props: StatsCardProps): any;
|
|
530
542
|
|
|
531
543
|
interface HeaderProps {
|
|
532
544
|
title: string;
|
|
@@ -535,20 +547,31 @@ interface HeaderProps {
|
|
|
535
547
|
badge?: string;
|
|
536
548
|
icon?: string;
|
|
537
549
|
}
|
|
538
|
-
declare function Header(
|
|
550
|
+
declare function Header(props: HeaderProps): any;
|
|
539
551
|
|
|
540
552
|
interface SidebarProps {
|
|
541
553
|
screen: Screen;
|
|
542
554
|
onNavigate: (screen: Screen) => void;
|
|
543
555
|
}
|
|
544
|
-
declare function Sidebar(
|
|
556
|
+
declare function Sidebar(props: SidebarProps): any;
|
|
557
|
+
|
|
558
|
+
interface RightSidebarProps {
|
|
559
|
+
width: number;
|
|
560
|
+
rows: number;
|
|
561
|
+
}
|
|
562
|
+
declare function RightSidebar(props: RightSidebarProps): any;
|
|
563
|
+
|
|
564
|
+
interface BottomStatusBarProps {
|
|
565
|
+
currentScreen: Screen;
|
|
566
|
+
}
|
|
567
|
+
declare function BottomStatusBar(props: BottomStatusBarProps): any;
|
|
545
568
|
|
|
546
569
|
interface StatusBarProps {
|
|
547
570
|
message?: string;
|
|
548
571
|
messageType?: 'info' | 'success' | 'error' | 'warning';
|
|
549
572
|
shortcuts?: string;
|
|
550
573
|
}
|
|
551
|
-
declare function StatusBar(
|
|
574
|
+
declare function StatusBar(props: StatusBarProps): any;
|
|
552
575
|
|
|
553
576
|
interface SkillListProps {
|
|
554
577
|
skills: SkillItem[];
|
|
@@ -556,7 +579,7 @@ interface SkillListProps {
|
|
|
556
579
|
maxVisible?: number;
|
|
557
580
|
onSelect?: (skill: SkillItem) => void;
|
|
558
581
|
}
|
|
559
|
-
declare function SkillList(
|
|
582
|
+
declare function SkillList(props: SkillListProps): any;
|
|
560
583
|
|
|
561
584
|
interface SearchInputProps {
|
|
562
585
|
value: string;
|
|
@@ -564,13 +587,13 @@ interface SearchInputProps {
|
|
|
564
587
|
focused?: boolean;
|
|
565
588
|
onChange?: (value: string) => void;
|
|
566
589
|
}
|
|
567
|
-
declare function SearchInput(
|
|
590
|
+
declare function SearchInput(props: SearchInputProps): any;
|
|
568
591
|
|
|
569
592
|
interface SpinnerProps {
|
|
570
593
|
label?: string;
|
|
571
594
|
color?: keyof typeof terminalColors;
|
|
572
595
|
}
|
|
573
|
-
declare function Spinner(
|
|
596
|
+
declare function Spinner(props: SpinnerProps): any;
|
|
574
597
|
|
|
575
598
|
interface ProgressBarProps {
|
|
576
599
|
progress: number;
|
|
@@ -578,7 +601,7 @@ interface ProgressBarProps {
|
|
|
578
601
|
showPercentage?: boolean;
|
|
579
602
|
color?: keyof typeof terminalColors;
|
|
580
603
|
}
|
|
581
|
-
declare function ProgressBar(
|
|
604
|
+
declare function ProgressBar(props: ProgressBarProps): any;
|
|
582
605
|
|
|
583
606
|
interface Feature {
|
|
584
607
|
key: string;
|
|
@@ -590,155 +613,602 @@ declare const FEATURES: Feature[];
|
|
|
590
613
|
interface FeatureListProps {
|
|
591
614
|
features?: Feature[];
|
|
592
615
|
}
|
|
593
|
-
declare function FeatureList(
|
|
616
|
+
declare function FeatureList(props: FeatureListProps): any;
|
|
594
617
|
|
|
595
618
|
interface SplashProps {
|
|
596
619
|
onComplete: () => void;
|
|
597
620
|
duration?: number;
|
|
598
621
|
}
|
|
599
|
-
declare function Splash(
|
|
622
|
+
declare function Splash(props: SplashProps): any;
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* SelectList Component
|
|
626
|
+
* Reusable list with j/k + mouse navigation
|
|
627
|
+
*/
|
|
628
|
+
interface SelectListItem {
|
|
629
|
+
id: string;
|
|
630
|
+
label: string;
|
|
631
|
+
description?: string;
|
|
632
|
+
icon?: string;
|
|
633
|
+
meta?: string;
|
|
634
|
+
disabled?: boolean;
|
|
635
|
+
}
|
|
636
|
+
interface SelectListProps {
|
|
637
|
+
items: SelectListItem[];
|
|
638
|
+
selectedIndex: number;
|
|
639
|
+
hoveredIndex?: number | null;
|
|
640
|
+
onSelect?: (item: SelectListItem, index: number) => void;
|
|
641
|
+
onHover?: (index: number) => void;
|
|
642
|
+
maxVisible?: number;
|
|
643
|
+
showIndex?: boolean;
|
|
644
|
+
emptyText?: string;
|
|
645
|
+
compact?: boolean;
|
|
646
|
+
}
|
|
647
|
+
declare function SelectList(props: SelectListProps): any;
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* DetailPane Component
|
|
651
|
+
* Right-side detail panel with animated slide-in
|
|
652
|
+
*/
|
|
653
|
+
|
|
654
|
+
interface DetailField {
|
|
655
|
+
label: string;
|
|
656
|
+
value: string | string[];
|
|
657
|
+
color?: string;
|
|
658
|
+
}
|
|
659
|
+
interface DetailPaneProps {
|
|
660
|
+
title: string;
|
|
661
|
+
subtitle?: string;
|
|
662
|
+
icon?: string;
|
|
663
|
+
fields?: DetailField[];
|
|
664
|
+
content?: string;
|
|
665
|
+
actions?: Array<{
|
|
666
|
+
key: string;
|
|
667
|
+
label: string;
|
|
668
|
+
}>;
|
|
669
|
+
width?: number;
|
|
670
|
+
visible?: boolean;
|
|
671
|
+
onClose?: () => void;
|
|
672
|
+
children?: JSX.Element;
|
|
673
|
+
}
|
|
674
|
+
declare function DetailPane(props: DetailPaneProps): any;
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* SplitPane Component
|
|
678
|
+
* Horizontal/vertical split layout
|
|
679
|
+
*/
|
|
680
|
+
|
|
681
|
+
interface SplitPaneProps {
|
|
682
|
+
direction?: 'horizontal' | 'vertical';
|
|
683
|
+
primarySize?: number | string;
|
|
684
|
+
secondarySize?: number | string;
|
|
685
|
+
showDivider?: boolean;
|
|
686
|
+
dividerChar?: string;
|
|
687
|
+
primary: JSX.Element;
|
|
688
|
+
secondary?: JSX.Element;
|
|
689
|
+
gap?: number;
|
|
690
|
+
}
|
|
691
|
+
declare function SplitPane(props: SplitPaneProps): any;
|
|
692
|
+
interface ThreePaneLayoutProps {
|
|
693
|
+
left?: JSX.Element;
|
|
694
|
+
center: JSX.Element;
|
|
695
|
+
right?: JSX.Element;
|
|
696
|
+
leftWidth?: number;
|
|
697
|
+
rightWidth?: number;
|
|
698
|
+
showLeftDivider?: boolean;
|
|
699
|
+
showRightDivider?: boolean;
|
|
700
|
+
}
|
|
701
|
+
declare function ThreePaneLayout(props: ThreePaneLayoutProps): any;
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* EmptyState Component
|
|
705
|
+
* Consistent "no data" display
|
|
706
|
+
*/
|
|
707
|
+
interface EmptyStateProps {
|
|
708
|
+
icon?: string;
|
|
709
|
+
title: string;
|
|
710
|
+
description?: string;
|
|
711
|
+
action?: {
|
|
712
|
+
label: string;
|
|
713
|
+
key?: string;
|
|
714
|
+
};
|
|
715
|
+
compact?: boolean;
|
|
716
|
+
}
|
|
717
|
+
declare function EmptyState(props: EmptyStateProps): any;
|
|
718
|
+
interface LoadingStateProps {
|
|
719
|
+
message?: string;
|
|
720
|
+
compact?: boolean;
|
|
721
|
+
}
|
|
722
|
+
declare function LoadingState(props: LoadingStateProps): any;
|
|
723
|
+
interface ErrorStateProps {
|
|
724
|
+
title?: string;
|
|
725
|
+
message: string;
|
|
726
|
+
action?: {
|
|
727
|
+
label: string;
|
|
728
|
+
key?: string;
|
|
729
|
+
};
|
|
730
|
+
compact?: boolean;
|
|
731
|
+
}
|
|
732
|
+
declare function ErrorState(props: ErrorStateProps): any;
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* StatusIndicator Component
|
|
736
|
+
* Loading/success/error/warning indicator
|
|
737
|
+
*/
|
|
738
|
+
type StatusType = 'loading' | 'success' | 'error' | 'warning' | 'info' | 'pending';
|
|
739
|
+
interface StatusIndicatorProps {
|
|
740
|
+
status: StatusType;
|
|
741
|
+
label?: string;
|
|
742
|
+
showLabel?: boolean;
|
|
743
|
+
size?: 'sm' | 'md' | 'lg';
|
|
744
|
+
animated?: boolean;
|
|
745
|
+
}
|
|
746
|
+
declare function StatusIndicator(props: StatusIndicatorProps): any;
|
|
747
|
+
interface InlineStatusProps {
|
|
748
|
+
status: StatusType;
|
|
749
|
+
compact?: boolean;
|
|
750
|
+
}
|
|
751
|
+
declare function InlineStatus(props: InlineStatusProps): any;
|
|
752
|
+
interface StatusBadgeProps {
|
|
753
|
+
status: StatusType;
|
|
754
|
+
label: string;
|
|
755
|
+
}
|
|
756
|
+
declare function StatusBadge(props: StatusBadgeProps): any;
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* CodeBlock Component
|
|
760
|
+
* Basic syntax highlighting for code display
|
|
761
|
+
*/
|
|
762
|
+
interface CodeBlockProps {
|
|
763
|
+
code: string;
|
|
764
|
+
language?: string;
|
|
765
|
+
showLineNumbers?: boolean;
|
|
766
|
+
maxLines?: number;
|
|
767
|
+
highlightLines?: number[];
|
|
768
|
+
title?: string;
|
|
769
|
+
}
|
|
770
|
+
declare function CodeBlock(props: CodeBlockProps): any;
|
|
771
|
+
interface InlineCodeProps {
|
|
772
|
+
children: string;
|
|
773
|
+
}
|
|
774
|
+
declare function InlineCode(props: InlineCodeProps): any;
|
|
775
|
+
|
|
776
|
+
/**
|
|
777
|
+
* FormField Component
|
|
778
|
+
* Input with label and validation
|
|
779
|
+
*/
|
|
780
|
+
interface FormFieldProps {
|
|
781
|
+
label: string;
|
|
782
|
+
value: string;
|
|
783
|
+
placeholder?: string;
|
|
784
|
+
error?: string;
|
|
785
|
+
hint?: string;
|
|
786
|
+
required?: boolean;
|
|
787
|
+
disabled?: boolean;
|
|
788
|
+
focused?: boolean;
|
|
789
|
+
type?: 'text' | 'password' | 'search';
|
|
790
|
+
width?: number;
|
|
791
|
+
}
|
|
792
|
+
declare function FormField(props: FormFieldProps): any;
|
|
793
|
+
interface TextAreaFieldProps {
|
|
794
|
+
label: string;
|
|
795
|
+
value: string;
|
|
796
|
+
placeholder?: string;
|
|
797
|
+
error?: string;
|
|
798
|
+
rows?: number;
|
|
799
|
+
width?: number;
|
|
800
|
+
focused?: boolean;
|
|
801
|
+
}
|
|
802
|
+
declare function TextAreaField(props: TextAreaFieldProps): any;
|
|
803
|
+
interface SelectFieldProps {
|
|
804
|
+
label: string;
|
|
805
|
+
value: string;
|
|
806
|
+
options: Array<{
|
|
807
|
+
value: string;
|
|
808
|
+
label: string;
|
|
809
|
+
}>;
|
|
810
|
+
focused?: boolean;
|
|
811
|
+
expanded?: boolean;
|
|
812
|
+
selectedOptionIndex?: number;
|
|
813
|
+
}
|
|
814
|
+
declare function SelectField(props: SelectFieldProps): any;
|
|
815
|
+
|
|
816
|
+
/**
|
|
817
|
+
* ErrorBoundary Component
|
|
818
|
+
* Catch and display errors gracefully
|
|
819
|
+
*/
|
|
820
|
+
|
|
821
|
+
interface ErrorBoundaryProps {
|
|
822
|
+
children: JSX.Element;
|
|
823
|
+
fallback?: JSX.Element | ((error: Error, reset: () => void) => JSX.Element);
|
|
824
|
+
onError?: (error: Error) => void;
|
|
825
|
+
}
|
|
826
|
+
declare function ErrorBoundary(props: ErrorBoundaryProps): any;
|
|
827
|
+
interface TryProps {
|
|
828
|
+
children: JSX.Element;
|
|
829
|
+
catch?: JSX.Element;
|
|
830
|
+
}
|
|
831
|
+
declare function Try(props: TryProps): any;
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
* Button Component
|
|
835
|
+
* Clickable button with hover/active states
|
|
836
|
+
*/
|
|
837
|
+
type ButtonVariant = 'primary' | 'secondary' | 'ghost' | 'danger';
|
|
838
|
+
type ButtonSize = 'sm' | 'md' | 'lg';
|
|
839
|
+
interface ButtonProps {
|
|
840
|
+
label: string;
|
|
841
|
+
shortcut?: string;
|
|
842
|
+
icon?: string;
|
|
843
|
+
variant?: ButtonVariant;
|
|
844
|
+
size?: ButtonSize;
|
|
845
|
+
disabled?: boolean;
|
|
846
|
+
focused?: boolean;
|
|
847
|
+
pressed?: boolean;
|
|
848
|
+
hovered?: boolean;
|
|
849
|
+
onClick?: () => void;
|
|
850
|
+
}
|
|
851
|
+
declare function Button(props: ButtonProps): any;
|
|
852
|
+
interface ButtonGroupProps {
|
|
853
|
+
buttons: Array<{
|
|
854
|
+
id: string;
|
|
855
|
+
label: string;
|
|
856
|
+
shortcut?: string;
|
|
857
|
+
icon?: string;
|
|
858
|
+
variant?: ButtonVariant;
|
|
859
|
+
disabled?: boolean;
|
|
860
|
+
onClick?: () => void;
|
|
861
|
+
}>;
|
|
862
|
+
selectedId?: string;
|
|
863
|
+
focusedId?: string;
|
|
864
|
+
direction?: 'horizontal' | 'vertical';
|
|
865
|
+
gap?: number;
|
|
866
|
+
}
|
|
867
|
+
declare function ButtonGroup(props: ButtonGroupProps): any;
|
|
868
|
+
interface IconButtonProps {
|
|
869
|
+
icon: string;
|
|
870
|
+
label?: string;
|
|
871
|
+
disabled?: boolean;
|
|
872
|
+
focused?: boolean;
|
|
873
|
+
hovered?: boolean;
|
|
874
|
+
onClick?: () => void;
|
|
875
|
+
}
|
|
876
|
+
declare function IconButton(props: IconButtonProps): any;
|
|
877
|
+
|
|
878
|
+
/**
|
|
879
|
+
* Clickable Component
|
|
880
|
+
* Wrapper to make any element clickable with hover effects
|
|
881
|
+
*/
|
|
882
|
+
|
|
883
|
+
interface ClickableProps {
|
|
884
|
+
children: JSX.Element;
|
|
885
|
+
onClick?: () => void;
|
|
886
|
+
onDoubleClick?: () => void;
|
|
887
|
+
onRightClick?: () => void;
|
|
888
|
+
disabled?: boolean;
|
|
889
|
+
hovered?: boolean;
|
|
890
|
+
pressed?: boolean;
|
|
891
|
+
focusable?: boolean;
|
|
892
|
+
focused?: boolean;
|
|
893
|
+
cursor?: string;
|
|
894
|
+
hoverEffect?: 'highlight' | 'underline' | 'pointer' | 'none';
|
|
895
|
+
}
|
|
896
|
+
declare function Clickable(props: ClickableProps): any;
|
|
897
|
+
interface ClickableTextProps {
|
|
898
|
+
children: string;
|
|
899
|
+
onClick?: () => void;
|
|
900
|
+
disabled?: boolean;
|
|
901
|
+
hovered?: boolean;
|
|
902
|
+
color?: string;
|
|
903
|
+
hoverColor?: string;
|
|
904
|
+
underlineOnHover?: boolean;
|
|
905
|
+
}
|
|
906
|
+
declare function ClickableText(props: ClickableTextProps): any;
|
|
907
|
+
interface ClickableRowProps {
|
|
908
|
+
children: JSX.Element;
|
|
909
|
+
selected?: boolean;
|
|
910
|
+
hovered?: boolean;
|
|
911
|
+
disabled?: boolean;
|
|
912
|
+
showIndicator?: boolean;
|
|
913
|
+
indicatorChar?: string;
|
|
914
|
+
onClick?: () => void;
|
|
915
|
+
}
|
|
916
|
+
declare function ClickableRow(props: ClickableRowProps): any;
|
|
917
|
+
interface InteractiveAreaProps {
|
|
918
|
+
children: JSX.Element;
|
|
919
|
+
x?: number;
|
|
920
|
+
y?: number;
|
|
921
|
+
width?: number;
|
|
922
|
+
height?: number;
|
|
923
|
+
onMouseOver?: () => void;
|
|
924
|
+
onMouseOut?: () => void;
|
|
925
|
+
onClick?: () => void;
|
|
926
|
+
onMouseDown?: () => void;
|
|
927
|
+
onMouseUp?: () => void;
|
|
928
|
+
}
|
|
929
|
+
declare function InteractiveArea(props: InteractiveAreaProps): any;
|
|
930
|
+
|
|
931
|
+
/**
|
|
932
|
+
* HoverHighlight Component
|
|
933
|
+
* Hover highlight effect for list items and buttons
|
|
934
|
+
* Note: Terminal background colors are limited, so we use text color changes for highlighting
|
|
935
|
+
*/
|
|
936
|
+
|
|
937
|
+
interface HoverHighlightProps {
|
|
938
|
+
children: JSX.Element;
|
|
939
|
+
isHovered?: boolean;
|
|
940
|
+
isSelected?: boolean;
|
|
941
|
+
isDisabled?: boolean;
|
|
942
|
+
highlightColor?: string;
|
|
943
|
+
selectedColor?: string;
|
|
944
|
+
transitionMs?: number;
|
|
945
|
+
}
|
|
946
|
+
declare function HoverHighlight(props: HoverHighlightProps): any;
|
|
947
|
+
interface HighlightableListItemProps {
|
|
948
|
+
children: JSX.Element;
|
|
949
|
+
index: number;
|
|
950
|
+
selectedIndex?: number;
|
|
951
|
+
hoveredIndex?: number | null;
|
|
952
|
+
showPrefix?: boolean;
|
|
953
|
+
prefixWidth?: number;
|
|
954
|
+
}
|
|
955
|
+
declare function HighlightableListItem(props: HighlightableListItemProps): any;
|
|
956
|
+
interface FocusRingProps {
|
|
957
|
+
children: JSX.Element;
|
|
958
|
+
isFocused?: boolean;
|
|
959
|
+
ringColor?: string;
|
|
960
|
+
}
|
|
961
|
+
declare function FocusRing(props: FocusRingProps): any;
|
|
962
|
+
interface PressEffectProps {
|
|
963
|
+
children: JSX.Element;
|
|
964
|
+
isPressed?: boolean;
|
|
965
|
+
pressColor?: string;
|
|
966
|
+
}
|
|
967
|
+
declare function PressEffect(props: PressEffectProps): any;
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* AnimatedText Component
|
|
971
|
+
* Text with fade/slide animations
|
|
972
|
+
*/
|
|
973
|
+
interface AnimatedTextProps {
|
|
974
|
+
text: string;
|
|
975
|
+
animation?: 'fadeIn' | 'typewriter' | 'scramble' | 'countUp' | 'none';
|
|
976
|
+
duration?: number;
|
|
977
|
+
delay?: number;
|
|
978
|
+
color?: string;
|
|
979
|
+
onComplete?: () => void;
|
|
980
|
+
}
|
|
981
|
+
declare function AnimatedText(props: AnimatedTextProps): any;
|
|
982
|
+
interface CountUpTextProps {
|
|
983
|
+
value: number;
|
|
984
|
+
duration?: number;
|
|
985
|
+
delay?: number;
|
|
986
|
+
prefix?: string;
|
|
987
|
+
suffix?: string;
|
|
988
|
+
color?: string;
|
|
989
|
+
formatter?: (value: number) => string;
|
|
990
|
+
}
|
|
991
|
+
declare function CountUpText(props: CountUpTextProps): any;
|
|
992
|
+
interface BlinkingTextProps {
|
|
993
|
+
text: string;
|
|
994
|
+
interval?: number;
|
|
995
|
+
color?: string;
|
|
996
|
+
blinkColor?: string;
|
|
997
|
+
}
|
|
998
|
+
declare function BlinkingText(props: BlinkingTextProps): any;
|
|
999
|
+
interface PulsingTextProps {
|
|
1000
|
+
text: string;
|
|
1001
|
+
color?: string;
|
|
1002
|
+
pulseColor?: string;
|
|
1003
|
+
interval?: number;
|
|
1004
|
+
}
|
|
1005
|
+
declare function PulsingText(props: PulsingTextProps): any;
|
|
1006
|
+
|
|
1007
|
+
/**
|
|
1008
|
+
* TabBar Component
|
|
1009
|
+
* Clickable tab navigation
|
|
1010
|
+
*/
|
|
1011
|
+
interface Tab {
|
|
1012
|
+
id: string;
|
|
1013
|
+
label: string;
|
|
1014
|
+
icon?: string;
|
|
1015
|
+
badge?: string | number;
|
|
1016
|
+
disabled?: boolean;
|
|
1017
|
+
}
|
|
1018
|
+
interface TabBarProps {
|
|
1019
|
+
tabs: Tab[];
|
|
1020
|
+
activeId: string;
|
|
1021
|
+
hoveredId?: string | null;
|
|
1022
|
+
onSelect?: (id: string) => void;
|
|
1023
|
+
variant?: 'default' | 'pills' | 'underline';
|
|
1024
|
+
size?: 'sm' | 'md' | 'lg';
|
|
1025
|
+
showShortcuts?: boolean;
|
|
1026
|
+
}
|
|
1027
|
+
declare function TabBar(props: TabBarProps): any;
|
|
1028
|
+
interface VerticalTabBarProps {
|
|
1029
|
+
tabs: Tab[];
|
|
1030
|
+
activeId: string;
|
|
1031
|
+
hoveredId?: string | null;
|
|
1032
|
+
onSelect?: (id: string) => void;
|
|
1033
|
+
width?: number;
|
|
1034
|
+
}
|
|
1035
|
+
declare function VerticalTabBar(props: VerticalTabBarProps): any;
|
|
1036
|
+
|
|
1037
|
+
/**
|
|
1038
|
+
* Breadcrumb Component
|
|
1039
|
+
* Clickable breadcrumb navigation
|
|
1040
|
+
*/
|
|
1041
|
+
interface BreadcrumbItem {
|
|
1042
|
+
id: string;
|
|
1043
|
+
label: string;
|
|
1044
|
+
icon?: string;
|
|
1045
|
+
}
|
|
1046
|
+
interface BreadcrumbProps {
|
|
1047
|
+
items: BreadcrumbItem[];
|
|
1048
|
+
separator?: string;
|
|
1049
|
+
hoveredId?: string | null;
|
|
1050
|
+
onNavigate?: (id: string) => void;
|
|
1051
|
+
}
|
|
1052
|
+
declare function Breadcrumb(props: BreadcrumbProps): any;
|
|
1053
|
+
interface PathBreadcrumbProps {
|
|
1054
|
+
path: string;
|
|
1055
|
+
separator?: string;
|
|
1056
|
+
maxSegments?: number;
|
|
1057
|
+
hoveredSegment?: number | null;
|
|
1058
|
+
onNavigate?: (path: string, segmentIndex: number) => void;
|
|
1059
|
+
}
|
|
1060
|
+
declare function PathBreadcrumb(props: PathBreadcrumbProps): any;
|
|
1061
|
+
interface NavigationTrailProps {
|
|
1062
|
+
items: Array<{
|
|
1063
|
+
screen: string;
|
|
1064
|
+
label: string;
|
|
1065
|
+
}>;
|
|
1066
|
+
currentIndex: number;
|
|
1067
|
+
hoveredIndex?: number | null;
|
|
1068
|
+
}
|
|
1069
|
+
declare function NavigationTrail(props: NavigationTrailProps): any;
|
|
600
1070
|
|
|
601
1071
|
interface HomeProps {
|
|
602
1072
|
onNavigate: (screen: Screen) => void;
|
|
603
1073
|
cols?: number;
|
|
604
1074
|
rows?: number;
|
|
605
1075
|
}
|
|
606
|
-
declare function Home(
|
|
1076
|
+
declare function Home(props: HomeProps): any;
|
|
607
1077
|
|
|
608
1078
|
interface BrowseProps {
|
|
609
1079
|
onNavigate: (screen: Screen) => void;
|
|
610
1080
|
cols?: number;
|
|
611
1081
|
rows?: number;
|
|
612
1082
|
}
|
|
613
|
-
declare function Browse(
|
|
1083
|
+
declare function Browse(props: BrowseProps): any;
|
|
614
1084
|
|
|
615
1085
|
interface InstalledProps {
|
|
616
1086
|
onNavigate: (screen: Screen) => void;
|
|
617
1087
|
cols?: number;
|
|
618
1088
|
rows?: number;
|
|
619
1089
|
}
|
|
620
|
-
declare function Installed(
|
|
1090
|
+
declare function Installed(props: InstalledProps): any;
|
|
621
1091
|
|
|
622
1092
|
interface MarketplaceProps {
|
|
623
1093
|
onNavigate: (screen: Screen) => void;
|
|
624
1094
|
cols?: number;
|
|
625
1095
|
rows?: number;
|
|
626
1096
|
}
|
|
627
|
-
declare function Marketplace(
|
|
1097
|
+
declare function Marketplace(props: MarketplaceProps): any;
|
|
628
1098
|
|
|
629
1099
|
interface RecommendProps {
|
|
630
1100
|
onNavigate: (screen: Screen) => void;
|
|
631
1101
|
cols?: number;
|
|
632
1102
|
rows?: number;
|
|
633
1103
|
}
|
|
634
|
-
declare function Recommend(
|
|
1104
|
+
declare function Recommend(props: RecommendProps): any;
|
|
635
1105
|
|
|
636
1106
|
interface TranslateProps {
|
|
637
1107
|
onNavigate: (screen: Screen) => void;
|
|
638
1108
|
cols?: number;
|
|
639
1109
|
rows?: number;
|
|
640
1110
|
}
|
|
641
|
-
declare function Translate(
|
|
1111
|
+
declare function Translate(props: TranslateProps): any;
|
|
642
1112
|
|
|
643
1113
|
interface ContextProps {
|
|
644
1114
|
onNavigate: (screen: Screen) => void;
|
|
645
1115
|
cols?: number;
|
|
646
1116
|
rows?: number;
|
|
647
1117
|
}
|
|
648
|
-
declare function Context(
|
|
1118
|
+
declare function Context(props: ContextProps): any;
|
|
649
1119
|
|
|
650
1120
|
interface SyncProps {
|
|
651
1121
|
onNavigate: (screen: Screen) => void;
|
|
652
1122
|
cols?: number;
|
|
653
1123
|
rows?: number;
|
|
654
1124
|
}
|
|
655
|
-
declare function Sync(
|
|
1125
|
+
declare function Sync(props: SyncProps): any;
|
|
656
1126
|
|
|
657
1127
|
interface MemoryProps {
|
|
658
1128
|
onNavigate: (screen: Screen) => void;
|
|
659
1129
|
cols?: number;
|
|
660
1130
|
rows?: number;
|
|
661
1131
|
}
|
|
662
|
-
declare function Memory(
|
|
1132
|
+
declare function Memory(props: MemoryProps): any;
|
|
663
1133
|
|
|
664
1134
|
interface WorkflowProps {
|
|
665
1135
|
onNavigate: (screen: Screen) => void;
|
|
666
1136
|
cols?: number;
|
|
667
1137
|
rows?: number;
|
|
668
1138
|
}
|
|
669
|
-
declare function Workflow(
|
|
1139
|
+
declare function Workflow(props: WorkflowProps): any;
|
|
670
1140
|
|
|
671
1141
|
interface ExecuteProps {
|
|
672
1142
|
onNavigate: (screen: Screen) => void;
|
|
673
1143
|
cols?: number;
|
|
674
1144
|
rows?: number;
|
|
675
1145
|
}
|
|
676
|
-
declare function Execute(
|
|
1146
|
+
declare function Execute(props: ExecuteProps): any;
|
|
677
1147
|
|
|
678
1148
|
interface HistoryProps {
|
|
679
1149
|
onNavigate: (screen: Screen) => void;
|
|
680
1150
|
cols?: number;
|
|
681
1151
|
rows?: number;
|
|
682
1152
|
}
|
|
683
|
-
declare function History(
|
|
1153
|
+
declare function History(props: HistoryProps): any;
|
|
684
1154
|
|
|
685
1155
|
interface TeamProps {
|
|
686
1156
|
onNavigate: (screen: Screen) => void;
|
|
687
1157
|
cols?: number;
|
|
688
1158
|
rows?: number;
|
|
689
1159
|
}
|
|
690
|
-
declare function Team(
|
|
1160
|
+
declare function Team(props: TeamProps): any;
|
|
691
1161
|
|
|
692
1162
|
interface PluginsProps {
|
|
693
1163
|
onNavigate: (screen: Screen) => void;
|
|
694
1164
|
cols?: number;
|
|
695
1165
|
rows?: number;
|
|
696
1166
|
}
|
|
697
|
-
declare function Plugins(
|
|
1167
|
+
declare function Plugins(props: PluginsProps): any;
|
|
698
1168
|
|
|
699
1169
|
interface MethodologyProps {
|
|
700
1170
|
onNavigate: (screen: Screen) => void;
|
|
701
1171
|
cols?: number;
|
|
702
1172
|
rows?: number;
|
|
703
1173
|
}
|
|
704
|
-
declare function Methodology(
|
|
1174
|
+
declare function Methodology(props: MethodologyProps): any;
|
|
705
1175
|
|
|
706
1176
|
interface PlanProps {
|
|
707
1177
|
onNavigate: (screen: Screen) => void;
|
|
708
1178
|
cols?: number;
|
|
709
1179
|
rows?: number;
|
|
710
1180
|
}
|
|
711
|
-
declare function Plan(
|
|
1181
|
+
declare function Plan(props: PlanProps): any;
|
|
712
1182
|
|
|
713
1183
|
interface SettingsProps {
|
|
714
1184
|
onNavigate: (screen: Screen) => void;
|
|
715
1185
|
cols?: number;
|
|
716
1186
|
rows?: number;
|
|
717
1187
|
}
|
|
718
|
-
declare function Settings(
|
|
1188
|
+
declare function Settings(props: SettingsProps): any;
|
|
719
1189
|
|
|
720
1190
|
interface HelpProps {
|
|
721
1191
|
onNavigate: (screen: Screen) => void;
|
|
722
1192
|
cols?: number;
|
|
723
1193
|
rows?: number;
|
|
724
1194
|
}
|
|
725
|
-
declare function Help(
|
|
1195
|
+
declare function Help(props: HelpProps): any;
|
|
726
1196
|
|
|
727
1197
|
interface MeshProps {
|
|
728
1198
|
onNavigate: (screen: Screen) => void;
|
|
729
1199
|
cols?: number;
|
|
730
1200
|
rows?: number;
|
|
731
1201
|
}
|
|
732
|
-
declare function Mesh(
|
|
1202
|
+
declare function Mesh(props: MeshProps): any;
|
|
733
1203
|
|
|
734
1204
|
interface MessageProps {
|
|
735
1205
|
onNavigate: (screen: Screen) => void;
|
|
736
1206
|
cols?: number;
|
|
737
1207
|
rows?: number;
|
|
738
1208
|
}
|
|
739
|
-
declare function Message(
|
|
1209
|
+
declare function Message(props: MessageProps): any;
|
|
740
1210
|
|
|
741
1211
|
declare function exitTUI(code?: number): void;
|
|
742
1212
|
declare function startTUI(): Promise<never>;
|
|
743
1213
|
|
|
744
|
-
export { AGENT_LOGOS, AgentGrid, type AgentLogo, type AgentStatus, type AgentsState, type AnimationPreset, App, Browse, type ColorName, type ColorValue, Context, DEFAULT_REPOS, DEFAULT_SCRAMBLE_CONFIG, type EasingFunction, Execute, FEATURES, type Feature, FeatureList, type FetchedSkill, Header, Help, History, Home, Installed, Marketplace, type MarketplaceState, Memory, Mesh, Message, Methodology, NAV_KEYS, type NavigationState, type PaginationResult, Plan, Plugins, ProgressBar, Recommend, type RepoInfo, SCRAMBLE_CHARS, SIDEBAR_NAV, STATUS_BAR_SHORTCUTS, type ScrambleConfig, type Screen, type ScreenMeta, SearchInput, Settings, Sidebar, type SidebarSection, type SkillItem, SkillList, type SkillsState, Spinner, Splash, StatsCard, StatusBar, type SymbolName, Sync, TOTAL_AGENTS, Team, Translate, Workflow, animations, calculateMaxVisible, calculatePagination, clampIndex, cleanupTempRoot, colors, createAgentsState, createMarketplaceState, createNavigationState, createSkillsState, exitTUI, fetchRepoSkills, filterMarketplaceSkills, filterSkills, formatAgentDisplay, getAgentAdapter, getAgentLogo, getAgentTypes, getColor, getDetectedAgentCount, getDetectedAgents, getInstallDir, getMarketplaceRepos, getScreenFromKey, getSearchDirs, getStaggerDelay, getVersion, goBack, isNavKey, loadAgents, loadSkills, moveDown, moveUp, navigateTo, readSkillDescription, removeSkill, saveSkillMetadata, scrambleText, sortSkillsByName, startTUI, symbols, terminalColors, toSkillItems };
|
|
1214
|
+
export { AGENT_LOGOS, AgentGrid, type AgentLogo, type AgentStatus, type AgentsState, AnimatedText, type AnimationPreset, App, BlinkingText, BottomStatusBar, Breadcrumb, type BreadcrumbItem, Browse, Button, ButtonGroup, type ButtonSize, type ButtonVariant, Clickable, ClickableRow, ClickableText, CodeBlock, type ColorName, type ColorValue, Context, CountUpText, DEFAULT_REPOS, DEFAULT_SCRAMBLE_CONFIG, type DetailField, DetailPane, type EasingFunction, EmptyState, ErrorBoundary, ErrorState, Execute, FEATURES, type Feature, FeatureList, type FetchedSkill, FocusRing, FormField, Header, Help, HighlightableListItem, History, Home, HoverHighlight, IconButton, InlineCode, InlineStatus, Installed, InteractiveArea, LoadingState, Marketplace, type MarketplaceState, Memory, Mesh, Message, Methodology, NAV_KEYS, type NavigationState, NavigationTrail, type PaginationResult, PathBreadcrumb, Plan, Plugins, PressEffect, ProgressBar, PulsingText, Recommend, type RepoInfo, RightSidebar, SCRAMBLE_CHARS, SIDEBAR_NAV, STATUS_BAR_SHORTCUTS, type ScrambleConfig, type Screen, type ScreenMeta, SearchInput, SelectField, SelectList, type SelectListItem, Settings, Sidebar, type SidebarSection, type SkillItem, SkillList, type SkillWithDetails, type SkillsState, Spinner, Splash, SplitPane, StatsCard, StatusBadge, StatusBar, StatusIndicator, type StatusType, type SymbolName, Sync, TOTAL_AGENTS, type Tab, TabBar, Team, TextAreaField, ThreePaneLayout, Translate, Try, VerticalTabBar, Workflow, animations, calculateMaxVisible, calculatePagination, clampIndex, cleanupTempRoot, colors, createAgentsState, createMarketplaceState, createNavigationState, createSkillsState, exitTUI, fetchRepoSkills, filterMarketplaceSkills, filterSkills, formatAgentDisplay, getAgentAdapter, getAgentLogo, getAgentTypes, getColor, getDetectedAgentCount, getDetectedAgents, getInstallDir, getMarketplaceRepos, getScreenFromKey, getSearchDirs, getStaggerDelay, getVersion, goBack, isNavKey, loadAgents, loadSkills, loadSkillsWithDetails, moveDown, moveUp, navigateTo, readSkillDescription, removeSkill, saveSkillMetadata, scrambleText, sortSkillsByName, startTUI, symbols, terminalColors, toSkillItems };
|