@wox-launcher/wox-plugin 0.0.82 → 0.0.83

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +9 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wox-launcher/wox-plugin",
3
- "version": "0.0.82",
3
+ "version": "0.0.83",
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
@@ -23,6 +23,15 @@ export interface QueryEnv {
23
23
  * Active window title when user query
24
24
  */
25
25
  ActiveWindowTitle: string
26
+
27
+ /**
28
+ * Active window pid when user query, 0 if not available
29
+ */
30
+ ActiveWindowPid: number
31
+
32
+ // active browser url when user query
33
+ // Only available when active window is browser and https://github.com/Wox-launcher/Wox.Chrome.Extension is installed
34
+ ActiveBrowserUrl: string
26
35
  }
27
36
 
28
37
  export interface Query {