@omniviewdev/runtime 0.9.2 → 0.10.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/dist/api.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./servicewrapper-COMjQHnY.cjs"),s=require("./index-BVi9X4oU.cjs"),r=require("./calls-Bg_uMVc9.cjs"),f=require("./models-KV9f8Ceh.cjs");function I(t){return r.ByID(3503478684,t)}const b=Object.freeze(Object.defineProperty({__proto__:null,DetectLanguage:I},Symbol.toStringTag,{value:"Module"}));function w(t,e){return r.ByID(2691208406,t,e)}function B(t,e){return r.ByID(3932965591,t,e)}function F(t,e){return r.ByID(1686862755,t,e)}function T(t,e,n){return r.ByID(3705442919,t,e,n)}function O(t){return r.ByID(3024854267,t)}function _(t){return r.ByID(3423289677,t)}function j(t){return r.ByID(158417611,t)}function A(t){return r.ByID(3413815733,t)}function C(t,e){return r.ByID(2047870999,t,e)}const E=Object.freeze(Object.defineProperty({__proto__:null,Debug:w,Error:B,Info:F,Log:T,ReadLog:O,ReportStartupReady:_,StartTail:j,StopTail:A,Warn:C},Symbol.toStringTag,{value:"Module"}));function L(t,e){return r.ByID(712656304,t,e).then(n=>z(n))}function M(t){return r.ByID(4153226260,t).then(e=>c(e))}function N(t){return r.ByID(1859413816,t)}function k(){return r.ByID(2707386443).then(t=>U(t))}function P(t){return r.ByID(2381063937,t)}function R(t){return r.ByID(123659362,t).then(e=>c(e))}function G(t){return r.ByID(709599671,t).then(e=>c(e))}function J(t,e){return r.ByID(2105869281,t,e).then(n=>c(n))}function x(t){return r.ByID(1371062537,t)}const q=f.LogEntry.createFrom,z=s.Array(q),c=f.DevServerState.createFrom,U=s.Array(c),V=Object.freeze(Object.defineProperty({__proto__:null,GetDevServerLogs:L,GetDevServerState:M,IsManaged:N,ListDevServerStates:k,RebuildPlugin:P,RestartDevServer:R,StartDevServer:G,StartDevServerForPath:J,StopDevServer:x},Symbol.toStringTag,{value:"Module"}));function W(t,e){return r.ByID(1867216983,t,e).then(n=>g(n))}function Z(){return r.ByID(3418650705).then(t=>Y(t))}function H(t,e){return r.ByID(4138610615,t,e).then(n=>g(n))}function K(t){return r.ByID(3055914536,t)}function Q(t){return r.ByID(1502487629,t)}const X=f.LogEntry$1.createFrom,g=s.Array(X),Y=s.Array(s.Any),$=Object.freeze(Object.defineProperty({__proto__:null,GetLogs:W,ListStreams:Z,SearchLogs:H,Subscribe:K,Unsubscribe:Q},Symbol.toStringTag,{value:"Module"}));class l{browser;vite;hmr;mcp;control;health;constructor(e={}){"browser"in e||(this.browser=null),"vite"in e||(this.vite=null),"hmr"in e||(this.hmr=null),"mcp"in e||(this.mcp=null),"control"in e||(this.control=null),"health"in e||(this.health=null),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new l(n)}}class u{code;message;details;constructor(e={}){"code"in e||(this.code=""),"message"in e||(this.message=""),Object.assign(this,e)}static createFrom(e={}){const n=ee;let a=typeof e=="string"?JSON.parse(e):e;return"details"in a&&(a.details=n(a.details)),new u(a)}}class y{schemaVersion;workspaceID;instanceID;generation;kind;channel;displayName;stateRoot;process;version;commit;repositories;endpoints;plugins;readiness;lastError;startedAt;constructor(e={}){"schemaVersion"in e||(this.schemaVersion=0),"workspaceID"in e||(this.workspaceID=""),"instanceID"in e||(this.instanceID=""),"generation"in e||(this.generation=""),"kind"in e||(this.kind=""),"channel"in e||(this.channel=""),"displayName"in e||(this.displayName=""),"stateRoot"in e||(this.stateRoot=""),"process"in e||(this.process=new p),"version"in e||(this.version=""),"commit"in e||(this.commit=""),"repositories"in e||(this.repositories=[]),"endpoints"in e||(this.endpoints=new l),"plugins"in e||(this.plugins=[]),"readiness"in e||(this.readiness=""),"startedAt"in e||(this.startedAt="0001-01-01T00:00:00.000Z"),Object.assign(this,e)}static createFrom(e={}){const n=te,a=ne,D=ie,m=ae,v=S;let i=typeof e=="string"?JSON.parse(e):e;return"process"in i&&(i.process=n(i.process)),"repositories"in i&&(i.repositories=a(i.repositories)),"endpoints"in i&&(i.endpoints=D(i.endpoints)),"plugins"in i&&(i.plugins=m(i.plugins)),"lastError"in i&&(i.lastError=v(i.lastError)),new y(i)}}class h{id;version;source;generation;mode;buildStatus;viteStatus;rpcStatus;controllerStatus;operationID;lastError;constructor(e={}){"id"in e||(this.id=""),"version"in e||(this.version=""),"source"in e||(this.source=""),"generation"in e||(this.generation=""),"mode"in e||(this.mode=""),"buildStatus"in e||(this.buildStatus=""),"viteStatus"in e||(this.viteStatus=""),"rpcStatus"in e||(this.rpcStatus=""),"controllerStatus"in e||(this.controllerStatus=""),Object.assign(this,e)}static createFrom(e={}){const n=S;let a=typeof e=="string"?JSON.parse(e):e;return"lastError"in a&&(a.lastError=n(a.lastError)),new h(a)}}class p{pid;startIdentity;executable;workspaceID;generation;role;source;constructor(e={}){"pid"in e||(this.pid=0),"startIdentity"in e||(this.startIdentity=""),"executable"in e||(this.executable=""),"workspaceID"in e||(this.workspaceID=""),"generation"in e||(this.generation=""),"role"in e||(this.role=""),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new p(n)}}class d{id;path;ref;commit;constructor(e={}){"id"in e||(this.id=""),"path"in e||(this.path=""),"ref"in e||(this.ref=""),"commit"in e||(this.commit=""),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new d(n)}}const ee=s.Map(s.Any,s.Any),te=p.createFrom,re=d.createFrom,ne=s.Array(re),ie=l.createFrom,se=h.createFrom,ae=s.Array(se),oe=u.createFrom,S=s.Nullable(oe);function ce(){return r.ByID(678226073).then(t=>ye(t))}function le(){return r.ByID(1706570792)}function pe(t){return r.ByID(2957909098,t).then(e=>he(e))}function fe(t){return r.ByID(473489213,t)}function ue(t,e){return r.ByID(3778694836,t,e)}const ye=y.createFrom,he=s.Array(s.Any);exports.DataClient=o.servicewrapper;exports.ExecClient=o.servicewrapper$1;exports.GraphClient=o.graphservice;exports.LogsClient=o.servicewrapper$2;exports.MetricClient=o.servicewrapper$3;exports.NetworkerClient=o.servicewrapper$4;exports.PluginManager=o.servicewrapper$5;exports.ResourceClient=o.servicewrapper$6;exports.SettingsClient=o.servicewrapper$7;exports.SettingsProvider=o.servicewrapper$8;exports.UIClient=o.servicewrapper$9;exports.DevServerManager=V;exports.DiagnosticsClient=E;exports.GetInstanceInfo=ce;exports.GetOperatingSystem=le;exports.OpenFileSelectionDialog=pe;exports.PluginLogManager=$;exports.SaveFileDialog=fe;exports.UtilsClient=b;exports.WriteFileContent=ue;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./servicewrapper-COMjQHnY.cjs"),i=require("./index-BVi9X4oU.cjs"),n=require("./calls-Bg_uMVc9.cjs"),c=require("./models-BxypsesT.cjs");function B(t){return n.ByID(3503478684,t)}const b=Object.freeze(Object.defineProperty({__proto__:null,DetectLanguage:B},Symbol.toStringTag,{value:"Module"}));function w(t,e){return n.ByID(2691208406,t,e)}function T(t,e){return n.ByID(3932965591,t,e)}function F(t,e){return n.ByID(1686862755,t,e)}function O(t,e,r){return n.ByID(3705442919,t,e,r)}function _(t){return n.ByID(3024854267,t)}function A(t){return n.ByID(3423289677,t)}function j(t){return n.ByID(158417611,t)}function C(t){return n.ByID(3413815733,t)}function M(t,e){return n.ByID(2047870999,t,e)}const E=Object.freeze(Object.defineProperty({__proto__:null,Debug:w,Error:T,Info:F,Log:O,ReadLog:_,ReportStartupReady:A,StartTail:j,StopTail:C,Warn:M},Symbol.toStringTag,{value:"Module"}));function L(t){return n.ByID(584261046,t)}function P(t){return n.ByID(3098255555,t)}function R(t){return n.ByID(903698361,t)}function N(t,e,r){return n.ByID(1235170530,t,e,r).then(a=>H(a))}function k(t){return n.ByID(3199298309,t)}function G(t){return n.ByID(2822783534,t).then(e=>g(e))}function J(){return n.ByID(914742443).then(t=>Q(t))}function x(){return n.ByID(3392737293).then(t=>X(t))}function z(t,e,r){return n.ByID(1474486628,t,e,r)}function q(t,e,r){return n.ByID(2366942716,t,e,r)}function V(t){return n.ByID(4008581935,t)}function W(t,e,r){return n.ByID(958877691,t,e,r)}function U(t,e,r){return n.ByID(1772958861,t,e,r)}function Z(t,e,r){return n.ByID(728919203,t,e,r)}const H=c.DropResult.createFrom,g=i.Map(i.Any,i.Any),K=c.Info.createFrom,Q=i.Array(K),X=i.Map(i.Any,g),Y=Object.freeze(Object.defineProperty({__proto__:null,BeginDrag:L,CancelDrag:P,Close:R,EndDrag:N,Focus:k,GetState:G,List:J,ListStates:x,MoveDrag:z,MoveToPointer:q,Open:V,ReportViewport:W,RespondDrop:U,SaveState:Z},Symbol.toStringTag,{value:"Module"}));function $(t,e){return n.ByID(712656304,t,e).then(r=>le(r))}function ee(t){return n.ByID(4153226260,t).then(e=>l(e))}function te(t){return n.ByID(1859413816,t)}function ne(){return n.ByID(2707386443).then(t=>pe(t))}function re(t){return n.ByID(2381063937,t)}function ie(t){return n.ByID(123659362,t).then(e=>l(e))}function se(t){return n.ByID(709599671,t).then(e=>l(e))}function ae(t,e){return n.ByID(2105869281,t,e).then(r=>l(r))}function oe(t){return n.ByID(1371062537,t)}const ce=c.LogEntry.createFrom,le=i.Array(ce),l=c.DevServerState.createFrom,pe=i.Array(l),ue=Object.freeze(Object.defineProperty({__proto__:null,GetDevServerLogs:$,GetDevServerState:ee,IsManaged:te,ListDevServerStates:ne,RebuildPlugin:re,RestartDevServer:ie,StartDevServer:se,StartDevServerForPath:ae,StopDevServer:oe},Symbol.toStringTag,{value:"Module"}));function fe(t,e){return n.ByID(1867216983,t,e).then(r=>D(r))}function ye(){return n.ByID(3418650705).then(t=>Se(t))}function he(t,e){return n.ByID(4138610615,t,e).then(r=>D(r))}function de(t){return n.ByID(3055914536,t)}function ge(t){return n.ByID(1502487629,t)}const De=c.LogEntry$1.createFrom,D=i.Array(De),Se=i.Array(i.Any),Ie=Object.freeze(Object.defineProperty({__proto__:null,GetLogs:fe,ListStreams:ye,SearchLogs:he,Subscribe:de,Unsubscribe:ge},Symbol.toStringTag,{value:"Module"}));class p{browser;vite;hmr;mcp;control;health;constructor(e={}){"browser"in e||(this.browser=null),"vite"in e||(this.vite=null),"hmr"in e||(this.hmr=null),"mcp"in e||(this.mcp=null),"control"in e||(this.control=null),"health"in e||(this.health=null),Object.assign(this,e)}static createFrom(e={}){let r=typeof e=="string"?JSON.parse(e):e;return new p(r)}}class f{code;message;details;constructor(e={}){"code"in e||(this.code=""),"message"in e||(this.message=""),Object.assign(this,e)}static createFrom(e={}){const r=me;let a=typeof e=="string"?JSON.parse(e):e;return"details"in a&&(a.details=r(a.details)),new f(a)}}class y{schemaVersion;workspaceID;instanceID;generation;kind;channel;displayName;stateRoot;process;version;commit;repositories;endpoints;plugins;readiness;lastError;startedAt;constructor(e={}){"schemaVersion"in e||(this.schemaVersion=0),"workspaceID"in e||(this.workspaceID=""),"instanceID"in e||(this.instanceID=""),"generation"in e||(this.generation=""),"kind"in e||(this.kind=""),"channel"in e||(this.channel=""),"displayName"in e||(this.displayName=""),"stateRoot"in e||(this.stateRoot=""),"process"in e||(this.process=new u),"version"in e||(this.version=""),"commit"in e||(this.commit=""),"repositories"in e||(this.repositories=[]),"endpoints"in e||(this.endpoints=new p),"plugins"in e||(this.plugins=[]),"readiness"in e||(this.readiness=""),"startedAt"in e||(this.startedAt="0001-01-01T00:00:00.000Z"),Object.assign(this,e)}static createFrom(e={}){const r=ve,a=be,I=we,m=Fe,v=S;let s=typeof e=="string"?JSON.parse(e):e;return"process"in s&&(s.process=r(s.process)),"repositories"in s&&(s.repositories=a(s.repositories)),"endpoints"in s&&(s.endpoints=I(s.endpoints)),"plugins"in s&&(s.plugins=m(s.plugins)),"lastError"in s&&(s.lastError=v(s.lastError)),new y(s)}}class h{id;version;source;generation;mode;buildStatus;viteStatus;rpcStatus;controllerStatus;operationID;lastError;constructor(e={}){"id"in e||(this.id=""),"version"in e||(this.version=""),"source"in e||(this.source=""),"generation"in e||(this.generation=""),"mode"in e||(this.mode=""),"buildStatus"in e||(this.buildStatus=""),"viteStatus"in e||(this.viteStatus=""),"rpcStatus"in e||(this.rpcStatus=""),"controllerStatus"in e||(this.controllerStatus=""),Object.assign(this,e)}static createFrom(e={}){const r=S;let a=typeof e=="string"?JSON.parse(e):e;return"lastError"in a&&(a.lastError=r(a.lastError)),new h(a)}}class u{pid;startIdentity;executable;workspaceID;generation;role;source;constructor(e={}){"pid"in e||(this.pid=0),"startIdentity"in e||(this.startIdentity=""),"executable"in e||(this.executable=""),"workspaceID"in e||(this.workspaceID=""),"generation"in e||(this.generation=""),"role"in e||(this.role=""),Object.assign(this,e)}static createFrom(e={}){let r=typeof e=="string"?JSON.parse(e):e;return new u(r)}}class d{id;path;ref;commit;constructor(e={}){"id"in e||(this.id=""),"path"in e||(this.path=""),"ref"in e||(this.ref=""),"commit"in e||(this.commit=""),Object.assign(this,e)}static createFrom(e={}){let r=typeof e=="string"?JSON.parse(e):e;return new d(r)}}const me=i.Map(i.Any,i.Any),ve=u.createFrom,Be=d.createFrom,be=i.Array(Be),we=p.createFrom,Te=h.createFrom,Fe=i.Array(Te),Oe=f.createFrom,S=i.Nullable(Oe);function _e(){return n.ByID(678226073).then(t=>Ee(t))}function Ae(){return n.ByID(1706570792)}function je(t){return n.ByID(2957909098,t).then(e=>Le(e))}function Ce(t){return n.ByID(473489213,t)}function Me(t,e){return n.ByID(3778694836,t,e)}const Ee=y.createFrom,Le=i.Array(i.Any);exports.DataClient=o.servicewrapper;exports.ExecClient=o.servicewrapper$1;exports.GraphClient=o.graphservice;exports.LogsClient=o.servicewrapper$2;exports.MetricClient=o.servicewrapper$3;exports.NetworkerClient=o.servicewrapper$4;exports.PluginManager=o.servicewrapper$5;exports.ResourceClient=o.servicewrapper$6;exports.SettingsClient=o.servicewrapper$7;exports.SettingsProvider=o.servicewrapper$8;exports.UIClient=o.servicewrapper$9;exports.DevServerManager=ue;exports.DiagnosticsClient=E;exports.GetInstanceInfo=_e;exports.GetOperatingSystem=Ae;exports.OpenFileSelectionDialog=je;exports.PluginLogManager=Ie;exports.SaveFileDialog=Ce;exports.UtilsClient=b;exports.WindowClient=Y;exports.WriteFileContent=Me;
package/dist/api.d.ts CHANGED
@@ -11,6 +11,7 @@ export * as DiagnosticsClient from './bindings/github.com/omniviewdev/omniview/b
11
11
  export * as LogsClient from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/logs/servicewrapper';
12
12
  export * as MetricClient from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/servicewrapper';
13
13
  export * as DataClient from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/data/servicewrapper';
14
+ export * as WindowClient from './bindings/github.com/omniviewdev/omniview/backend/window/service';
14
15
  export * as DevServerManager from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/servicewrapper';
15
16
  export * as PluginLogManager from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/servicewrapper';
16
17
  export * from './bindings/github.com/omniviewdev/omniview/appservice';
package/dist/api.js CHANGED
@@ -1,114 +1,173 @@
1
- import { s as Ot, a as wt, g as It, b as _t, c as jt, d as Et, e as Lt, f as Ct, h as Nt, i as Mt, j as kt } from "./servicewrapper-C6SURWw1.js";
2
- import { A as a, a as c, N as b, M as D } from "./index-zyAgCXOO.js";
1
+ import { s as Zt, a as qt, g as Ht, b as Kt, c as Qt, d as Xt, e as Yt, f as $t, h as te, i as ee, j as ne } from "./servicewrapper-C6SURWw1.js";
2
+ import { M as f, A as a, a as o, N as T } from "./index-zyAgCXOO.js";
3
3
  import { B as n } from "./calls-BvZkVSse.js";
4
- import { D as F, L as T, a as O } from "./models-DU8pTcoZ.js";
5
- function w(e) {
4
+ import { D as F, I as O, a as w, L as I, b as _ } from "./models-C6jzDokQ.js";
5
+ function j(e) {
6
6
  return n(3503478684, e);
7
7
  }
8
- const ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8
+ const Rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9
9
  __proto__: null,
10
- DetectLanguage: w
10
+ DetectLanguage: j
11
11
  }, Symbol.toStringTag, { value: "Module" }));
12
- function I(e, t) {
12
+ function C(e, t) {
13
13
  return n(2691208406, e, t);
14
14
  }
15
- function _(e, t) {
15
+ function L(e, t) {
16
16
  return n(3932965591, e, t);
17
17
  }
18
- function j(e, t) {
18
+ function E(e, t) {
19
19
  return n(1686862755, e, t);
20
20
  }
21
- function E(e, t, i) {
22
- return n(3705442919, e, t, i);
21
+ function M(e, t, r) {
22
+ return n(3705442919, e, t, r);
23
23
  }
24
- function L(e) {
24
+ function N(e) {
25
25
  return n(3024854267, e);
26
26
  }
27
- function C(e) {
27
+ function R(e) {
28
28
  return n(3423289677, e);
29
29
  }
30
- function N(e) {
30
+ function P(e) {
31
31
  return n(158417611, e);
32
32
  }
33
- function M(e) {
33
+ function k(e) {
34
34
  return n(3413815733, e);
35
35
  }
36
- function k(e, t) {
36
+ function G(e, t) {
37
37
  return n(2047870999, e, t);
38
38
  }
39
- const dt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
39
+ const Pt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
40
40
  __proto__: null,
41
- Debug: I,
42
- Error: _,
43
- Info: j,
44
- Log: E,
45
- ReadLog: L,
46
- ReportStartupReady: C,
47
- StartTail: N,
48
- StopTail: M,
49
- Warn: k
41
+ Debug: C,
42
+ Error: L,
43
+ Info: E,
44
+ Log: M,
45
+ ReadLog: N,
46
+ ReportStartupReady: R,
47
+ StartTail: P,
48
+ StopTail: k,
49
+ Warn: G
50
50
  }, Symbol.toStringTag, { value: "Module" }));
51
- function P(e, t) {
52
- return n(712656304, e, t).then((i) => W(i));
51
+ function x(e) {
52
+ return n(584261046, e);
53
53
  }
54
- function R(e) {
55
- return n(4153226260, e).then((t) => o(t));
54
+ function A(e) {
55
+ return n(3098255555, e);
56
56
  }
57
- function x(e) {
57
+ function J(e) {
58
+ return n(903698361, e);
59
+ }
60
+ function z(e, t, r) {
61
+ return n(1235170530, e, t, r).then((s) => Y(s));
62
+ }
63
+ function V(e) {
64
+ return n(3199298309, e);
65
+ }
66
+ function B(e) {
67
+ return n(2822783534, e).then((t) => S(t));
68
+ }
69
+ function U() {
70
+ return n(914742443).then((e) => tt(e));
71
+ }
72
+ function W() {
73
+ return n(3392737293).then((e) => et(e));
74
+ }
75
+ function Z(e, t, r) {
76
+ return n(1474486628, e, t, r);
77
+ }
78
+ function q(e, t, r) {
79
+ return n(2366942716, e, t, r);
80
+ }
81
+ function H(e) {
82
+ return n(4008581935, e);
83
+ }
84
+ function K(e, t, r) {
85
+ return n(958877691, e, t, r);
86
+ }
87
+ function Q(e, t, r) {
88
+ return n(1772958861, e, t, r);
89
+ }
90
+ function X(e, t, r) {
91
+ return n(728919203, e, t, r);
92
+ }
93
+ const Y = F.createFrom, S = f(o, o), $ = O.createFrom, tt = a($), et = f(o, S), kt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
94
+ __proto__: null,
95
+ BeginDrag: x,
96
+ CancelDrag: A,
97
+ Close: J,
98
+ EndDrag: z,
99
+ Focus: V,
100
+ GetState: B,
101
+ List: U,
102
+ ListStates: W,
103
+ MoveDrag: Z,
104
+ MoveToPointer: q,
105
+ Open: H,
106
+ ReportViewport: K,
107
+ RespondDrop: Q,
108
+ SaveState: X
109
+ }, Symbol.toStringTag, { value: "Module" }));
110
+ function nt(e, t) {
111
+ return n(712656304, e, t).then((r) => pt(r));
112
+ }
113
+ function rt(e) {
114
+ return n(4153226260, e).then((t) => c(t));
115
+ }
116
+ function it(e) {
58
117
  return n(1859413816, e);
59
118
  }
60
- function A() {
61
- return n(2707386443).then((e) => Z(e));
119
+ function st() {
120
+ return n(2707386443).then((e) => ht(e));
62
121
  }
63
- function G(e) {
122
+ function at(e) {
64
123
  return n(2381063937, e);
65
124
  }
66
- function J(e) {
67
- return n(123659362, e).then((t) => o(t));
125
+ function ot(e) {
126
+ return n(123659362, e).then((t) => c(t));
68
127
  }
69
- function z(e) {
70
- return n(709599671, e).then((t) => o(t));
128
+ function ct(e) {
129
+ return n(709599671, e).then((t) => c(t));
71
130
  }
72
- function U(e, t) {
73
- return n(2105869281, e, t).then((i) => o(i));
131
+ function lt(e, t) {
132
+ return n(2105869281, e, t).then((r) => c(r));
74
133
  }
75
- function V(e) {
134
+ function ut(e) {
76
135
  return n(1371062537, e);
77
136
  }
78
- const B = T.createFrom, W = a(B), o = F.createFrom, Z = a(o), gt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
137
+ const ft = I.createFrom, pt = a(ft), c = w.createFrom, ht = a(c), Gt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
79
138
  __proto__: null,
80
- GetDevServerLogs: P,
81
- GetDevServerState: R,
82
- IsManaged: x,
83
- ListDevServerStates: A,
84
- RebuildPlugin: G,
85
- RestartDevServer: J,
86
- StartDevServer: z,
87
- StartDevServerForPath: U,
88
- StopDevServer: V
139
+ GetDevServerLogs: nt,
140
+ GetDevServerState: rt,
141
+ IsManaged: it,
142
+ ListDevServerStates: st,
143
+ RebuildPlugin: at,
144
+ RestartDevServer: ot,
145
+ StartDevServer: ct,
146
+ StartDevServerForPath: lt,
147
+ StopDevServer: ut
89
148
  }, Symbol.toStringTag, { value: "Module" }));
90
- function q(e, t) {
91
- return n(1867216983, e, t).then((i) => g(i));
149
+ function dt(e, t) {
150
+ return n(1867216983, e, t).then((r) => m(r));
92
151
  }
93
- function H() {
94
- return n(3418650705).then((e) => $(e));
152
+ function gt() {
153
+ return n(3418650705).then((e) => bt(e));
95
154
  }
96
- function K(e, t) {
97
- return n(4138610615, e, t).then((i) => g(i));
155
+ function St(e, t) {
156
+ return n(4138610615, e, t).then((r) => m(r));
98
157
  }
99
- function Q(e) {
158
+ function mt(e) {
100
159
  return n(3055914536, e);
101
160
  }
102
- function X(e) {
161
+ function yt(e) {
103
162
  return n(1502487629, e);
104
163
  }
105
- const Y = O.createFrom, g = a(Y), $ = a(c), mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
164
+ const vt = _.createFrom, m = a(vt), bt = a(o), xt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
106
165
  __proto__: null,
107
- GetLogs: q,
108
- ListStreams: H,
109
- SearchLogs: K,
110
- Subscribe: Q,
111
- Unsubscribe: X
166
+ GetLogs: dt,
167
+ ListStreams: gt,
168
+ SearchLogs: St,
169
+ Subscribe: mt,
170
+ Unsubscribe: yt
112
171
  }, Symbol.toStringTag, { value: "Module" }));
113
172
  class l {
114
173
  browser;
@@ -125,11 +184,11 @@ class l {
125
184
  * Creates a new Endpoints instance from a string or object.
126
185
  */
127
186
  static createFrom(t = {}) {
128
- let i = typeof t == "string" ? JSON.parse(t) : t;
129
- return new l(i);
187
+ let r = typeof t == "string" ? JSON.parse(t) : t;
188
+ return new l(r);
130
189
  }
131
190
  }
132
- class f {
191
+ class p {
133
192
  code;
134
193
  message;
135
194
  details;
@@ -141,12 +200,12 @@ class f {
141
200
  * Creates a new Error instance from a string or object.
142
201
  */
143
202
  static createFrom(t = {}) {
144
- const i = tt;
203
+ const r = Dt;
145
204
  let s = typeof t == "string" ? JSON.parse(t) : t;
146
- return "details" in s && (s.details = i(s.details)), new f(s);
205
+ return "details" in s && (s.details = r(s.details)), new p(s);
147
206
  }
148
207
  }
149
- class u {
208
+ class h {
150
209
  schemaVersion;
151
210
  workspaceID;
152
211
  instanceID;
@@ -166,18 +225,18 @@ class u {
166
225
  startedAt;
167
226
  /** Creates a new InstanceDescriptor instance. */
168
227
  constructor(t = {}) {
169
- "schemaVersion" in t || (this.schemaVersion = 0), "workspaceID" in t || (this.workspaceID = ""), "instanceID" in t || (this.instanceID = ""), "generation" in t || (this.generation = ""), "kind" in t || (this.kind = ""), "channel" in t || (this.channel = ""), "displayName" in t || (this.displayName = ""), "stateRoot" in t || (this.stateRoot = ""), "process" in t || (this.process = new p()), "version" in t || (this.version = ""), "commit" in t || (this.commit = ""), "repositories" in t || (this.repositories = []), "endpoints" in t || (this.endpoints = new l()), "plugins" in t || (this.plugins = []), "readiness" in t || (this.readiness = ""), "startedAt" in t || (this.startedAt = "0001-01-01T00:00:00.000Z"), Object.assign(this, t);
228
+ "schemaVersion" in t || (this.schemaVersion = 0), "workspaceID" in t || (this.workspaceID = ""), "instanceID" in t || (this.instanceID = ""), "generation" in t || (this.generation = ""), "kind" in t || (this.kind = ""), "channel" in t || (this.channel = ""), "displayName" in t || (this.displayName = ""), "stateRoot" in t || (this.stateRoot = ""), "process" in t || (this.process = new u()), "version" in t || (this.version = ""), "commit" in t || (this.commit = ""), "repositories" in t || (this.repositories = []), "endpoints" in t || (this.endpoints = new l()), "plugins" in t || (this.plugins = []), "readiness" in t || (this.readiness = ""), "startedAt" in t || (this.startedAt = "0001-01-01T00:00:00.000Z"), Object.assign(this, t);
170
229
  }
171
230
  /**
172
231
  * Creates a new InstanceDescriptor instance from a string or object.
173
232
  */
174
233
  static createFrom(t = {}) {
175
- const i = et, s = it, S = rt, y = at, v = m;
176
- let r = typeof t == "string" ? JSON.parse(t) : t;
177
- return "process" in r && (r.process = i(r.process)), "repositories" in r && (r.repositories = s(r.repositories)), "endpoints" in r && (r.endpoints = S(r.endpoints)), "plugins" in r && (r.plugins = y(r.plugins)), "lastError" in r && (r.lastError = v(r.lastError)), new u(r);
234
+ const r = Tt, s = Ot, v = wt, b = _t, D = y;
235
+ let i = typeof t == "string" ? JSON.parse(t) : t;
236
+ return "process" in i && (i.process = r(i.process)), "repositories" in i && (i.repositories = s(i.repositories)), "endpoints" in i && (i.endpoints = v(i.endpoints)), "plugins" in i && (i.plugins = b(i.plugins)), "lastError" in i && (i.lastError = D(i.lastError)), new h(i);
178
237
  }
179
238
  }
180
- class h {
239
+ class d {
181
240
  id;
182
241
  version;
183
242
  source;
@@ -197,12 +256,12 @@ class h {
197
256
  * Creates a new PluginState instance from a string or object.
198
257
  */
199
258
  static createFrom(t = {}) {
200
- const i = m;
259
+ const r = y;
201
260
  let s = typeof t == "string" ? JSON.parse(t) : t;
202
- return "lastError" in s && (s.lastError = i(s.lastError)), new h(s);
261
+ return "lastError" in s && (s.lastError = r(s.lastError)), new d(s);
203
262
  }
204
263
  }
205
- class p {
264
+ class u {
206
265
  pid;
207
266
  startIdentity;
208
267
  executable;
@@ -218,11 +277,11 @@ class p {
218
277
  * Creates a new ProcessIdentity instance from a string or object.
219
278
  */
220
279
  static createFrom(t = {}) {
221
- let i = typeof t == "string" ? JSON.parse(t) : t;
222
- return new p(i);
280
+ let r = typeof t == "string" ? JSON.parse(t) : t;
281
+ return new u(r);
223
282
  }
224
283
  }
225
- class d {
284
+ class g {
226
285
  id;
227
286
  path;
228
287
  ref;
@@ -235,46 +294,47 @@ class d {
235
294
  * Creates a new RepositoryResolution instance from a string or object.
236
295
  */
237
296
  static createFrom(t = {}) {
238
- let i = typeof t == "string" ? JSON.parse(t) : t;
239
- return new d(i);
297
+ let r = typeof t == "string" ? JSON.parse(t) : t;
298
+ return new g(r);
240
299
  }
241
300
  }
242
- const tt = D(c, c), et = p.createFrom, nt = d.createFrom, it = a(nt), rt = l.createFrom, st = h.createFrom, at = a(st), ot = f.createFrom, m = b(ot);
243
- function St() {
244
- return n(678226073).then((e) => ct(e));
301
+ const Dt = f(o, o), Tt = u.createFrom, Ft = g.createFrom, Ot = a(Ft), wt = l.createFrom, It = d.createFrom, _t = a(It), jt = p.createFrom, y = T(jt);
302
+ function At() {
303
+ return n(678226073).then((e) => Ct(e));
245
304
  }
246
- function yt() {
305
+ function Jt() {
247
306
  return n(1706570792);
248
307
  }
249
- function vt(e) {
250
- return n(2957909098, e).then((t) => lt(t));
308
+ function zt(e) {
309
+ return n(2957909098, e).then((t) => Lt(t));
251
310
  }
252
- function bt(e) {
311
+ function Vt(e) {
253
312
  return n(473489213, e);
254
313
  }
255
- function Dt(e, t) {
314
+ function Bt(e, t) {
256
315
  return n(3778694836, e, t);
257
316
  }
258
- const ct = u.createFrom, lt = a(c);
317
+ const Ct = h.createFrom, Lt = a(o);
259
318
  export {
260
- Ot as DataClient,
261
- gt as DevServerManager,
262
- dt as DiagnosticsClient,
263
- wt as ExecClient,
264
- St as GetInstanceInfo,
265
- yt as GetOperatingSystem,
266
- It as GraphClient,
267
- _t as LogsClient,
268
- jt as MetricClient,
269
- Et as NetworkerClient,
270
- vt as OpenFileSelectionDialog,
271
- mt as PluginLogManager,
272
- Lt as PluginManager,
273
- Ct as ResourceClient,
274
- bt as SaveFileDialog,
275
- Nt as SettingsClient,
276
- Mt as SettingsProvider,
277
- kt as UIClient,
278
- ht as UtilsClient,
279
- Dt as WriteFileContent
319
+ Zt as DataClient,
320
+ Gt as DevServerManager,
321
+ Pt as DiagnosticsClient,
322
+ qt as ExecClient,
323
+ At as GetInstanceInfo,
324
+ Jt as GetOperatingSystem,
325
+ Ht as GraphClient,
326
+ Kt as LogsClient,
327
+ Qt as MetricClient,
328
+ Xt as NetworkerClient,
329
+ zt as OpenFileSelectionDialog,
330
+ xt as PluginLogManager,
331
+ Yt as PluginManager,
332
+ $t as ResourceClient,
333
+ Vt as SaveFileDialog,
334
+ te as SettingsClient,
335
+ ee as SettingsProvider,
336
+ ne as UIClient,
337
+ Rt as UtilsClient,
338
+ kt as WindowClient,
339
+ Bt as WriteFileContent
280
340
  };
@@ -138,3 +138,31 @@ export declare const SettingsChanged = "settings/changed";
138
138
  * Name of the custom event "watch/STATE".
139
139
  */
140
140
  export declare const WatchSTATE = "watch/STATE";
141
+ /**
142
+ * Name of the custom event "windows/changed".
143
+ */
144
+ export declare const WindowsChanged = "windows/changed";
145
+ /**
146
+ * Name of the custom event "windows/closed".
147
+ */
148
+ export declare const WindowsClosed = "windows/closed";
149
+ /**
150
+ * Name of the custom event "windows/drag/begin".
151
+ */
152
+ export declare const WindowsDragBegin = "windows/drag/begin";
153
+ /**
154
+ * Name of the custom event "windows/drag/drop".
155
+ */
156
+ export declare const WindowsDragDrop = "windows/drag/drop";
157
+ /**
158
+ * Name of the custom event "windows/drag/end".
159
+ */
160
+ export declare const WindowsDragEnd = "windows/drag/end";
161
+ /**
162
+ * Name of the custom event "windows/drag/hover".
163
+ */
164
+ export declare const WindowsDragHover = "windows/drag/hover";
165
+ /**
166
+ * Name of the custom event "windows/drag/leave".
167
+ */
168
+ export declare const WindowsDragLeave = "windows/drag/leave";
@@ -0,0 +1,3 @@
1
+ import * as Service from "./service.js";
2
+ export { Service };
3
+ export { DragBegin, DragBeginEvent, DragEndEvent, DragLeaveEvent, DragPointerEvent, DropResult, Info, Kind, OpenRequest, WindowClosedEvent, WindowsChangedEvent } from './models.js';