@wox-launcher/wox-plugin 0.0.73 → 0.0.75

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/context.js CHANGED
@@ -1,6 +1,8 @@
1
1
  export function NewContext() {
2
2
  return {
3
- Values: {},
3
+ Values: {
4
+ traceId: crypto.randomUUID()
5
+ },
4
6
  Get: function (key) {
5
7
  return this.Values[key];
6
8
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wox-launcher/wox-plugin",
3
- "version": "0.0.73",
3
+ "version": "0.0.75",
4
4
  "description": "All nodejs plugin for Wox should use types in this package",
5
5
  "repository": {
6
6
  "type": "git",
package/types/index.d.ts CHANGED
@@ -216,7 +216,7 @@ export interface PublicAPI {
216
216
  LLMStream: (ctx: Context, conversations: AI.Conversation[], callback: AI.ChatStreamFunc) => Promise<void>
217
217
  }
218
218
 
219
- export type WoxImageType = "absolute" | "relative" | "base64" | "svg" | "url" | "emoji"
219
+ export type WoxImageType = "absolute" | "relative" | "base64" | "svg" | "url" | "emoji" | "lottie"
220
220
 
221
221
  export interface WoxImage {
222
222
  ImageType: WoxImageType