@wox-launcher/wox-plugin 0.0.93 → 0.0.96

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wox-launcher/wox-plugin",
3
- "version": "0.0.93",
3
+ "version": "0.0.96",
4
4
  "description": "All nodejs plugin for Wox should use types in this package",
5
5
  "repository": {
6
6
  "type": "git",
package/types/ai.d.ts CHANGED
@@ -1,21 +1,21 @@
1
- export namespace AI {
2
- export type ConversationRole = "user" | "system"
3
- export type ChatStreamDataType = "streaming" | "finished" | "error"
4
-
5
- export interface Conversation {
6
- Role: ConversationRole
7
- Text: string
8
- Timestamp: number
9
- }
10
-
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
21
- }
1
+ export namespace AI {
2
+ export type ConversationRole = "user" | "system"
3
+ export type ChatStreamDataType = "streaming" | "finished" | "error"
4
+
5
+ export interface Conversation {
6
+ Role: ConversationRole
7
+ Text: string
8
+ Timestamp: number
9
+ }
10
+
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
21
+ }