@sciol/xyzen 0.3.9 → 0.3.11
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/README.md +154 -77
- package/dist/app/AppSide.d.ts +3 -1
- package/dist/app/auth/AuthErrorScreen.d.ts +6 -0
- package/dist/components/animate-ui/components/animate/tabs.d.ts +12 -0
- package/dist/components/animate-ui/components/buttons/button.d.ts +2 -2
- package/dist/components/animate-ui/components/buttons/flip.d.ts +10 -0
- package/dist/components/animate-ui/components/buttons/github-stars.d.ts +1 -1
- package/dist/components/animate-ui/components/radix/progress.d.ts +4 -0
- package/dist/components/animate-ui/primitives/animate/github-stars.d.ts +1 -2
- package/dist/components/animate-ui/primitives/animate/tabs.d.ts +51 -0
- package/dist/components/animate-ui/primitives/buttons/flip.d.ts +18 -0
- package/dist/components/animate-ui/primitives/effects/highlight.d.ts +1 -2
- package/dist/components/animate-ui/primitives/headless/checkbox.d.ts +1 -2
- package/dist/components/animate-ui/primitives/radix/dropdown-menu.d.ts +1 -3
- package/dist/components/animate-ui/primitives/radix/progress.d.ts +292 -0
- package/dist/components/features/NeedAuthBadge.d.ts +1 -0
- package/dist/components/features/ToggleSidePanelShortcutHint.d.ts +1 -0
- package/dist/components/layouts/XyzenAgent.d.ts +0 -26
- package/dist/components/layouts/components/SessionHistory.d.ts +2 -1
- package/dist/components/modals/EditAgentModal.d.ts +1 -1
- package/dist/components/ui/button.d.ts +2 -2
- package/dist/configs/common.d.ts +4 -0
- package/dist/configs/index.d.ts +2 -0
- package/dist/constants/defaultMcps.d.ts +32 -0
- package/dist/core/auth.d.ts +19 -0
- package/dist/hooks/useAuth.d.ts +5 -9
- package/dist/hooks/useWorkShopChat.d.ts +1 -1
- package/dist/hooks/useXyzenChat.d.ts +1 -1
- package/dist/marketplace/components/SmitheryServerDetail.d.ts +7 -0
- package/dist/marketplace/hooks/useSmitheryMcp.d.ts +29 -0
- package/dist/marketplace/index.d.ts +3 -0
- package/dist/marketplace/services/smitheryService.d.ts +6 -0
- package/dist/marketplace/types/smithery.d.ts +64 -0
- package/dist/service/authService.d.ts +8 -24
- package/dist/service/http/client.d.ts +1 -0
- package/dist/service/mcpService.d.ts +1 -0
- package/dist/store/slices/agentSlice.d.ts +18 -1
- package/dist/store/slices/{authSlice.d.ts → authSlice/index.d.ts} +4 -4
- package/dist/store/slices/chatSlice.d.ts +15 -0
- package/dist/store/slices/index.d.ts +1 -1
- package/dist/store/slices/mcpSlice.d.ts +1 -0
- package/dist/store/slices/{uiSlice.d.ts → uiSlice/index.d.ts} +2 -1
- package/dist/store/slices/uiSlice/types.d.ts +6 -0
- package/dist/store/types.d.ts +0 -1
- package/dist/types/agents.d.ts +60 -0
- package/dist/types/mcp.d.ts +17 -2
- package/dist/utils/__tests__/auth.test.d.ts +1 -0
- package/dist/utils/auth.d.ts +17 -0
- package/dist/xyzen.css +1 -1
- package/dist/xyzen.es.js +47638 -46529
- package/dist/xyzen.umd.js +153 -139
- package/package.json +5 -3
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
import { Progress as ProgressPrimitive } from 'radix-ui';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
type ProgressContextType = {
|
|
4
|
+
value: number;
|
|
5
|
+
};
|
|
6
|
+
declare const useProgress: () => ProgressContextType;
|
|
7
|
+
type ProgressProps = React.ComponentProps<typeof ProgressPrimitive.Root>;
|
|
8
|
+
declare function Progress(props: ProgressProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare const MotionProgressIndicator: React.ComponentType<Omit<{
|
|
10
|
+
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
11
|
+
slot?: string | undefined;
|
|
12
|
+
title?: string | undefined;
|
|
13
|
+
key?: React.Key | null | undefined;
|
|
14
|
+
defaultChecked?: boolean | undefined;
|
|
15
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
16
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
17
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
18
|
+
accessKey?: string | undefined;
|
|
19
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | (string & {}) | undefined;
|
|
20
|
+
autoFocus?: boolean | undefined;
|
|
21
|
+
className?: string | undefined;
|
|
22
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
23
|
+
contextMenu?: string | undefined;
|
|
24
|
+
dir?: string | undefined;
|
|
25
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
26
|
+
enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
|
|
27
|
+
hidden?: boolean | undefined;
|
|
28
|
+
id?: string | undefined;
|
|
29
|
+
lang?: string | undefined;
|
|
30
|
+
nonce?: string | undefined;
|
|
31
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
32
|
+
tabIndex?: number | undefined;
|
|
33
|
+
translate?: "yes" | "no" | undefined;
|
|
34
|
+
radioGroup?: string | undefined;
|
|
35
|
+
role?: React.AriaRole | undefined;
|
|
36
|
+
about?: string | undefined;
|
|
37
|
+
content?: string | undefined;
|
|
38
|
+
datatype?: string | undefined;
|
|
39
|
+
inlist?: any;
|
|
40
|
+
prefix?: string | undefined;
|
|
41
|
+
property?: string | undefined;
|
|
42
|
+
rel?: string | undefined;
|
|
43
|
+
resource?: string | undefined;
|
|
44
|
+
rev?: string | undefined;
|
|
45
|
+
typeof?: string | undefined;
|
|
46
|
+
vocab?: string | undefined;
|
|
47
|
+
autoCorrect?: string | undefined;
|
|
48
|
+
autoSave?: string | undefined;
|
|
49
|
+
color?: string | undefined;
|
|
50
|
+
itemProp?: string | undefined;
|
|
51
|
+
itemScope?: boolean | undefined;
|
|
52
|
+
itemType?: string | undefined;
|
|
53
|
+
itemID?: string | undefined;
|
|
54
|
+
itemRef?: string | undefined;
|
|
55
|
+
results?: number | undefined;
|
|
56
|
+
security?: string | undefined;
|
|
57
|
+
unselectable?: "off" | "on" | undefined;
|
|
58
|
+
popover?: "" | "auto" | "manual" | undefined;
|
|
59
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
60
|
+
popoverTarget?: string | undefined;
|
|
61
|
+
inert?: boolean | undefined;
|
|
62
|
+
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
63
|
+
is?: string | undefined;
|
|
64
|
+
exportparts?: string | undefined;
|
|
65
|
+
part?: string | undefined;
|
|
66
|
+
"aria-activedescendant"?: string | undefined;
|
|
67
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
68
|
+
"aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
|
|
69
|
+
"aria-braillelabel"?: string | undefined;
|
|
70
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
71
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
72
|
+
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
73
|
+
"aria-colcount"?: number | undefined;
|
|
74
|
+
"aria-colindex"?: number | undefined;
|
|
75
|
+
"aria-colindextext"?: string | undefined;
|
|
76
|
+
"aria-colspan"?: number | undefined;
|
|
77
|
+
"aria-controls"?: string | undefined;
|
|
78
|
+
"aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
79
|
+
"aria-describedby"?: string | undefined;
|
|
80
|
+
"aria-description"?: string | undefined;
|
|
81
|
+
"aria-details"?: string | undefined;
|
|
82
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
83
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
84
|
+
"aria-errormessage"?: string | undefined;
|
|
85
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
86
|
+
"aria-flowto"?: string | undefined;
|
|
87
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
88
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
89
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
90
|
+
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
91
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
92
|
+
"aria-label"?: string | undefined;
|
|
93
|
+
"aria-labelledby"?: string | undefined;
|
|
94
|
+
"aria-level"?: number | undefined;
|
|
95
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
96
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
97
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
98
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
99
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
100
|
+
"aria-owns"?: string | undefined;
|
|
101
|
+
"aria-placeholder"?: string | undefined;
|
|
102
|
+
"aria-posinset"?: number | undefined;
|
|
103
|
+
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
104
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
105
|
+
"aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
106
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
107
|
+
"aria-roledescription"?: string | undefined;
|
|
108
|
+
"aria-rowcount"?: number | undefined;
|
|
109
|
+
"aria-rowindex"?: number | undefined;
|
|
110
|
+
"aria-rowindextext"?: string | undefined;
|
|
111
|
+
"aria-rowspan"?: number | undefined;
|
|
112
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
113
|
+
"aria-setsize"?: number | undefined;
|
|
114
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
115
|
+
"aria-valuemax"?: number | undefined;
|
|
116
|
+
"aria-valuemin"?: number | undefined;
|
|
117
|
+
"aria-valuenow"?: number | undefined;
|
|
118
|
+
"aria-valuetext"?: string | undefined;
|
|
119
|
+
dangerouslySetInnerHTML?: {
|
|
120
|
+
__html: string | TrustedHTML;
|
|
121
|
+
} | undefined;
|
|
122
|
+
onCopy?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
123
|
+
onCopyCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
124
|
+
onCut?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
125
|
+
onCutCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
126
|
+
onPaste?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
127
|
+
onPasteCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
128
|
+
onCompositionEnd?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
129
|
+
onCompositionEndCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
130
|
+
onCompositionStart?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
131
|
+
onCompositionStartCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
132
|
+
onCompositionUpdate?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
133
|
+
onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
134
|
+
onFocus?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
135
|
+
onFocusCapture?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
136
|
+
onBlur?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
137
|
+
onBlurCapture?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
138
|
+
onChange?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
139
|
+
onChangeCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
140
|
+
onBeforeInput?: React.InputEventHandler<HTMLDivElement> | undefined;
|
|
141
|
+
onBeforeInputCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
142
|
+
onInput?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
143
|
+
onInputCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
144
|
+
onReset?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
145
|
+
onResetCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
146
|
+
onSubmit?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
147
|
+
onSubmitCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
148
|
+
onInvalid?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
149
|
+
onInvalidCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
150
|
+
onLoad?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
151
|
+
onLoadCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
152
|
+
onError?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
153
|
+
onErrorCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
154
|
+
onKeyDown?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
155
|
+
onKeyDownCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
156
|
+
onKeyPress?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
157
|
+
onKeyPressCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
158
|
+
onKeyUp?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
159
|
+
onKeyUpCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
160
|
+
onAbort?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
161
|
+
onAbortCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
162
|
+
onCanPlay?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
163
|
+
onCanPlayCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
164
|
+
onCanPlayThrough?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
165
|
+
onCanPlayThroughCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
166
|
+
onDurationChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
167
|
+
onDurationChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
168
|
+
onEmptied?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
169
|
+
onEmptiedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
170
|
+
onEncrypted?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
171
|
+
onEncryptedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
172
|
+
onEnded?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
173
|
+
onEndedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
174
|
+
onLoadedData?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
175
|
+
onLoadedDataCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
176
|
+
onLoadedMetadata?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
177
|
+
onLoadedMetadataCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
178
|
+
onLoadStart?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
179
|
+
onLoadStartCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
180
|
+
onPause?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
181
|
+
onPauseCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
182
|
+
onPlay?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
183
|
+
onPlayCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
184
|
+
onPlaying?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
185
|
+
onPlayingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
186
|
+
onProgress?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
187
|
+
onProgressCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
188
|
+
onRateChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
189
|
+
onRateChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
190
|
+
onSeeked?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
191
|
+
onSeekedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
192
|
+
onSeeking?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
193
|
+
onSeekingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
194
|
+
onStalled?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
195
|
+
onStalledCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
196
|
+
onSuspend?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
197
|
+
onSuspendCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
198
|
+
onTimeUpdate?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
199
|
+
onTimeUpdateCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
200
|
+
onVolumeChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
201
|
+
onVolumeChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
202
|
+
onWaiting?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
203
|
+
onWaitingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
204
|
+
onAuxClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
205
|
+
onAuxClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
206
|
+
onClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
207
|
+
onClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
208
|
+
onContextMenu?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
209
|
+
onContextMenuCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
210
|
+
onDoubleClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
211
|
+
onDoubleClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
212
|
+
onDragCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
213
|
+
onDragEndCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
214
|
+
onDragEnter?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
215
|
+
onDragEnterCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
216
|
+
onDragExit?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
217
|
+
onDragExitCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
218
|
+
onDragLeave?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
219
|
+
onDragLeaveCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
220
|
+
onDragOver?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
221
|
+
onDragOverCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
222
|
+
onDragStartCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
223
|
+
onDrop?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
224
|
+
onDropCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
225
|
+
onMouseDown?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
226
|
+
onMouseDownCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
227
|
+
onMouseEnter?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
228
|
+
onMouseLeave?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
229
|
+
onMouseMove?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
230
|
+
onMouseMoveCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
231
|
+
onMouseOut?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
232
|
+
onMouseOutCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
233
|
+
onMouseOver?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
234
|
+
onMouseOverCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
235
|
+
onMouseUp?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
236
|
+
onMouseUpCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
237
|
+
onSelect?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
238
|
+
onSelectCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
239
|
+
onTouchCancel?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
240
|
+
onTouchCancelCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
241
|
+
onTouchEnd?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
242
|
+
onTouchEndCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
243
|
+
onTouchMove?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
244
|
+
onTouchMoveCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
245
|
+
onTouchStart?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
246
|
+
onTouchStartCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
247
|
+
onPointerDown?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
248
|
+
onPointerDownCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
249
|
+
onPointerMove?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
250
|
+
onPointerMoveCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
251
|
+
onPointerUp?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
252
|
+
onPointerUpCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
253
|
+
onPointerCancel?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
254
|
+
onPointerCancelCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
255
|
+
onPointerEnter?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
256
|
+
onPointerLeave?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
257
|
+
onPointerOver?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
258
|
+
onPointerOverCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
259
|
+
onPointerOut?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
260
|
+
onPointerOutCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
261
|
+
onGotPointerCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
262
|
+
onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
263
|
+
onLostPointerCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
264
|
+
onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
265
|
+
onScroll?: React.UIEventHandler<HTMLDivElement> | undefined;
|
|
266
|
+
onScrollCapture?: React.UIEventHandler<HTMLDivElement> | undefined;
|
|
267
|
+
onScrollEnd?: React.UIEventHandler<HTMLDivElement> | undefined;
|
|
268
|
+
onScrollEndCapture?: React.UIEventHandler<HTMLDivElement> | undefined;
|
|
269
|
+
onWheel?: React.WheelEventHandler<HTMLDivElement> | undefined;
|
|
270
|
+
onWheelCapture?: React.WheelEventHandler<HTMLDivElement> | undefined;
|
|
271
|
+
onAnimationStartCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
272
|
+
onAnimationEnd?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
273
|
+
onAnimationEndCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
274
|
+
onAnimationIteration?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
275
|
+
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
276
|
+
onToggle?: React.ToggleEventHandler<HTMLDivElement> | undefined;
|
|
277
|
+
onBeforeToggle?: React.ToggleEventHandler<HTMLDivElement> | undefined;
|
|
278
|
+
onTransitionCancel?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
279
|
+
onTransitionCancelCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
280
|
+
onTransitionEnd?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
281
|
+
onTransitionEndCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
282
|
+
onTransitionRun?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
283
|
+
onTransitionRunCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
284
|
+
onTransitionStart?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
285
|
+
onTransitionStartCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
286
|
+
asChild?: boolean | undefined;
|
|
287
|
+
} & import('motion/react').MotionProps, "children"> & {
|
|
288
|
+
children?: React.ReactNode | import('motion/react').MotionValue<number> | import('motion/react').MotionValue<string>;
|
|
289
|
+
}>;
|
|
290
|
+
type ProgressIndicatorProps = React.ComponentProps<typeof MotionProgressIndicator>;
|
|
291
|
+
declare function ProgressIndicator({ transition, ...props }: ProgressIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
292
|
+
export { Progress, ProgressIndicator, useProgress, type ProgressContextType, type ProgressIndicatorProps, type ProgressProps, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function NeedAuthBadge(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function ToggleSidePanelShortcutHint(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,29 +1,3 @@
|
|
|
1
|
-
export type Agent = {
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
description: string;
|
|
5
|
-
prompt?: string;
|
|
6
|
-
mcp_servers?: {
|
|
7
|
-
id: string;
|
|
8
|
-
}[];
|
|
9
|
-
mcp_server_ids?: string[];
|
|
10
|
-
user_id: string;
|
|
11
|
-
require_tool_confirmation?: boolean;
|
|
12
|
-
provider_id?: string | null;
|
|
13
|
-
agent_type: "regular" | "graph" | "builtin" | "system";
|
|
14
|
-
avatar?: string | null;
|
|
15
|
-
tags?: string[] | null;
|
|
16
|
-
model?: string | null;
|
|
17
|
-
temperature?: number | null;
|
|
18
|
-
is_active?: boolean;
|
|
19
|
-
created_at: string;
|
|
20
|
-
updated_at: string;
|
|
21
|
-
state_schema?: Record<string, unknown>;
|
|
22
|
-
node_count?: number;
|
|
23
|
-
edge_count?: number;
|
|
24
|
-
is_published?: boolean;
|
|
25
|
-
is_official?: boolean;
|
|
26
|
-
};
|
|
27
1
|
interface XyzenAgentProps {
|
|
28
2
|
systemAgentType?: "chat" | "workshop" | "all";
|
|
29
3
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
interface SessionHistoryProps {
|
|
2
|
+
context?: "chat" | "workshop";
|
|
2
3
|
isOpen: boolean;
|
|
3
4
|
onClose: () => void;
|
|
4
5
|
onSelectTopic?: (topicId: string) => void;
|
|
5
6
|
}
|
|
6
|
-
export default function SessionHistory({ isOpen, onClose, onSelectTopic, }: SessionHistoryProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default function SessionHistory({ context, isOpen, onClose, onSelectTopic, }: SessionHistoryProps): import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
|
-
variant?: "link" | "
|
|
5
|
-
size?: "default" | "
|
|
4
|
+
variant?: "link" | "outline" | "default" | "destructive" | "secondary" | "ghost" | null | undefined;
|
|
5
|
+
size?: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
8
8
|
asChild?: boolean;
|
package/dist/configs/index.d.ts
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Default MCP server mappings for system agents
|
|
3
|
+
* Maps system agent IDs to their default MCP server names
|
|
4
|
+
*/
|
|
5
|
+
export declare const SYSTEM_AGENT_IDS: {
|
|
6
|
+
readonly CHAT: "00000000-0000-0000-0000-000000000001";
|
|
7
|
+
readonly WORKSHOP: "00000000-0000-0000-0000-000000000002";
|
|
8
|
+
};
|
|
9
|
+
export declare const SYSTEM_AGENT_DEFAULT_MCPS: {
|
|
10
|
+
readonly "00000000-0000-0000-0000-000000000001": readonly ["DynamicMCPServer"];
|
|
11
|
+
readonly "00000000-0000-0000-0000-000000000002": readonly ["graph-tools"];
|
|
12
|
+
};
|
|
13
|
+
export declare const MCP_SERVER_PATTERNS: {
|
|
14
|
+
readonly DYNAMIC_MCP: readonly ["DynamicMCPServer", "dynamic_mcp_server", "/mcp/dynamic_mcp_server"];
|
|
15
|
+
readonly GRAPH_TOOLS: readonly ["graph-tools", "graph_tools", "GraphTools"];
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Get default MCP server names for a system agent
|
|
19
|
+
*/
|
|
20
|
+
export declare function getDefaultMcpsForSystemAgent(agentId: string): string[];
|
|
21
|
+
/**
|
|
22
|
+
* Check if an agent is a system agent that should have default MCPs
|
|
23
|
+
*/
|
|
24
|
+
export declare function isSystemAgentWithDefaultMcps(agentId: string): boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Find MCP server IDs from user's MCP servers list by matching name patterns
|
|
27
|
+
*/
|
|
28
|
+
export declare function findMcpServerIdsByNames(mcpServers: Array<{
|
|
29
|
+
id: string;
|
|
30
|
+
name: string;
|
|
31
|
+
url?: string;
|
|
32
|
+
}>, targetNames: string[]): string[];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 检查并同步认证状态到Zustand Store
|
|
3
|
+
* 这是所有认证逻辑的核心入口
|
|
4
|
+
* @param force - 是否强制重新从服务器验证,忽略缓存
|
|
5
|
+
*/
|
|
6
|
+
export declare const checkAuthState: (_force?: boolean) => Promise<void>;
|
|
7
|
+
/**
|
|
8
|
+
* 处理用户登录
|
|
9
|
+
* @param token - 从认证流程中获取的token
|
|
10
|
+
*/
|
|
11
|
+
export declare const login: (token: string) => Promise<void>;
|
|
12
|
+
/**
|
|
13
|
+
* 处理用户登出
|
|
14
|
+
*/
|
|
15
|
+
export declare const logout: () => void;
|
|
16
|
+
/**
|
|
17
|
+
* 应用启动时执行的自动登录检查
|
|
18
|
+
*/
|
|
19
|
+
export declare const autoLogin: () => Promise<void>;
|
package/dist/hooks/useAuth.d.ts
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
message: string;
|
|
6
|
-
provider: string | undefined;
|
|
1
|
+
export declare function useAuth(): {
|
|
2
|
+
user: import('../store/types').User | null;
|
|
3
|
+
token: string | null;
|
|
4
|
+
status: "failed" | "idle" | "loading" | "succeeded";
|
|
7
5
|
isLoading: boolean;
|
|
8
6
|
isAuthenticated: boolean;
|
|
9
|
-
isConfigured: boolean;
|
|
10
7
|
login: (token: string) => Promise<void>;
|
|
11
8
|
logout: () => void;
|
|
12
9
|
checkAuth: (force?: boolean) => Promise<void>;
|
|
13
|
-
}
|
|
14
|
-
export declare function useAuth(): UseAuthReturn;
|
|
10
|
+
};
|
|
@@ -39,7 +39,7 @@ export declare function useWorkShopChat(config: WorkShopChatConfig): {
|
|
|
39
39
|
inputHeight: number;
|
|
40
40
|
sendBlocked: boolean;
|
|
41
41
|
currentChannel: import('../store/types').ChatChannel | null;
|
|
42
|
-
currentAgent: import('../
|
|
42
|
+
currentAgent: import('../types/agents').Agent | null | undefined;
|
|
43
43
|
messages: Message[];
|
|
44
44
|
connected: boolean;
|
|
45
45
|
error: string | null;
|
|
@@ -39,7 +39,7 @@ export declare function useXyzenChat(config: XyzenChatConfig): {
|
|
|
39
39
|
inputHeight: number;
|
|
40
40
|
sendBlocked: boolean;
|
|
41
41
|
currentChannel: import('../store/types').ChatChannel | null;
|
|
42
|
-
currentAgent: import('../
|
|
42
|
+
currentAgent: import('../types/agents').Agent | null | undefined;
|
|
43
43
|
messages: Message[];
|
|
44
44
|
connected: boolean;
|
|
45
45
|
error: string | null;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { SmitheryServerDetail, SmitheryServersListResponse } from '../types/smithery';
|
|
2
|
+
export declare const useSmitheryServers: (page?: number, pageSize?: number, q?: string, profile?: string) => {
|
|
3
|
+
servers: import('..').SmitheryServerItem[];
|
|
4
|
+
pagination: import('..').SmitheryPagination | undefined;
|
|
5
|
+
loading: boolean;
|
|
6
|
+
error: string | null;
|
|
7
|
+
isError: boolean;
|
|
8
|
+
refetch: (options?: import('@tanstack/query-core').RefetchOptions) => Promise<import('@tanstack/query-core').QueryObserverResult<SmitheryServersListResponse, Error>>;
|
|
9
|
+
};
|
|
10
|
+
export declare const useSmitheryInfiniteServers: (pageSize?: number, q?: string, profile?: string) => {
|
|
11
|
+
servers: import('..').SmitheryServerItem[];
|
|
12
|
+
totalCount: number;
|
|
13
|
+
totalPages: number;
|
|
14
|
+
pageCount: number;
|
|
15
|
+
loading: boolean;
|
|
16
|
+
isFetchingNextPage: boolean;
|
|
17
|
+
hasNextPage: boolean;
|
|
18
|
+
fetchNextPage: (options?: import('@tanstack/query-core').FetchNextPageOptions) => Promise<import('@tanstack/query-core').InfiniteQueryObserverResult<import('@tanstack/query-core').InfiniteData<SmitheryServersListResponse, unknown>, Error>>;
|
|
19
|
+
refetch: (options?: import('@tanstack/query-core').RefetchOptions) => Promise<import('@tanstack/query-core').QueryObserverResult<import('@tanstack/query-core').InfiniteData<SmitheryServersListResponse, unknown>, Error>>;
|
|
20
|
+
error: string | null;
|
|
21
|
+
isError: boolean;
|
|
22
|
+
};
|
|
23
|
+
export declare const useSmitheryServerDetail: (id?: string) => {
|
|
24
|
+
detail: SmitheryServerDetail | null;
|
|
25
|
+
loading: boolean;
|
|
26
|
+
error: string | null;
|
|
27
|
+
isError: boolean;
|
|
28
|
+
refetch: (options?: import('@tanstack/query-core').RefetchOptions) => Promise<import('@tanstack/query-core').QueryObserverResult<SmitheryServerDetail, Error>>;
|
|
29
|
+
};
|
|
@@ -3,8 +3,11 @@
|
|
|
3
3
|
* 统一导出 marketplace 模块的所有功能
|
|
4
4
|
*/
|
|
5
5
|
export * from './types/bohrium';
|
|
6
|
+
export * from './types/smithery';
|
|
6
7
|
export { bohriumService } from './services/bohriumService';
|
|
8
|
+
export { smitheryService } from './services/smitheryService';
|
|
7
9
|
export { useBohriumAppDetail, useBohriumAppList, useBohriumAuth, useMcpActivation, } from './hooks/useBohriumMcp';
|
|
10
|
+
export { useSmitheryInfiniteServers, useSmitheryServers, } from './hooks/useSmitheryMcp';
|
|
8
11
|
export { default as McpActivationProgress } from './components/McpActivationProgress';
|
|
9
12
|
export { default as McpServerCard } from './components/McpServerCard';
|
|
10
13
|
export { default as McpServerDetail } from './components/McpServerDetail';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SmitheryServersListResponse, SmitheryServersQuery } from '../types/smithery';
|
|
2
|
+
export declare class SmitheryService {
|
|
3
|
+
listServers(params?: SmitheryServersQuery): Promise<SmitheryServersListResponse>;
|
|
4
|
+
getServer(id: string): Promise<import('..').SmitheryServerDetail>;
|
|
5
|
+
}
|
|
6
|
+
export declare const smitheryService: SmitheryService;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Smithery Marketplace Types
|
|
3
|
+
* Maps the Smithery Registry OpenAPI shapes used by our UI
|
|
4
|
+
*/
|
|
5
|
+
export interface SmitheryServerItem {
|
|
6
|
+
qualifiedName: string;
|
|
7
|
+
displayName: string | null;
|
|
8
|
+
description: string | null;
|
|
9
|
+
iconUrl: string | null;
|
|
10
|
+
verified: boolean;
|
|
11
|
+
useCount: number;
|
|
12
|
+
remote: boolean;
|
|
13
|
+
createdAt: string;
|
|
14
|
+
homepage: string;
|
|
15
|
+
}
|
|
16
|
+
export interface SmitheryPagination {
|
|
17
|
+
currentPage: number;
|
|
18
|
+
pageSize: number;
|
|
19
|
+
totalPages: number;
|
|
20
|
+
totalCount: number;
|
|
21
|
+
}
|
|
22
|
+
export interface SmitheryServersListResponse {
|
|
23
|
+
servers: SmitheryServerItem[];
|
|
24
|
+
pagination: SmitheryPagination;
|
|
25
|
+
}
|
|
26
|
+
export interface SmitheryServersQuery {
|
|
27
|
+
q?: string;
|
|
28
|
+
profile?: string;
|
|
29
|
+
page?: number;
|
|
30
|
+
pageSize?: number;
|
|
31
|
+
}
|
|
32
|
+
export interface SmitheryToolAnnotations {
|
|
33
|
+
readOnlyHint?: boolean;
|
|
34
|
+
idempotentHint?: boolean;
|
|
35
|
+
destructiveHint?: boolean;
|
|
36
|
+
[key: string]: unknown;
|
|
37
|
+
}
|
|
38
|
+
export interface SmitheryTool {
|
|
39
|
+
name: string;
|
|
40
|
+
description: string | null;
|
|
41
|
+
inputSchema: Record<string, unknown>;
|
|
42
|
+
annotations?: SmitheryToolAnnotations;
|
|
43
|
+
}
|
|
44
|
+
export interface SmitheryConnection {
|
|
45
|
+
type: string;
|
|
46
|
+
deploymentUrl?: string;
|
|
47
|
+
url?: string;
|
|
48
|
+
configSchema?: Record<string, unknown>;
|
|
49
|
+
}
|
|
50
|
+
export interface SmitherySecurityInfo {
|
|
51
|
+
scanPassed: boolean;
|
|
52
|
+
[key: string]: unknown;
|
|
53
|
+
}
|
|
54
|
+
export interface SmitheryServerDetail {
|
|
55
|
+
qualifiedName: string;
|
|
56
|
+
displayName: string;
|
|
57
|
+
description: string;
|
|
58
|
+
iconUrl: string | null;
|
|
59
|
+
remote: boolean;
|
|
60
|
+
deploymentUrl: string | null;
|
|
61
|
+
connections: SmitheryConnection[];
|
|
62
|
+
security: SmitherySecurityInfo | null;
|
|
63
|
+
tools: SmitheryTool[] | null;
|
|
64
|
+
}
|
|
@@ -3,6 +3,13 @@ export interface AuthStatus {
|
|
|
3
3
|
provider?: string;
|
|
4
4
|
message: string;
|
|
5
5
|
}
|
|
6
|
+
export interface AuthProviderConfig {
|
|
7
|
+
provider: string;
|
|
8
|
+
issuer?: string;
|
|
9
|
+
audience?: string;
|
|
10
|
+
jwks_uri?: string;
|
|
11
|
+
algorithm?: string;
|
|
12
|
+
}
|
|
6
13
|
export interface UserInfo {
|
|
7
14
|
id: string;
|
|
8
15
|
username: string;
|
|
@@ -17,37 +24,14 @@ export interface AuthValidationResponse {
|
|
|
17
24
|
error_message?: string;
|
|
18
25
|
error_code?: string;
|
|
19
26
|
}
|
|
20
|
-
export declare enum AuthState {
|
|
21
|
-
NOT_CONFIGURED = "not_configured",
|
|
22
|
-
NOT_AUTHENTICATED = "not_authenticated",
|
|
23
|
-
AUTHENTICATED = "authenticated",
|
|
24
|
-
ERROR = "error"
|
|
25
|
-
}
|
|
26
|
-
export interface AuthResult {
|
|
27
|
-
state: AuthState;
|
|
28
|
-
user?: UserInfo;
|
|
29
|
-
message: string;
|
|
30
|
-
provider?: string;
|
|
31
|
-
}
|
|
32
27
|
declare class AuthService {
|
|
33
28
|
private static readonly TOKEN_KEY;
|
|
34
|
-
private static readonly COOKIE_TOKEN_KEY;
|
|
35
|
-
private authCheckPromise;
|
|
36
|
-
private listeners;
|
|
37
29
|
getToken(): string | null;
|
|
38
|
-
private getCookie;
|
|
39
30
|
setToken(token: string): void;
|
|
40
31
|
removeToken(): void;
|
|
41
|
-
addAuthStateListener(listener: (result: AuthResult) => void): void;
|
|
42
|
-
removeAuthStateListener(listener: (result: AuthResult) => void): void;
|
|
43
|
-
private notifyListeners;
|
|
44
32
|
getAuthStatus(): Promise<AuthStatus>;
|
|
45
33
|
validateToken(token?: string): Promise<AuthValidationResponse>;
|
|
46
|
-
|
|
47
|
-
checkAuthState(force?: boolean): Promise<AuthResult>;
|
|
48
|
-
private _performAuthCheck;
|
|
49
|
-
autoLogin(): Promise<AuthResult>;
|
|
50
|
-
login(token: string): Promise<AuthResult>;
|
|
34
|
+
getAuthConfig(): Promise<AuthProviderConfig>;
|
|
51
35
|
logout(): void;
|
|
52
36
|
}
|
|
53
37
|
export declare const authService: AuthService;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|