@skillkit/tui 1.4.0 → 1.5.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 +27 -14
- package/dist/index.js +684 -142
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import { ScoredSkill, ProjectProfile, Learning, Observation, MemoryStatus } from '@skillkit/core';
|
|
4
4
|
|
|
5
|
-
type Screen = 'home' | 'browse' | 'installed' | 'sync' | 'settings' | 'recommend' | 'translate' | 'context' | 'workflow' | 'execute' | 'history' | 'marketplace' | 'memory';
|
|
5
|
+
type Screen = 'home' | 'browse' | 'installed' | 'sync' | 'settings' | 'recommend' | 'translate' | 'context' | 'workflow' | 'execute' | 'history' | 'marketplace' | 'memory' | 'team' | 'plugins';
|
|
6
6
|
declare function App(): react_jsx_runtime.JSX.Element;
|
|
7
7
|
|
|
8
8
|
interface SidebarProps {
|
|
@@ -61,77 +61,89 @@ interface HomeProps {
|
|
|
61
61
|
}
|
|
62
62
|
declare function Home({ cols, rows }: HomeProps): react_jsx_runtime.JSX.Element;
|
|
63
63
|
|
|
64
|
+
interface Props$d {
|
|
65
|
+
cols?: number;
|
|
66
|
+
rows?: number;
|
|
67
|
+
}
|
|
68
|
+
declare function Browse({ rows }: Props$d): react_jsx_runtime.JSX.Element;
|
|
69
|
+
|
|
70
|
+
interface Props$c {
|
|
71
|
+
cols?: number;
|
|
72
|
+
rows?: number;
|
|
73
|
+
}
|
|
74
|
+
declare function Installed({ rows }: Props$c): react_jsx_runtime.JSX.Element;
|
|
75
|
+
|
|
64
76
|
interface Props$b {
|
|
65
77
|
cols?: number;
|
|
66
78
|
rows?: number;
|
|
67
79
|
}
|
|
68
|
-
declare function
|
|
80
|
+
declare function Sync({ rows }: Props$b): react_jsx_runtime.JSX.Element;
|
|
69
81
|
|
|
70
82
|
interface Props$a {
|
|
71
83
|
cols?: number;
|
|
72
84
|
rows?: number;
|
|
73
85
|
}
|
|
74
|
-
declare function
|
|
86
|
+
declare function Settings(_props: Props$a): react_jsx_runtime.JSX.Element;
|
|
75
87
|
|
|
76
88
|
interface Props$9 {
|
|
77
89
|
cols?: number;
|
|
78
90
|
rows?: number;
|
|
79
91
|
}
|
|
80
|
-
declare function
|
|
92
|
+
declare function Recommend({ rows }: Props$9): react_jsx_runtime.JSX.Element;
|
|
81
93
|
|
|
82
94
|
interface Props$8 {
|
|
83
95
|
cols?: number;
|
|
84
96
|
rows?: number;
|
|
85
97
|
}
|
|
86
|
-
declare function
|
|
98
|
+
declare function Translate({ rows }: Props$8): react_jsx_runtime.JSX.Element;
|
|
87
99
|
|
|
88
100
|
interface Props$7 {
|
|
89
101
|
cols?: number;
|
|
90
102
|
rows?: number;
|
|
91
103
|
}
|
|
92
|
-
declare function
|
|
104
|
+
declare function Context({ rows }: Props$7): react_jsx_runtime.JSX.Element;
|
|
93
105
|
|
|
94
106
|
interface Props$6 {
|
|
95
107
|
cols?: number;
|
|
96
108
|
rows?: number;
|
|
97
109
|
}
|
|
98
|
-
declare function
|
|
110
|
+
declare function Memory({ rows }: Props$6): react_jsx_runtime.JSX.Element;
|
|
99
111
|
|
|
100
112
|
interface Props$5 {
|
|
101
113
|
cols?: number;
|
|
102
114
|
rows?: number;
|
|
103
115
|
}
|
|
104
|
-
declare function
|
|
116
|
+
declare function Workflow({ rows }: Props$5): react_jsx_runtime.JSX.Element;
|
|
105
117
|
|
|
106
118
|
interface Props$4 {
|
|
107
119
|
cols?: number;
|
|
108
120
|
rows?: number;
|
|
109
121
|
}
|
|
110
|
-
declare function
|
|
122
|
+
declare function Execute({ rows }: Props$4): react_jsx_runtime.JSX.Element;
|
|
111
123
|
|
|
112
124
|
interface Props$3 {
|
|
113
125
|
cols?: number;
|
|
114
126
|
rows?: number;
|
|
115
127
|
}
|
|
116
|
-
declare function
|
|
128
|
+
declare function History({ rows }: Props$3): react_jsx_runtime.JSX.Element;
|
|
117
129
|
|
|
118
130
|
interface Props$2 {
|
|
119
131
|
cols?: number;
|
|
120
132
|
rows?: number;
|
|
121
133
|
}
|
|
122
|
-
declare function
|
|
134
|
+
declare function Marketplace({ rows }: Props$2): react_jsx_runtime.JSX.Element;
|
|
123
135
|
|
|
124
136
|
interface Props$1 {
|
|
125
137
|
cols?: number;
|
|
126
138
|
rows?: number;
|
|
127
139
|
}
|
|
128
|
-
declare function
|
|
140
|
+
declare function Team({ rows }: Props$1): react_jsx_runtime.JSX.Element;
|
|
129
141
|
|
|
130
142
|
interface Props {
|
|
131
143
|
cols?: number;
|
|
132
144
|
rows?: number;
|
|
133
145
|
}
|
|
134
|
-
declare function
|
|
146
|
+
declare function Plugins({ rows }: Props): react_jsx_runtime.JSX.Element;
|
|
135
147
|
|
|
136
148
|
interface UseSkillsResult {
|
|
137
149
|
skills: SkillItem[];
|
|
@@ -153,6 +165,7 @@ interface UseMarketplaceResult {
|
|
|
153
165
|
totalCount: number;
|
|
154
166
|
repos: RepoInfo[];
|
|
155
167
|
currentRepo: string | null;
|
|
168
|
+
failedRepos: string[];
|
|
156
169
|
refresh: () => void;
|
|
157
170
|
search: (query: string) => void;
|
|
158
171
|
fetchRepo: (source: string) => Promise<void>;
|
|
@@ -237,4 +250,4 @@ declare const logo = "\n\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u
|
|
|
237
250
|
|
|
238
251
|
declare function startTUI(): Promise<void>;
|
|
239
252
|
|
|
240
|
-
export { App, Browse, Context, Execute, Header, History, Home, Installed, Marketplace, Memory, Recommend, type Screen, SearchInput, Settings, Sidebar, type SkillItem, SkillList, StatusBar, Sync, Translate, Workflow, colors, logo, startTUI, symbols, useKeyboard, useListNavigation, useMarketplace, useMemory, useRecommend, useSkills };
|
|
253
|
+
export { App, Browse, Context, Execute, Header, History, Home, Installed, Marketplace, Memory, Plugins, Recommend, type Screen, SearchInput, Settings, Sidebar, type SkillItem, SkillList, StatusBar, Sync, Team, Translate, Workflow, colors, logo, startTUI, symbols, useKeyboard, useListNavigation, useMarketplace, useMemory, useRecommend, useSkills };
|