@wox-launcher/wox-plugin 0.0.91 → 0.0.93
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/types/ai.d.ts +10 -1
- package/types/index.d.ts +3 -3
package/package.json
CHANGED
package/types/ai.d.ts
CHANGED
|
@@ -8,5 +8,14 @@ export namespace AI {
|
|
|
8
8
|
Timestamp: number
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
export
|
|
11
|
+
export interface ChatStreamData {
|
|
12
|
+
/** Stream status */
|
|
13
|
+
Status: ChatStreamDataType
|
|
14
|
+
/** Aggregated content data */
|
|
15
|
+
Data: string
|
|
16
|
+
/** Reasoning content from models that support reasoning (e.g., DeepSeek, OpenAI o1). Separate from Data for clean processing. */
|
|
17
|
+
Reasoning: string
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export type ChatStreamFunc = (streamData: ChatStreamData) => void
|
|
12
21
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -258,7 +258,7 @@ export interface ChangeQueryParam {
|
|
|
258
258
|
QuerySelection?: Selection
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
export interface
|
|
261
|
+
export interface RefreshQueryParam {
|
|
262
262
|
/**
|
|
263
263
|
* Controls whether to maintain the previously selected item index after refresh.
|
|
264
264
|
* When true, the user's current selection index in the results list is preserved.
|
|
@@ -493,9 +493,9 @@ export interface PublicAPI {
|
|
|
493
493
|
* ```
|
|
494
494
|
*
|
|
495
495
|
* @param ctx Context
|
|
496
|
-
* @param
|
|
496
|
+
* @param param RefreshQueryParam to control refresh behavior
|
|
497
497
|
*/
|
|
498
|
-
RefreshQuery: (ctx: Context,
|
|
498
|
+
RefreshQuery: (ctx: Context, param: RefreshQueryParam) => Promise<void>
|
|
499
499
|
}
|
|
500
500
|
|
|
501
501
|
export type WoxImageType = "absolute" | "relative" | "base64" | "svg" | "url" | "emoji" | "lottie"
|