@omniviewdev/runtime 0.15.0 → 0.16.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 +1 -1
- package/dist/api.js +160 -219
- package/dist/bindings/events/index.d.ts +4 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/window/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/window/models.d.ts +19 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/window/service.d.ts +16 -0
- package/dist/context/settings/index.d.ts +1 -0
- package/dist/context/settings/settingsWindow.d.ts +4 -0
- package/dist/context/windows/activePageNavigator.d.ts +2 -3
- package/dist/index.cjs +3 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +400 -381
- package/dist/models-B8VGD21U.cjs +1 -0
- package/dist/models-BJZVpONm.cjs +1 -0
- package/dist/models-BlxGoC2X.js +1463 -0
- package/dist/{models-BJgLAHwq.js → models-ddVn9pLv.js} +79 -284
- package/dist/models.cjs +1 -1
- package/dist/models.js +33 -33
- package/dist/service-DKddH-QF.cjs +1 -0
- package/dist/service-lcq0B7wi.js +739 -0
- package/dist/settingsEditors.d.ts +35 -0
- package/package.json +1 -1
- package/dist/models-BTzXdmUY.js +0 -1240
- package/dist/models-BhsFYb70.cjs +0 -1
- package/dist/models-NYvUa5Yc.cjs +0 -1
- package/dist/servicewrapper-CZ9BUUjp.js +0 -662
- package/dist/servicewrapper-lF8bBrIo.cjs +0 -1
package/dist/api.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./service-DKddH-QF.cjs"),i=require("./index-BVi9X4oU.cjs"),n=require("./calls-B-HP1Icv.cjs"),c=require("./models-B8VGD21U.cjs");class f{running;url;source;error;constructor(e={}){"running"in e||(this.running=!1),"url"in e||(this.url=""),"source"in e||(this.source=""),"error"in e||(this.error=""),Object.assign(this,e)}static createFrom(e={}){let r=typeof e=="string"?JSON.parse(e):e;return new f(r)}}function B(){return n.ByID(3755720097).then(t=>b(t))}const b=f.createFrom,T=Object.freeze(Object.defineProperty({__proto__:null,GetStatus:B},Symbol.toStringTag,{value:"Module"}));function F(t,e){return n.ByID(1112300727,t,e)}function w(t){return n.ByID(3545575747,t)}function O(){return n.ByID(973353934).then(t=>x(t))}function C(){return n.ByID(3274001154).then(t=>z(t))}function _(){return n.ByID(1957733758).then(t=>q(t))}function P(){return n.ByID(3570265771).then(t=>H(t))}function j(){return n.ByID(338269344).then(t=>K(t))}function A(t){return n.ByID(2544305887,t).then(e=>X(e))}function L(t,e){return n.ByID(1042852749,t,e)}function E(){return n.ByID(3071199936)}function M(t){return n.ByID(2852029597,t)}function k(t){return n.ByID(2119350976,t)}function G(t,e,r){return n.ByID(1507504662,t,e,r)}function N(t){return n.ByID(4286704285,t)}function R(t,e){return n.ByID(323373508,t,e)}function J(t){return n.ByID(2912056327,t)}function V(t,e,r){return n.ByID(3748367702,t,e,r)}const x=c.ConfigView.createFrom,z=c.Status.createFrom,U=c.ConnectionPolicyView.createFrom,q=i.Array(U),W=c.PendingConfirmation.createFrom,H=i.Array(W),Z=c.PresetView.createFrom,K=i.Array(Z),Q=c.ToolView.createFrom,X=i.Array(Q),Y=Object.freeze(Object.defineProperty({__proto__:null,ApplyPreset:F,DeleteUserPreset:w,GetConfig:O,GetStatus:C,ListConnectionPolicies:_,ListPendingConfirmations:P,ListPresets:j,ListTools:A,ResolveConfirmation:L,RotateToken:E,SaveUserPreset:M,SetBlockConnectionsByDefault:k,SetConnectionAccess:G,SetEnabled:N,SetPluginEnabled:R,SetPort:J,SetToolOverride:V},Symbol.toStringTag,{value:"Module"}));function $(t){return n.ByID(3503478684,t)}const ee=Object.freeze(Object.defineProperty({__proto__:null,DetectLanguage:$},Symbol.toStringTag,{value:"Module"}));function te(t,e){return n.ByID(2691208406,t,e)}function ne(t,e){return n.ByID(3932965591,t,e)}function re(t,e){return n.ByID(1686862755,t,e)}function ie(t,e,r){return n.ByID(3705442919,t,e,r)}function oe(t){return n.ByID(3024854267,t)}function se(t){return n.ByID(3423289677,t)}function ae(t){return n.ByID(158417611,t)}function ce(t){return n.ByID(3413815733,t)}function le(t,e){return n.ByID(2047870999,t,e)}const ue=Object.freeze(Object.defineProperty({__proto__:null,Debug:te,Error:ne,Info:re,Log:ie,ReadLog:oe,ReportStartupReady:se,StartTail:ae,StopTail:ce,Warn:le},Symbol.toStringTag,{value:"Module"}));function pe(t,e){return n.ByID(712656304,t,e).then(r=>ve(r))}function fe(t){return n.ByID(4153226260,t).then(e=>l(e))}function ye(t){return n.ByID(1859413816,t)}function he(){return n.ByID(2707386443).then(t=>Be(t))}function ge(t){return n.ByID(2381063937,t)}function de(t){return n.ByID(123659362,t).then(e=>l(e))}function Se(t){return n.ByID(709599671,t).then(e=>l(e))}function De(t,e){return n.ByID(2105869281,t,e).then(r=>l(r))}function me(t){return n.ByID(1371062537,t)}const Ie=c.LogEntry.createFrom,ve=i.Array(Ie),l=c.DevServerState.createFrom,Be=i.Array(l),be=Object.freeze(Object.defineProperty({__proto__:null,GetDevServerLogs:pe,GetDevServerState:fe,IsManaged:ye,ListDevServerStates:he,RebuildPlugin:ge,RestartDevServer:de,StartDevServer:Se,StartDevServerForPath:De,StopDevServer:me},Symbol.toStringTag,{value:"Module"}));function Te(t,e){return n.ByID(1867216983,t,e).then(r=>S(r))}function Fe(){return n.ByID(3418650705).then(t=>Pe(t))}function we(t,e){return n.ByID(4138610615,t,e).then(r=>S(r))}function Oe(t){return n.ByID(3055914536,t)}function Ce(t){return n.ByID(1502487629,t)}const _e=c.LogEntry$1.createFrom,S=i.Array(_e),Pe=i.Array(i.Any),je=Object.freeze(Object.defineProperty({__proto__:null,GetLogs:Te,ListStreams:Fe,SearchLogs:we,Subscribe:Oe,Unsubscribe:Ce},Symbol.toStringTag,{value:"Module"}));class u{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 u(r)}}class y{code;message;details;constructor(e={}){"code"in e||(this.code=""),"message"in e||(this.message=""),Object.assign(this,e)}static createFrom(e={}){const r=Ae;let s=typeof e=="string"?JSON.parse(e):e;return"details"in s&&(s.details=r(s.details)),new y(s)}}class h{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 u),"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=Le,s=Me,m=ke,I=Ne,v=D;let o=typeof e=="string"?JSON.parse(e):e;return"process"in o&&(o.process=r(o.process)),"repositories"in o&&(o.repositories=s(o.repositories)),"endpoints"in o&&(o.endpoints=m(o.endpoints)),"plugins"in o&&(o.plugins=I(o.plugins)),"lastError"in o&&(o.lastError=v(o.lastError)),new h(o)}}class g{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=D;let s=typeof e=="string"?JSON.parse(e):e;return"lastError"in s&&(s.lastError=r(s.lastError)),new g(s)}}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 r=typeof e=="string"?JSON.parse(e):e;return new p(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 Ae=i.Map(i.Any,i.Any),Le=p.createFrom,Ee=d.createFrom,Me=i.Array(Ee),ke=u.createFrom,Ge=g.createFrom,Ne=i.Array(Ge),Re=y.createFrom,D=i.Nullable(Re);function Je(){return n.ByID(678226073).then(t=>qe(t))}function Ve(){return n.ByID(1706570792)}function xe(t){return n.ByID(2957909098,t).then(e=>We(e))}function ze(t){return n.ByID(473489213,t)}function Ue(t,e){return n.ByID(3778694836,t,e)}const qe=h.createFrom,We=i.Array(i.Any);exports.DataClient=a.servicewrapper;exports.ExecClient=a.exec;exports.GraphClient=a.graphClient;exports.LogsClient=a.logs;exports.MetricClient=a.metric;exports.NetworkerClient=a.networker;exports.PluginManager=a.servicewrapper$1;exports.ResourceClient=a.client;exports.SettingsService=a.binding;exports.UIClient=a.servicewrapper$2;exports.WindowClient=a.service;exports.DevServerManager=be;exports.DiagnosticsClient=ue;exports.GetInstanceInfo=Je;exports.GetOperatingSystem=Ve;exports.HostProfiling=T;exports.McpRelayClient=Y;exports.OpenFileSelectionDialog=xe;exports.PluginLogManager=je;exports.SaveFileDialog=ze;exports.UtilsClient=ee;exports.WriteFileContent=Ue;
|
package/dist/api.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { s as
|
|
2
|
-
import { A as
|
|
1
|
+
import { s as ce, e as le, g as ue, l as fe, m as pe, n as he, a as de, c as ge, b as Se, d as me, f as ye } from "./service-lcq0B7wi.js";
|
|
2
|
+
import { A as o, a as c, N as T, M as F } from "./index-zyAgCXOO.js";
|
|
3
3
|
import { B as n } from "./calls-DYGtxNJ6.js";
|
|
4
|
-
import { C as
|
|
5
|
-
class
|
|
4
|
+
import { C as D, S as O, a as w, P as _, b as C, T as P, D as j, L as I, c as L } from "./models-ddVn9pLv.js";
|
|
5
|
+
class f {
|
|
6
6
|
running;
|
|
7
7
|
url;
|
|
8
8
|
source;
|
|
@@ -16,255 +16,196 @@ class p {
|
|
|
16
16
|
*/
|
|
17
17
|
static createFrom(t = {}) {
|
|
18
18
|
let r = typeof t == "string" ? JSON.parse(t) : t;
|
|
19
|
-
return new
|
|
19
|
+
return new f(r);
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
function
|
|
23
|
-
return n(3755720097).then((e) =>
|
|
22
|
+
function E() {
|
|
23
|
+
return n(3755720097).then((e) => M(e));
|
|
24
24
|
}
|
|
25
|
-
const
|
|
25
|
+
const M = f.createFrom, Kt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
26
26
|
__proto__: null,
|
|
27
|
-
GetStatus:
|
|
27
|
+
GetStatus: E
|
|
28
28
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
29
|
-
function
|
|
29
|
+
function N(e, t) {
|
|
30
30
|
return n(1112300727, e, t);
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function k(e) {
|
|
33
33
|
return n(3545575747, e);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
36
|
-
return n(973353934).then((e) =>
|
|
35
|
+
function R() {
|
|
36
|
+
return n(973353934).then((e) => X(e));
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
return n(3274001154).then((e) =>
|
|
38
|
+
function G() {
|
|
39
|
+
return n(3274001154).then((e) => Y(e));
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
return n(1957733758).then((e) =>
|
|
41
|
+
function A() {
|
|
42
|
+
return n(1957733758).then((e) => tt(e));
|
|
43
43
|
}
|
|
44
|
-
function
|
|
45
|
-
return n(3570265771).then((e) =>
|
|
44
|
+
function J() {
|
|
45
|
+
return n(3570265771).then((e) => nt(e));
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
return n(338269344).then((e) =>
|
|
47
|
+
function V() {
|
|
48
|
+
return n(338269344).then((e) => it(e));
|
|
49
49
|
}
|
|
50
|
-
function
|
|
51
|
-
return n(2544305887, e).then((t) =>
|
|
50
|
+
function x(e) {
|
|
51
|
+
return n(2544305887, e).then((t) => ot(t));
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function z(e, t) {
|
|
54
54
|
return n(1042852749, e, t);
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function U() {
|
|
57
57
|
return n(3071199936);
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function B(e) {
|
|
60
60
|
return n(2852029597, e);
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function W(e) {
|
|
63
63
|
return n(2119350976, e);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function H(e, t, r) {
|
|
66
66
|
return n(1507504662, e, t, r);
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function Z(e) {
|
|
69
69
|
return n(4286704285, e);
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function q(e, t) {
|
|
72
72
|
return n(323373508, e, t);
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function K(e) {
|
|
75
75
|
return n(2912056327, e);
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function Q(e, t, r) {
|
|
78
78
|
return n(3748367702, e, t, r);
|
|
79
79
|
}
|
|
80
|
-
const
|
|
80
|
+
const X = D.createFrom, Y = O.createFrom, $ = w.createFrom, tt = o($), et = _.createFrom, nt = o(et), rt = C.createFrom, it = o(rt), st = P.createFrom, ot = o(st), Qt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81
81
|
__proto__: null,
|
|
82
|
-
ApplyPreset:
|
|
83
|
-
DeleteUserPreset:
|
|
84
|
-
GetConfig:
|
|
85
|
-
GetStatus:
|
|
86
|
-
ListConnectionPolicies:
|
|
87
|
-
ListPendingConfirmations:
|
|
88
|
-
ListPresets:
|
|
89
|
-
ListTools:
|
|
90
|
-
ResolveConfirmation:
|
|
91
|
-
RotateToken:
|
|
92
|
-
SaveUserPreset:
|
|
93
|
-
SetBlockConnectionsByDefault:
|
|
94
|
-
SetConnectionAccess:
|
|
95
|
-
SetEnabled:
|
|
96
|
-
SetPluginEnabled:
|
|
97
|
-
SetPort:
|
|
98
|
-
SetToolOverride:
|
|
82
|
+
ApplyPreset: N,
|
|
83
|
+
DeleteUserPreset: k,
|
|
84
|
+
GetConfig: R,
|
|
85
|
+
GetStatus: G,
|
|
86
|
+
ListConnectionPolicies: A,
|
|
87
|
+
ListPendingConfirmations: J,
|
|
88
|
+
ListPresets: V,
|
|
89
|
+
ListTools: x,
|
|
90
|
+
ResolveConfirmation: z,
|
|
91
|
+
RotateToken: U,
|
|
92
|
+
SaveUserPreset: B,
|
|
93
|
+
SetBlockConnectionsByDefault: W,
|
|
94
|
+
SetConnectionAccess: H,
|
|
95
|
+
SetEnabled: Z,
|
|
96
|
+
SetPluginEnabled: q,
|
|
97
|
+
SetPort: K,
|
|
98
|
+
SetToolOverride: Q
|
|
99
99
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
100
|
-
function
|
|
100
|
+
function at(e) {
|
|
101
101
|
return n(3503478684, e);
|
|
102
102
|
}
|
|
103
|
-
const
|
|
103
|
+
const Xt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
104
104
|
__proto__: null,
|
|
105
|
-
DetectLanguage:
|
|
105
|
+
DetectLanguage: at
|
|
106
106
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
107
|
-
function
|
|
107
|
+
function ct(e, t) {
|
|
108
108
|
return n(2691208406, e, t);
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function lt(e, t) {
|
|
111
111
|
return n(3932965591, e, t);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function ut(e, t) {
|
|
114
114
|
return n(1686862755, e, t);
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function ft(e, t, r) {
|
|
117
117
|
return n(3705442919, e, t, r);
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function pt(e) {
|
|
120
120
|
return n(3024854267, e);
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function ht(e) {
|
|
123
123
|
return n(3423289677, e);
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function dt(e) {
|
|
126
126
|
return n(158417611, e);
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function gt(e) {
|
|
129
129
|
return n(3413815733, e);
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function St(e, t) {
|
|
132
132
|
return n(2047870999, e, t);
|
|
133
133
|
}
|
|
134
|
-
const
|
|
135
|
-
__proto__: null,
|
|
136
|
-
Debug: ft,
|
|
137
|
-
Error: pt,
|
|
138
|
-
Info: ht,
|
|
139
|
-
Log: dt,
|
|
140
|
-
ReadLog: gt,
|
|
141
|
-
ReportStartupReady: St,
|
|
142
|
-
StartTail: mt,
|
|
143
|
-
StopTail: yt,
|
|
144
|
-
Warn: vt
|
|
145
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
146
|
-
function Tt(e) {
|
|
147
|
-
return n(584261046, e);
|
|
148
|
-
}
|
|
149
|
-
function bt(e) {
|
|
150
|
-
return n(3098255555, e);
|
|
151
|
-
}
|
|
152
|
-
function Ft(e) {
|
|
153
|
-
return n(903698361, e);
|
|
154
|
-
}
|
|
155
|
-
function Dt(e, t, r) {
|
|
156
|
-
return n(1235170530, e, t, r).then((o) => Rt(o));
|
|
157
|
-
}
|
|
158
|
-
function Ot(e) {
|
|
159
|
-
return n(3199298309, e);
|
|
160
|
-
}
|
|
161
|
-
function wt(e) {
|
|
162
|
-
return n(2822783534, e).then((t) => m(t));
|
|
163
|
-
}
|
|
164
|
-
function _t() {
|
|
165
|
-
return n(914742443).then((e) => kt(e));
|
|
166
|
-
}
|
|
167
|
-
function Ct() {
|
|
168
|
-
return n(3392737293).then((e) => Gt(e));
|
|
169
|
-
}
|
|
170
|
-
function Pt(e, t, r) {
|
|
171
|
-
return n(1474486628, e, t, r);
|
|
172
|
-
}
|
|
173
|
-
function jt(e, t, r) {
|
|
174
|
-
return n(2366942716, e, t, r);
|
|
175
|
-
}
|
|
176
|
-
function It(e) {
|
|
177
|
-
return n(4008581935, e);
|
|
178
|
-
}
|
|
179
|
-
function Lt(e, t, r) {
|
|
180
|
-
return n(958877691, e, t, r);
|
|
181
|
-
}
|
|
182
|
-
function Mt(e, t, r) {
|
|
183
|
-
return n(1772958861, e, t, r);
|
|
184
|
-
}
|
|
185
|
-
function Et(e, t, r) {
|
|
186
|
-
return n(728919203, e, t, r);
|
|
187
|
-
}
|
|
188
|
-
const Rt = I.createFrom, m = f(a, a), Nt = L.createFrom, kt = s(Nt), Gt = f(a, m), Te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
134
|
+
const Yt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
189
135
|
__proto__: null,
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
MoveToPointer: jt,
|
|
200
|
-
Open: It,
|
|
201
|
-
ReportViewport: Lt,
|
|
202
|
-
RespondDrop: Mt,
|
|
203
|
-
SaveState: Et
|
|
136
|
+
Debug: ct,
|
|
137
|
+
Error: lt,
|
|
138
|
+
Info: ut,
|
|
139
|
+
Log: ft,
|
|
140
|
+
ReadLog: pt,
|
|
141
|
+
ReportStartupReady: ht,
|
|
142
|
+
StartTail: dt,
|
|
143
|
+
StopTail: gt,
|
|
144
|
+
Warn: St
|
|
204
145
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
205
|
-
function
|
|
206
|
-
return n(712656304, e, t).then((r) =>
|
|
146
|
+
function mt(e, t) {
|
|
147
|
+
return n(712656304, e, t).then((r) => Ct(r));
|
|
207
148
|
}
|
|
208
|
-
function
|
|
209
|
-
return n(4153226260, e).then((t) =>
|
|
149
|
+
function yt(e) {
|
|
150
|
+
return n(4153226260, e).then((t) => a(t));
|
|
210
151
|
}
|
|
211
|
-
function
|
|
152
|
+
function bt(e) {
|
|
212
153
|
return n(1859413816, e);
|
|
213
154
|
}
|
|
214
|
-
function
|
|
215
|
-
return n(2707386443).then((e) =>
|
|
155
|
+
function vt() {
|
|
156
|
+
return n(2707386443).then((e) => Pt(e));
|
|
216
157
|
}
|
|
217
|
-
function
|
|
158
|
+
function Tt(e) {
|
|
218
159
|
return n(2381063937, e);
|
|
219
160
|
}
|
|
220
|
-
function
|
|
221
|
-
return n(123659362, e).then((t) =>
|
|
161
|
+
function Ft(e) {
|
|
162
|
+
return n(123659362, e).then((t) => a(t));
|
|
222
163
|
}
|
|
223
|
-
function
|
|
224
|
-
return n(709599671, e).then((t) =>
|
|
164
|
+
function Dt(e) {
|
|
165
|
+
return n(709599671, e).then((t) => a(t));
|
|
225
166
|
}
|
|
226
|
-
function
|
|
227
|
-
return n(2105869281, e, t).then((r) =>
|
|
167
|
+
function Ot(e, t) {
|
|
168
|
+
return n(2105869281, e, t).then((r) => a(r));
|
|
228
169
|
}
|
|
229
|
-
function
|
|
170
|
+
function wt(e) {
|
|
230
171
|
return n(1371062537, e);
|
|
231
172
|
}
|
|
232
|
-
const
|
|
173
|
+
const _t = I.createFrom, Ct = o(_t), a = j.createFrom, Pt = o(a), $t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
233
174
|
__proto__: null,
|
|
234
|
-
GetDevServerLogs:
|
|
235
|
-
GetDevServerState:
|
|
236
|
-
IsManaged:
|
|
237
|
-
ListDevServerStates:
|
|
238
|
-
RebuildPlugin:
|
|
239
|
-
RestartDevServer:
|
|
240
|
-
StartDevServer:
|
|
241
|
-
StartDevServerForPath:
|
|
242
|
-
StopDevServer:
|
|
175
|
+
GetDevServerLogs: mt,
|
|
176
|
+
GetDevServerState: yt,
|
|
177
|
+
IsManaged: bt,
|
|
178
|
+
ListDevServerStates: vt,
|
|
179
|
+
RebuildPlugin: Tt,
|
|
180
|
+
RestartDevServer: Ft,
|
|
181
|
+
StartDevServer: Dt,
|
|
182
|
+
StartDevServerForPath: Ot,
|
|
183
|
+
StopDevServer: wt
|
|
243
184
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
244
|
-
function
|
|
245
|
-
return n(1867216983, e, t).then((r) =>
|
|
185
|
+
function jt(e, t) {
|
|
186
|
+
return n(1867216983, e, t).then((r) => S(r));
|
|
246
187
|
}
|
|
247
|
-
function
|
|
248
|
-
return n(3418650705).then((e) =>
|
|
188
|
+
function It() {
|
|
189
|
+
return n(3418650705).then((e) => kt(e));
|
|
249
190
|
}
|
|
250
|
-
function
|
|
251
|
-
return n(4138610615, e, t).then((r) =>
|
|
191
|
+
function Lt(e, t) {
|
|
192
|
+
return n(4138610615, e, t).then((r) => S(r));
|
|
252
193
|
}
|
|
253
|
-
function
|
|
194
|
+
function Et(e) {
|
|
254
195
|
return n(3055914536, e);
|
|
255
196
|
}
|
|
256
|
-
function
|
|
197
|
+
function Mt(e) {
|
|
257
198
|
return n(1502487629, e);
|
|
258
199
|
}
|
|
259
|
-
const
|
|
200
|
+
const Nt = L.createFrom, S = o(Nt), kt = o(c), te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
260
201
|
__proto__: null,
|
|
261
|
-
GetLogs:
|
|
262
|
-
ListStreams:
|
|
263
|
-
SearchLogs:
|
|
264
|
-
Subscribe:
|
|
265
|
-
Unsubscribe:
|
|
202
|
+
GetLogs: jt,
|
|
203
|
+
ListStreams: It,
|
|
204
|
+
SearchLogs: Lt,
|
|
205
|
+
Subscribe: Et,
|
|
206
|
+
Unsubscribe: Mt
|
|
266
207
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
267
|
-
class
|
|
208
|
+
class l {
|
|
268
209
|
browser;
|
|
269
210
|
vite;
|
|
270
211
|
hmr;
|
|
@@ -280,10 +221,10 @@ class u {
|
|
|
280
221
|
*/
|
|
281
222
|
static createFrom(t = {}) {
|
|
282
223
|
let r = typeof t == "string" ? JSON.parse(t) : t;
|
|
283
|
-
return new
|
|
224
|
+
return new l(r);
|
|
284
225
|
}
|
|
285
226
|
}
|
|
286
|
-
class
|
|
227
|
+
class p {
|
|
287
228
|
code;
|
|
288
229
|
message;
|
|
289
230
|
details;
|
|
@@ -295,12 +236,12 @@ class h {
|
|
|
295
236
|
* Creates a new Error instance from a string or object.
|
|
296
237
|
*/
|
|
297
238
|
static createFrom(t = {}) {
|
|
298
|
-
const r =
|
|
299
|
-
let
|
|
300
|
-
return "details" in
|
|
239
|
+
const r = Rt;
|
|
240
|
+
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
241
|
+
return "details" in s && (s.details = r(s.details)), new p(s);
|
|
301
242
|
}
|
|
302
243
|
}
|
|
303
|
-
class
|
|
244
|
+
class h {
|
|
304
245
|
schemaVersion;
|
|
305
246
|
workspaceID;
|
|
306
247
|
instanceID;
|
|
@@ -320,18 +261,18 @@ class d {
|
|
|
320
261
|
startedAt;
|
|
321
262
|
/** Creates a new InstanceDescriptor instance. */
|
|
322
263
|
constructor(t = {}) {
|
|
323
|
-
"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
|
|
264
|
+
"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);
|
|
324
265
|
}
|
|
325
266
|
/**
|
|
326
267
|
* Creates a new InstanceDescriptor instance from a string or object.
|
|
327
268
|
*/
|
|
328
269
|
static createFrom(t = {}) {
|
|
329
|
-
const r =
|
|
270
|
+
const r = Gt, s = Jt, y = Vt, b = zt, v = m;
|
|
330
271
|
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
331
|
-
return "process" in i && (i.process = r(i.process)), "repositories" in i && (i.repositories =
|
|
272
|
+
return "process" in i && (i.process = r(i.process)), "repositories" in i && (i.repositories = s(i.repositories)), "endpoints" in i && (i.endpoints = y(i.endpoints)), "plugins" in i && (i.plugins = b(i.plugins)), "lastError" in i && (i.lastError = v(i.lastError)), new h(i);
|
|
332
273
|
}
|
|
333
274
|
}
|
|
334
|
-
class
|
|
275
|
+
class d {
|
|
335
276
|
id;
|
|
336
277
|
version;
|
|
337
278
|
source;
|
|
@@ -351,12 +292,12 @@ class g {
|
|
|
351
292
|
* Creates a new PluginState instance from a string or object.
|
|
352
293
|
*/
|
|
353
294
|
static createFrom(t = {}) {
|
|
354
|
-
const r =
|
|
355
|
-
let
|
|
356
|
-
return "lastError" in
|
|
295
|
+
const r = m;
|
|
296
|
+
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
297
|
+
return "lastError" in s && (s.lastError = r(s.lastError)), new d(s);
|
|
357
298
|
}
|
|
358
299
|
}
|
|
359
|
-
class
|
|
300
|
+
class u {
|
|
360
301
|
pid;
|
|
361
302
|
startIdentity;
|
|
362
303
|
executable;
|
|
@@ -373,10 +314,10 @@ class l {
|
|
|
373
314
|
*/
|
|
374
315
|
static createFrom(t = {}) {
|
|
375
316
|
let r = typeof t == "string" ? JSON.parse(t) : t;
|
|
376
|
-
return new
|
|
317
|
+
return new u(r);
|
|
377
318
|
}
|
|
378
319
|
}
|
|
379
|
-
class
|
|
320
|
+
class g {
|
|
380
321
|
id;
|
|
381
322
|
path;
|
|
382
323
|
ref;
|
|
@@ -390,47 +331,47 @@ class S {
|
|
|
390
331
|
*/
|
|
391
332
|
static createFrom(t = {}) {
|
|
392
333
|
let r = typeof t == "string" ? JSON.parse(t) : t;
|
|
393
|
-
return new
|
|
334
|
+
return new g(r);
|
|
394
335
|
}
|
|
395
336
|
}
|
|
396
|
-
const
|
|
397
|
-
function
|
|
398
|
-
return n(678226073).then((e) =>
|
|
337
|
+
const Rt = F(c, c), Gt = u.createFrom, At = g.createFrom, Jt = o(At), Vt = l.createFrom, xt = d.createFrom, zt = o(xt), Ut = p.createFrom, m = T(Ut);
|
|
338
|
+
function ee() {
|
|
339
|
+
return n(678226073).then((e) => Bt(e));
|
|
399
340
|
}
|
|
400
|
-
function
|
|
341
|
+
function ne() {
|
|
401
342
|
return n(1706570792);
|
|
402
343
|
}
|
|
403
|
-
function
|
|
404
|
-
return n(2957909098, e).then((t) =>
|
|
344
|
+
function re(e) {
|
|
345
|
+
return n(2957909098, e).then((t) => Wt(t));
|
|
405
346
|
}
|
|
406
|
-
function
|
|
347
|
+
function ie(e) {
|
|
407
348
|
return n(473489213, e);
|
|
408
349
|
}
|
|
409
|
-
function
|
|
350
|
+
function se(e, t) {
|
|
410
351
|
return n(3778694836, e, t);
|
|
411
352
|
}
|
|
412
|
-
const
|
|
353
|
+
const Bt = h.createFrom, Wt = o(c);
|
|
413
354
|
export {
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
355
|
+
ce as DataClient,
|
|
356
|
+
$t as DevServerManager,
|
|
357
|
+
Yt as DiagnosticsClient,
|
|
358
|
+
le as ExecClient,
|
|
359
|
+
ee as GetInstanceInfo,
|
|
360
|
+
ne as GetOperatingSystem,
|
|
361
|
+
ue as GraphClient,
|
|
362
|
+
Kt as HostProfiling,
|
|
363
|
+
fe as LogsClient,
|
|
364
|
+
Qt as McpRelayClient,
|
|
365
|
+
pe as MetricClient,
|
|
366
|
+
he as NetworkerClient,
|
|
367
|
+
re as OpenFileSelectionDialog,
|
|
368
|
+
te as PluginLogManager,
|
|
369
|
+
de as PluginManager,
|
|
370
|
+
ge as ResourceClient,
|
|
371
|
+
ie as SaveFileDialog,
|
|
372
|
+
Se as SettingsService,
|
|
373
|
+
me as UIClient,
|
|
374
|
+
Xt as UtilsClient,
|
|
375
|
+
ye as WindowClient,
|
|
376
|
+
se as WriteFileContent
|
|
436
377
|
};
|
|
@@ -158,6 +158,10 @@ export declare const ResourceConnectionMetadata = "resource/connection/metadata"
|
|
|
158
158
|
* Name of the custom event "settings/changed".
|
|
159
159
|
*/
|
|
160
160
|
export declare const SettingsChanged = "settings/changed";
|
|
161
|
+
/**
|
|
162
|
+
* Name of the custom event "settings/state".
|
|
163
|
+
*/
|
|
164
|
+
export declare const SettingsState = "settings/state";
|
|
161
165
|
/**
|
|
162
166
|
* Name of the custom event "watch/STATE".
|
|
163
167
|
*/
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as Service from "./service.js";
|
|
2
2
|
export { Service };
|
|
3
|
-
export { DragBegin, DragBeginEvent, DragEndEvent, DragLeaveEvent, DragPointerEvent, DropResult, Info, Kind, OpenRequest, WindowClosedEvent, WindowsChangedEvent } from './models.js';
|
|
3
|
+
export { DragBegin, DragBeginEvent, DragEndEvent, DragLeaveEvent, DragPointerEvent, DropResult, Info, Kind, OpenRequest, SettingsState, WindowClosedEvent, WindowsChangedEvent } from './models.js';
|
|
@@ -125,7 +125,11 @@ export declare enum Kind {
|
|
|
125
125
|
/**
|
|
126
126
|
* KindPanel renders only a drawer tab strip and the drawer tab content.
|
|
127
127
|
*/
|
|
128
|
-
KindPanel = "panel"
|
|
128
|
+
KindPanel = "panel",
|
|
129
|
+
/**
|
|
130
|
+
* KindSettings renders the compact settings shell.
|
|
131
|
+
*/
|
|
132
|
+
KindSettings = "settings"
|
|
129
133
|
}
|
|
130
134
|
/**
|
|
131
135
|
* OpenRequest describes a window to open.
|
|
@@ -159,6 +163,20 @@ export declare class OpenRequest {
|
|
|
159
163
|
*/
|
|
160
164
|
static createFrom($$source?: any): OpenRequest;
|
|
161
165
|
}
|
|
166
|
+
/**
|
|
167
|
+
* SettingsState is the backend-owned location and visibility of settings.
|
|
168
|
+
*/
|
|
169
|
+
export declare class SettingsState {
|
|
170
|
+
"requestId": number;
|
|
171
|
+
"target": string;
|
|
172
|
+
"visible": boolean;
|
|
173
|
+
/** Creates a new SettingsState instance. */
|
|
174
|
+
constructor($$source?: Partial<SettingsState>);
|
|
175
|
+
/**
|
|
176
|
+
* Creates a new SettingsState instance from a string or object.
|
|
177
|
+
*/
|
|
178
|
+
static createFrom($$source?: any): SettingsState;
|
|
179
|
+
}
|
|
162
180
|
/**
|
|
163
181
|
* WindowClosedEvent is the payload of EventWindowClosed. States holds the
|
|
164
182
|
* closed window's last saved slots (slot -> JSON).
|