xyne-plugin 1.1.0 → 1.2.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/package.json +1 -1
- package/src/hooks.ts +5 -1
package/package.json
CHANGED
package/src/hooks.ts
CHANGED
|
@@ -204,8 +204,12 @@ export type AuthMethod =
|
|
|
204
204
|
| {
|
|
205
205
|
type: "custom"
|
|
206
206
|
label: string
|
|
207
|
+
/** Message shown in the TUI while authorize() runs (default: "Connecting..."). */
|
|
208
|
+
pendingMessage?: string
|
|
209
|
+
/** Hint shown below the pending message. */
|
|
210
|
+
pendingHint?: string
|
|
207
211
|
prompts?: AuthPrompt[]
|
|
208
|
-
/** Plugin handles the entire auth flow. UI shows
|
|
212
|
+
/** Plugin handles the entire auth flow. UI shows pendingMessage while this runs. */
|
|
209
213
|
authorize(inputs?: Record<string, string>): Promise<
|
|
210
214
|
| { type: "success"; data: Record<string, unknown> }
|
|
211
215
|
| { type: "failed" }
|