@omniviewdev/runtime 0.14.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/pkg/plugin/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/models.d.ts +18 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/servicewrapper.d.ts +1 -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/bindings/github.com/omniviewdev/omniview/internal/profiling/index.d.ts +0 -1
- package/dist/bindings/github.com/omniviewdev/omniview/internal/profiling/servicewrapper.d.ts +2 -2
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/profiling/index.d.ts +1 -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-B-DdHGSp.cjs +0 -1
- package/dist/servicewrapper-Bl98xvmZ.js +0 -639
- /package/dist/bindings/github.com/omniviewdev/{omniview/internal → plugin-sdk/pkg}/profiling/models.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { M as
|
|
2
|
-
import {
|
|
3
|
-
class
|
|
1
|
+
import { M as N, a as r, A as D } from "./index-zyAgCXOO.js";
|
|
2
|
+
import { aj as P } from "./models-BlxGoC2X.js";
|
|
3
|
+
class s {
|
|
4
4
|
Provider;
|
|
5
5
|
Connection;
|
|
6
6
|
ResourceType;
|
|
@@ -15,13 +15,13 @@ class a {
|
|
|
15
15
|
* Creates a new Target instance from a string or object.
|
|
16
16
|
*/
|
|
17
17
|
static createFrom(i = {}) {
|
|
18
|
-
const t =
|
|
18
|
+
const t = j;
|
|
19
19
|
let n = typeof i == "string" ? JSON.parse(i) : i;
|
|
20
|
-
return "Scope" in n && (n.Scope = t(n.Scope)), new
|
|
20
|
+
return "Scope" in n && (n.Scope = t(n.Scope)), new s(n);
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
const
|
|
24
|
-
class
|
|
23
|
+
const j = N(r, r);
|
|
24
|
+
class l {
|
|
25
25
|
enabled;
|
|
26
26
|
port;
|
|
27
27
|
endpoint;
|
|
@@ -37,12 +37,12 @@ class f {
|
|
|
37
37
|
* Creates a new ConfigView instance from a string or object.
|
|
38
38
|
*/
|
|
39
39
|
static createFrom(i = {}) {
|
|
40
|
-
const t =
|
|
40
|
+
const t = F;
|
|
41
41
|
let n = typeof i == "string" ? JSON.parse(i) : i;
|
|
42
|
-
return "userPresets" in n && (n.userPresets = t(n.userPresets)), new
|
|
42
|
+
return "userPresets" in n && (n.userPresets = t(n.userPresets)), new l(n);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
class
|
|
45
|
+
class o {
|
|
46
46
|
id;
|
|
47
47
|
approved;
|
|
48
48
|
/**
|
|
@@ -58,10 +58,10 @@ class d {
|
|
|
58
58
|
*/
|
|
59
59
|
static createFrom(i = {}) {
|
|
60
60
|
let t = typeof i == "string" ? JSON.parse(i) : i;
|
|
61
|
-
return new
|
|
61
|
+
return new o(t);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
class
|
|
64
|
+
class f {
|
|
65
65
|
pluginID;
|
|
66
66
|
pluginName;
|
|
67
67
|
connectionID;
|
|
@@ -79,10 +79,10 @@ class p {
|
|
|
79
79
|
*/
|
|
80
80
|
static createFrom(i = {}) {
|
|
81
81
|
let t = typeof i == "string" ? JSON.parse(i) : i;
|
|
82
|
-
return new
|
|
82
|
+
return new f(t);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
-
class
|
|
85
|
+
class p {
|
|
86
86
|
id;
|
|
87
87
|
mcpName;
|
|
88
88
|
pluginID;
|
|
@@ -104,18 +104,18 @@ class c {
|
|
|
104
104
|
catalogRevision;
|
|
105
105
|
/** Creates a new PendingConfirmation instance. */
|
|
106
106
|
constructor(i = {}) {
|
|
107
|
-
"id" in i || (this.id = ""), "mcpName" in i || (this.mcpName = ""), "pluginID" in i || (this.pluginID = ""), "pluginName" in i || (this.pluginName = ""), "connectionID" in i || (this.connectionID = ""), "connectionName" in i || (this.connectionName = ""), "argumentsJSON" in i || (this.argumentsJSON = ""), "requestedAt" in i || (this.requestedAt = "0001-01-01T00:00:00.000Z"), "origin" in i || (this.origin = ""), "credentialID" in i || (this.credentialID = ""), "sessionID" in i || (this.sessionID = ""), "invocationID" in i || (this.invocationID = ""), "target" in i || (this.target = new
|
|
107
|
+
"id" in i || (this.id = ""), "mcpName" in i || (this.mcpName = ""), "pluginID" in i || (this.pluginID = ""), "pluginName" in i || (this.pluginName = ""), "connectionID" in i || (this.connectionID = ""), "connectionName" in i || (this.connectionName = ""), "argumentsJSON" in i || (this.argumentsJSON = ""), "requestedAt" in i || (this.requestedAt = "0001-01-01T00:00:00.000Z"), "origin" in i || (this.origin = ""), "credentialID" in i || (this.credentialID = ""), "sessionID" in i || (this.sessionID = ""), "invocationID" in i || (this.invocationID = ""), "target" in i || (this.target = new s()), "policyRevision" in i || (this.policyRevision = 0), "catalogRevision" in i || (this.catalogRevision = 0), Object.assign(this, i);
|
|
108
108
|
}
|
|
109
109
|
/**
|
|
110
110
|
* Creates a new PendingConfirmation instance from a string or object.
|
|
111
111
|
*/
|
|
112
112
|
static createFrom(i = {}) {
|
|
113
|
-
const t =
|
|
113
|
+
const t = J;
|
|
114
114
|
let n = typeof i == "string" ? JSON.parse(i) : i;
|
|
115
|
-
return "target" in n && (n.target = t(n.target)), new
|
|
115
|
+
return "target" in n && (n.target = t(n.target)), new p(n);
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
|
-
class
|
|
118
|
+
class c {
|
|
119
119
|
name;
|
|
120
120
|
builtIn;
|
|
121
121
|
toolCount;
|
|
@@ -128,10 +128,10 @@ class h {
|
|
|
128
128
|
*/
|
|
129
129
|
static createFrom(i = {}) {
|
|
130
130
|
let t = typeof i == "string" ? JSON.parse(i) : i;
|
|
131
|
-
return new
|
|
131
|
+
return new c(t);
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
-
class
|
|
134
|
+
class d {
|
|
135
135
|
pluginID;
|
|
136
136
|
connectionID;
|
|
137
137
|
/** Creates a new Scope instance. */
|
|
@@ -143,10 +143,10 @@ class g {
|
|
|
143
143
|
*/
|
|
144
144
|
static createFrom(i = {}) {
|
|
145
145
|
let t = typeof i == "string" ? JSON.parse(i) : i;
|
|
146
|
-
return new
|
|
146
|
+
return new d(t);
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
|
-
class
|
|
149
|
+
class g {
|
|
150
150
|
enabled;
|
|
151
151
|
running;
|
|
152
152
|
endpoint;
|
|
@@ -160,10 +160,10 @@ class m {
|
|
|
160
160
|
*/
|
|
161
161
|
static createFrom(i = {}) {
|
|
162
162
|
let t = typeof i == "string" ? JSON.parse(i) : i;
|
|
163
|
-
return new
|
|
163
|
+
return new g(t);
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
|
-
class
|
|
166
|
+
class h {
|
|
167
167
|
enabled;
|
|
168
168
|
confirm;
|
|
169
169
|
/** Creates a new ToolOverride instance. */
|
|
@@ -175,10 +175,10 @@ class S {
|
|
|
175
175
|
*/
|
|
176
176
|
static createFrom(i = {}) {
|
|
177
177
|
let t = typeof i == "string" ? JSON.parse(i) : i;
|
|
178
|
-
return new
|
|
178
|
+
return new h(t);
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
|
-
class
|
|
181
|
+
class m {
|
|
182
182
|
mcpName;
|
|
183
183
|
pluginID;
|
|
184
184
|
connectionID;
|
|
@@ -214,224 +214,22 @@ class b {
|
|
|
214
214
|
*/
|
|
215
215
|
static createFrom(i = {}) {
|
|
216
216
|
let t = typeof i == "string" ? JSON.parse(i) : i;
|
|
217
|
-
return new
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
const M = l(s), U = a.createFrom, H = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
221
|
-
__proto__: null,
|
|
222
|
-
ConfigView: f,
|
|
223
|
-
ConfirmationResolved: d,
|
|
224
|
-
ConnectionPolicyView: p,
|
|
225
|
-
PendingConfirmation: c,
|
|
226
|
-
PresetView: h,
|
|
227
|
-
Scope: g,
|
|
228
|
-
Status: m,
|
|
229
|
-
ToolOverride: S,
|
|
230
|
-
ToolView: b
|
|
231
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
232
|
-
class I {
|
|
233
|
-
sessionId;
|
|
234
|
-
sourceWindow;
|
|
235
|
-
dragType;
|
|
236
|
-
/**
|
|
237
|
-
* Payload is the JSON of the base-ui TabDragPayload; it is forwarded to
|
|
238
|
-
* target windows verbatim.
|
|
239
|
-
*/
|
|
240
|
-
payload;
|
|
241
|
-
/** Creates a new DragBegin instance. */
|
|
242
|
-
constructor(i = {}) {
|
|
243
|
-
"sessionId" in i || (this.sessionId = ""), "sourceWindow" in i || (this.sourceWindow = ""), "dragType" in i || (this.dragType = ""), "payload" in i || (this.payload = ""), Object.assign(this, i);
|
|
244
|
-
}
|
|
245
|
-
/**
|
|
246
|
-
* Creates a new DragBegin instance from a string or object.
|
|
247
|
-
*/
|
|
248
|
-
static createFrom(i = {}) {
|
|
249
|
-
let t = typeof i == "string" ? JSON.parse(i) : i;
|
|
250
|
-
return new I(t);
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
class y {
|
|
254
|
-
sessionId;
|
|
255
|
-
sourceWindow;
|
|
256
|
-
dragType;
|
|
257
|
-
/** Creates a new DragBeginEvent instance. */
|
|
258
|
-
constructor(i = {}) {
|
|
259
|
-
"sessionId" in i || (this.sessionId = ""), "sourceWindow" in i || (this.sourceWindow = ""), "dragType" in i || (this.dragType = ""), Object.assign(this, i);
|
|
260
|
-
}
|
|
261
|
-
/**
|
|
262
|
-
* Creates a new DragBeginEvent instance from a string or object.
|
|
263
|
-
*/
|
|
264
|
-
static createFrom(i = {}) {
|
|
265
|
-
let t = typeof i == "string" ? JSON.parse(i) : i;
|
|
266
|
-
return new y(t);
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
class O {
|
|
270
|
-
sessionId;
|
|
271
|
-
/** Creates a new DragEndEvent instance. */
|
|
272
|
-
constructor(i = {}) {
|
|
273
|
-
"sessionId" in i || (this.sessionId = ""), Object.assign(this, i);
|
|
274
|
-
}
|
|
275
|
-
/**
|
|
276
|
-
* Creates a new DragEndEvent instance from a string or object.
|
|
277
|
-
*/
|
|
278
|
-
static createFrom(i = {}) {
|
|
279
|
-
let t = typeof i == "string" ? JSON.parse(i) : i;
|
|
280
|
-
return new O(t);
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
class w {
|
|
284
|
-
sessionId;
|
|
285
|
-
targetWindow;
|
|
286
|
-
/** Creates a new DragLeaveEvent instance. */
|
|
287
|
-
constructor(i = {}) {
|
|
288
|
-
"sessionId" in i || (this.sessionId = ""), "targetWindow" in i || (this.targetWindow = ""), Object.assign(this, i);
|
|
289
|
-
}
|
|
290
|
-
/**
|
|
291
|
-
* Creates a new DragLeaveEvent instance from a string or object.
|
|
292
|
-
*/
|
|
293
|
-
static createFrom(i = {}) {
|
|
294
|
-
let t = typeof i == "string" ? JSON.parse(i) : i;
|
|
295
|
-
return new w(t);
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
class v {
|
|
299
|
-
sessionId;
|
|
300
|
-
targetWindow;
|
|
301
|
-
/**
|
|
302
|
-
* Payload is DragBegin.Payload verbatim (JSON of TabDragPayload).
|
|
303
|
-
*/
|
|
304
|
-
payload;
|
|
305
|
-
clientX;
|
|
306
|
-
clientY;
|
|
307
|
-
/** Creates a new DragPointerEvent instance. */
|
|
308
|
-
constructor(i = {}) {
|
|
309
|
-
"sessionId" in i || (this.sessionId = ""), "targetWindow" in i || (this.targetWindow = ""), "payload" in i || (this.payload = ""), "clientX" in i || (this.clientX = 0), "clientY" in i || (this.clientY = 0), Object.assign(this, i);
|
|
310
|
-
}
|
|
311
|
-
/**
|
|
312
|
-
* Creates a new DragPointerEvent instance from a string or object.
|
|
313
|
-
*/
|
|
314
|
-
static createFrom(i = {}) {
|
|
315
|
-
let t = typeof i == "string" ? JSON.parse(i) : i;
|
|
316
|
-
return new v(t);
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
class D {
|
|
320
|
-
accepted;
|
|
321
|
-
targetWindow;
|
|
322
|
-
targetInstanceId;
|
|
323
|
-
/** Creates a new DropResult instance. */
|
|
324
|
-
constructor(i = {}) {
|
|
325
|
-
"accepted" in i || (this.accepted = !1), "targetWindow" in i || (this.targetWindow = ""), "targetInstanceId" in i || (this.targetInstanceId = ""), Object.assign(this, i);
|
|
326
|
-
}
|
|
327
|
-
/**
|
|
328
|
-
* Creates a new DropResult instance from a string or object.
|
|
329
|
-
*/
|
|
330
|
-
static createFrom(i = {}) {
|
|
331
|
-
let t = typeof i == "string" ? JSON.parse(i) : i;
|
|
332
|
-
return new D(t);
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
class r {
|
|
336
|
-
name;
|
|
337
|
-
kind;
|
|
338
|
-
/**
|
|
339
|
-
* Focused is true for the most recently focused window.
|
|
340
|
-
*/
|
|
341
|
-
focused;
|
|
342
|
-
/** Creates a new Info instance. */
|
|
343
|
-
constructor(i = {}) {
|
|
344
|
-
"name" in i || (this.name = ""), "kind" in i || (this.kind = ""), "focused" in i || (this.focused = !1), Object.assign(this, i);
|
|
345
|
-
}
|
|
346
|
-
/**
|
|
347
|
-
* Creates a new Info instance from a string or object.
|
|
348
|
-
*/
|
|
349
|
-
static createFrom(i = {}) {
|
|
350
|
-
let t = typeof i == "string" ? JSON.parse(i) : i;
|
|
351
|
-
return new r(t);
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
var W = /* @__PURE__ */ ((e) => (e.$zero = "", e.KindWorkspace = "workspace", e.KindPanel = "panel", e))(W || {});
|
|
355
|
-
class N {
|
|
356
|
-
kind;
|
|
357
|
-
/**
|
|
358
|
-
* InitialState is the opaque per-slot state handed to the new window
|
|
359
|
-
* before it loads (same format as SaveState slots).
|
|
360
|
-
*/
|
|
361
|
-
initialState;
|
|
362
|
-
/**
|
|
363
|
-
* When HasPosition is set the new window's top-left is placed near the
|
|
364
|
-
* pointer at (ClientX, ClientY) in AnchorWindow's client space.
|
|
365
|
-
*/
|
|
366
|
-
anchorWindow;
|
|
367
|
-
clientX;
|
|
368
|
-
clientY;
|
|
369
|
-
hasPosition;
|
|
370
|
-
/**
|
|
371
|
-
* Width and Height of the new window; 0 selects the kind's default.
|
|
372
|
-
*/
|
|
373
|
-
width;
|
|
374
|
-
height;
|
|
375
|
-
/** Creates a new OpenRequest instance. */
|
|
376
|
-
constructor(i = {}) {
|
|
377
|
-
"kind" in i || (this.kind = ""), "initialState" in i || (this.initialState = {}), "anchorWindow" in i || (this.anchorWindow = ""), "clientX" in i || (this.clientX = 0), "clientY" in i || (this.clientY = 0), "hasPosition" in i || (this.hasPosition = !1), "width" in i || (this.width = 0), "height" in i || (this.height = 0), Object.assign(this, i);
|
|
378
|
-
}
|
|
379
|
-
/**
|
|
380
|
-
* Creates a new OpenRequest instance from a string or object.
|
|
381
|
-
*/
|
|
382
|
-
static createFrom(i = {}) {
|
|
383
|
-
const t = k;
|
|
384
|
-
let n = typeof i == "string" ? JSON.parse(i) : i;
|
|
385
|
-
return "initialState" in n && (n.initialState = t(n.initialState)), new N(n);
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
class j {
|
|
389
|
-
name;
|
|
390
|
-
kind;
|
|
391
|
-
states;
|
|
392
|
-
/** Creates a new WindowClosedEvent instance. */
|
|
393
|
-
constructor(i = {}) {
|
|
394
|
-
"name" in i || (this.name = ""), "kind" in i || (this.kind = ""), "states" in i || (this.states = {}), Object.assign(this, i);
|
|
395
|
-
}
|
|
396
|
-
/**
|
|
397
|
-
* Creates a new WindowClosedEvent instance from a string or object.
|
|
398
|
-
*/
|
|
399
|
-
static createFrom(i = {}) {
|
|
400
|
-
const t = k;
|
|
401
|
-
let n = typeof i == "string" ? JSON.parse(i) : i;
|
|
402
|
-
return "states" in n && (n.states = t(n.states)), new j(n);
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
class u {
|
|
406
|
-
windows;
|
|
407
|
-
/** Creates a new WindowsChangedEvent instance. */
|
|
408
|
-
constructor(i = {}) {
|
|
409
|
-
"windows" in i || (this.windows = []), Object.assign(this, i);
|
|
410
|
-
}
|
|
411
|
-
/**
|
|
412
|
-
* Creates a new WindowsChangedEvent instance from a string or object.
|
|
413
|
-
*/
|
|
414
|
-
static createFrom(i = {}) {
|
|
415
|
-
const t = Y;
|
|
416
|
-
let n = typeof i == "string" ? JSON.parse(i) : i;
|
|
417
|
-
return "windows" in n && (n.windows = t(n.windows)), new u(n);
|
|
217
|
+
return new m(t);
|
|
418
218
|
}
|
|
419
219
|
}
|
|
420
|
-
const
|
|
220
|
+
const F = D(r), J = s.createFrom, B = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
421
221
|
__proto__: null,
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
WindowClosedEvent: j,
|
|
432
|
-
WindowsChangedEvent: u
|
|
222
|
+
ConfigView: l,
|
|
223
|
+
ConfirmationResolved: o,
|
|
224
|
+
ConnectionPolicyView: f,
|
|
225
|
+
PendingConfirmation: p,
|
|
226
|
+
PresetView: c,
|
|
227
|
+
Scope: d,
|
|
228
|
+
Status: g,
|
|
229
|
+
ToolOverride: h,
|
|
230
|
+
ToolView: m
|
|
433
231
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
434
|
-
class
|
|
232
|
+
class a {
|
|
435
233
|
file;
|
|
436
234
|
line;
|
|
437
235
|
column;
|
|
@@ -445,11 +243,11 @@ class o {
|
|
|
445
243
|
*/
|
|
446
244
|
static createFrom(i = {}) {
|
|
447
245
|
let t = typeof i == "string" ? JSON.parse(i) : i;
|
|
448
|
-
return new
|
|
246
|
+
return new a(t);
|
|
449
247
|
}
|
|
450
248
|
}
|
|
451
|
-
var
|
|
452
|
-
class
|
|
249
|
+
var I = /* @__PURE__ */ ((e) => (e.$zero = "", e.DevProcessStatusIdle = "idle", e.DevProcessStatusStarting = "starting", e.DevProcessStatusBuilding = "building", e.DevProcessStatusRunning = "running", e.DevProcessStatusReady = "ready", e.DevProcessStatusError = "error", e.DevProcessStatusStopped = "stopped", e.DevProcessStatusNotApplicable = "n/a", e))(I || {});
|
|
250
|
+
class S {
|
|
453
251
|
pluginID;
|
|
454
252
|
errors;
|
|
455
253
|
/** Creates a new DevServerErrorPayload instance. */
|
|
@@ -460,13 +258,13 @@ class F {
|
|
|
460
258
|
* Creates a new DevServerErrorPayload instance from a string or object.
|
|
461
259
|
*/
|
|
462
260
|
static createFrom(i = {}) {
|
|
463
|
-
const t =
|
|
261
|
+
const t = C;
|
|
464
262
|
let n = typeof i == "string" ? JSON.parse(i) : i;
|
|
465
|
-
return "errors" in n && (n.errors = t(n.errors)), new
|
|
263
|
+
return "errors" in n && (n.errors = t(n.errors)), new S(n);
|
|
466
264
|
}
|
|
467
265
|
}
|
|
468
|
-
var
|
|
469
|
-
class
|
|
266
|
+
var y = /* @__PURE__ */ ((e) => (e.$zero = "", e.DevServerModeIdle = "idle", e.DevServerModeManaged = "managed", e))(y || {});
|
|
267
|
+
class b {
|
|
470
268
|
pluginID;
|
|
471
269
|
mode;
|
|
472
270
|
devPath;
|
|
@@ -486,18 +284,18 @@ class P {
|
|
|
486
284
|
ready;
|
|
487
285
|
/** Creates a new DevServerState instance. */
|
|
488
286
|
constructor(i = {}) {
|
|
489
|
-
"pluginID" in i || (this.pluginID = ""), "mode" in i || (this.mode = ""), "devPath" in i || (this.devPath = ""), "vitePort" in i || (this.vitePort = 0), "viteURL" in i || (this.viteURL = ""), "viteStatus" in i || (this.viteStatus = ""), "goStatus" in i || (this.goStatus = ""), "lastBuildDuration" in i || (this.lastBuildDuration =
|
|
287
|
+
"pluginID" in i || (this.pluginID = ""), "mode" in i || (this.mode = ""), "devPath" in i || (this.devPath = ""), "vitePort" in i || (this.vitePort = 0), "viteURL" in i || (this.viteURL = ""), "viteStatus" in i || (this.viteStatus = ""), "goStatus" in i || (this.goStatus = ""), "lastBuildDuration" in i || (this.lastBuildDuration = P.$zero), "lastBuildTime" in i || (this.lastBuildTime = ""), "lastError" in i || (this.lastError = ""), "grpcConnected" in i || (this.grpcConnected = !1), "generation" in i || (this.generation = ""), "hmrURL" in i || (this.hmrURL = ""), "buildStatus" in i || (this.buildStatus = ""), "rpcStatus" in i || (this.rpcStatus = ""), "controllerStatus" in i || (this.controllerStatus = ""), "ready" in i || (this.ready = !1), Object.assign(this, i);
|
|
490
288
|
}
|
|
491
289
|
/**
|
|
492
290
|
* Creates a new DevServerState instance from a string or object.
|
|
493
291
|
*/
|
|
494
292
|
static createFrom(i = {}) {
|
|
495
293
|
let t = typeof i == "string" ? JSON.parse(i) : i;
|
|
496
|
-
return new
|
|
294
|
+
return new b(t);
|
|
497
295
|
}
|
|
498
296
|
}
|
|
499
|
-
var
|
|
500
|
-
let
|
|
297
|
+
var u = /* @__PURE__ */ ((e) => (e.$zero = "", e.StagePending = "pending", e.StageBuilding = "building", e.StageReady = "ready", e.StageError = "error", e.StageStopped = "stopped", e.StageNotApplicable = "n/a", e))(u || {});
|
|
298
|
+
let R = class O {
|
|
501
299
|
timestamp;
|
|
502
300
|
/**
|
|
503
301
|
* "vite" | "go-build" | "go-watch" | "manager"
|
|
@@ -518,20 +316,20 @@ let L = class B {
|
|
|
518
316
|
*/
|
|
519
317
|
static createFrom(i = {}) {
|
|
520
318
|
let t = typeof i == "string" ? JSON.parse(i) : i;
|
|
521
|
-
return new
|
|
319
|
+
return new O(t);
|
|
522
320
|
}
|
|
523
321
|
};
|
|
524
|
-
const
|
|
322
|
+
const w = a.createFrom, C = D(w), E = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
525
323
|
__proto__: null,
|
|
526
|
-
BuildError:
|
|
527
|
-
DevProcessStatus:
|
|
528
|
-
DevServerErrorPayload:
|
|
529
|
-
DevServerMode:
|
|
530
|
-
DevServerState:
|
|
531
|
-
LifecycleStage:
|
|
532
|
-
LogEntry:
|
|
324
|
+
BuildError: a,
|
|
325
|
+
DevProcessStatus: I,
|
|
326
|
+
DevServerErrorPayload: S,
|
|
327
|
+
DevServerMode: y,
|
|
328
|
+
DevServerState: b,
|
|
329
|
+
LifecycleStage: u,
|
|
330
|
+
LogEntry: R
|
|
533
331
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
534
|
-
class
|
|
332
|
+
class v {
|
|
535
333
|
timestamp;
|
|
536
334
|
pluginID;
|
|
537
335
|
/**
|
|
@@ -552,32 +350,29 @@ class J {
|
|
|
552
350
|
*/
|
|
553
351
|
static createFrom(i = {}) {
|
|
554
352
|
let t = typeof i == "string" ? JSON.parse(i) : i;
|
|
555
|
-
return new
|
|
353
|
+
return new v(t);
|
|
556
354
|
}
|
|
557
355
|
}
|
|
558
|
-
const
|
|
356
|
+
const z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
559
357
|
__proto__: null,
|
|
560
|
-
LogEntry:
|
|
358
|
+
LogEntry: v
|
|
561
359
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
562
360
|
export {
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
D,
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
m as
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
V as j,
|
|
581
|
-
K as k,
|
|
582
|
-
Q as m
|
|
361
|
+
a as B,
|
|
362
|
+
l as C,
|
|
363
|
+
b as D,
|
|
364
|
+
R as L,
|
|
365
|
+
p as P,
|
|
366
|
+
g as S,
|
|
367
|
+
m as T,
|
|
368
|
+
f as a,
|
|
369
|
+
c as b,
|
|
370
|
+
v as c,
|
|
371
|
+
I as d,
|
|
372
|
+
S as e,
|
|
373
|
+
y as f,
|
|
374
|
+
u as g,
|
|
375
|
+
B as h,
|
|
376
|
+
z as i,
|
|
377
|
+
E as m
|
|
583
378
|
};
|
package/dist/models.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./index-BVi9X4oU.cjs"),e=require("./models-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./index-BVi9X4oU.cjs"),e=require("./models-BJZVpONm.cjs"),s=require("./graph-wHun0Bkz.cjs"),n=require("./models-B8VGD21U.cjs");class a{defaultDirectory;defaultFilename;title;filters;showHiddenFiles;canCreateDirectories;resolvesAliases;treatPackagesAsDirectories;constructor(t={}){"defaultDirectory"in t||(this.defaultDirectory=""),"defaultFilename"in t||(this.defaultFilename=""),"title"in t||(this.title=""),"filters"in t||(this.filters=[]),"showHiddenFiles"in t||(this.showHiddenFiles=!1),"canCreateDirectories"in t||(this.canCreateDirectories=!1),"resolvesAliases"in t||(this.resolvesAliases=!1),"treatPackagesAsDirectories"in t||(this.treatPackagesAsDirectories=!1),Object.assign(this,t)}static createFrom(t={}){const o=d;let i=typeof t=="string"?JSON.parse(t):t;return"filters"in i&&(i.filters=o(i.filters)),new a(i)}}class r{displayName;pattern;constructor(t={}){"displayName"in t||(this.displayName=""),"pattern"in t||(this.pattern=""),Object.assign(this,t)}static createFrom(t={}){let o=typeof t=="string"?JSON.parse(t):t;return new r(o)}}const S=r.createFrom,d=C.Array(S);function p(c,t){const o={...c};for(const[i,g]of Object.entries(c)){if(i==="$zero"||!i.startsWith(t))continue;const u=i.slice(t.length).replace(/([a-z0-9])([A-Z])/g,"$1_$2").toUpperCase();u&&(o[u]=g)}return o}const m=p(e.ConnectionStatusCode,"ConnectionStatus"),y=Object.freeze(Object.defineProperty({__proto__:null,Connection:e.Connection,ConnectionAutoConnect:e.ConnectionAutoConnect,ConnectionAutoConnectRetry:e.ConnectionAutoConnectRetry,ConnectionAutoConnectTrigger:e.ConnectionAutoConnectTrigger,ConnectionLifecycle:e.ConnectionLifecycle,ConnectionStatus:e.ConnectionStatus,ConnectionStatusCode:m,PluginCapability:e.Capability,PluginInfo:e.PluginInfo},Symbol.toStringTag,{value:"Module"}));class l{filename;contents;constructor(t={}){"filename"in t||(this.filename=""),"contents"in t||(this.contents=""),Object.assign(this,t)}static createFrom(t={}){let o=typeof t=="string"?JSON.parse(t):t;return new l(o)}}const f=Object.freeze(Object.defineProperty({__proto__:null,GetLanguageInput:l},Symbol.toStringTag,{value:"Module"}));exports.ActionTargetBuilder=e.ActionTargetBuilder;exports.AggregateValue=e.AggregateValue;exports.Category=e.Category;exports.ColorRange=e.ColorRange;exports.Connection=e.Connection;exports.ConnectionAutoConnect=e.ConnectionAutoConnect;exports.ConnectionAutoConnectRetry=e.ConnectionAutoConnectRetry;exports.ConnectionAutoConnectTrigger=e.ConnectionAutoConnectTrigger;exports.ConnectionLifecycle=e.ConnectionLifecycle;exports.ConnectionStatus=e.ConnectionStatus;exports.ConnectionStatusCode=e.ConnectionStatusCode;exports.CurrentValue=e.CurrentValue;exports.DataPoint=e.DataPoint;exports.FindPortForwardSessionRequest=e.FindPortForwardSessionRequest;exports.GetPluginComponentsInput=e.GetPluginComponentsInput;exports.GetResourceAreaComponentInput=e.GetResourceAreaComponentInput;exports.GetResourceComponentsInput=e.GetResourceComponentsInput;exports.Handler=e.Handler;exports.LogSession=e.LogSession;exports.LogSessionOptions=e.LogSessionOptions;exports.LogSessionStatus=e.LogSessionStatus;exports.LogSource=e.LogSource;exports.LogStreamCommand=e.LogStreamCommand;exports.MetricDescriptor=e.MetricDescriptor;exports.MetricResult=e.MetricResult;exports.MetricShape=e.MetricShape;exports.MetricUnit=e.MetricUnit;exports.PluginAuthor=e.PluginAuthor;exports.PluginCapability=e.Capability;exports.PluginComponentArea=e.PluginComponentArea;exports.PluginComponents=e.PluginComponents;exports.PluginInfo=e.PluginInfo;exports.PluginMaintainer=e.PluginMaintainer;exports.PluginMeta=e.PluginMeta;exports.PluginResourceComponent=e.PluginResourceComponent;exports.PluginTheme=e.PluginTheme;exports.PluginThemeColors=e.PluginThemeColors;exports.PortForwardConnectionType=e.PortForwardConnectionType;exports.PortForwardProtocol=e.PortForwardProtocol;exports.PortForwardSession=e.PortForwardSession;exports.PortForwardSessionEncryption=e.PortForwardSessionEncryption;exports.QueryResponse=e.QueryResponse;exports.ResourceComponent=e.ResourceComponent;exports.ResourceComponentArea=e.ResourceComponentArea;exports.Session=e.Session;exports.SessionOptions=e.SessionOptions;exports.SessionState=e.SessionState;exports.Setting=e.Setting;exports.SettingFileSelection=e.SettingFileSelection;exports.SettingOption=e.SettingOption;exports.SettingType=e.SettingType;exports.StateIsolationProvenance=e.StateIsolationProvenance;exports.TimeSeries=e.TimeSeries;exports.ValidationResult=e.ValidationResult;exports.config=e.models;exports.exec=e.models$1;exports.logs=e.models$2;exports.metric=e.models$3;exports.networker=e.models$4;exports.registry=e.models$5;exports.settings=e.models$6;exports.time=e.models$7;exports.ui=e.models$8;exports.window=e.models$9;exports.SyncPolicy=s.SyncPolicy;exports.WatchState=s.WatchState;exports.sameGraphNode=s.sameGraphNode;exports.BuildError=n.BuildError;exports.DevProcessStatus=n.DevProcessStatus;exports.DevServerErrorPayload=n.DevServerErrorPayload;exports.DevServerLogEntry=n.LogEntry;exports.DevServerMode=n.DevServerMode;exports.DevServerState=n.DevServerState;exports.LifecycleStage=n.LifecycleStage;exports.PluginLogEntry=n.LogEntry$1;exports.devserver=n.models;exports.mcprelay=n.models$1;exports.pluginlog=n.models$2;exports.FileDialogOptions=a;exports.FileFilter=r;exports.types=y;exports.utils=f;
|
package/dist/models.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { A as c } from "./index-zyAgCXOO.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { S as
|
|
5
|
-
import { B as
|
|
2
|
+
import { l as g, d as p, m as f, n as u, o as S, p as d, C as m, q as y, c as C } from "./models-BlxGoC2X.js";
|
|
3
|
+
import { r as T, s as R, e as M, t as N, u as j, v as _, F as E, G as x, w as z, x as G, H, L as I, y as k, z as B, B as J, E as W, M as U, J as V, K as q, N as Q, O as Z, T as K, U as X, W as Y, P as $, X as ee, Y as te, Z as ae, _ as se, $ as ie, b as ne, a0 as oe, Q as re, g as le, a1 as ce, a as ge, S as pe, a2 as fe, a3 as ue, a4 as Se, a5 as de, a6 as me, a7 as ye, a8 as Ce, f as Pe, a9 as he, aa as ve, ab as Fe, ac as Ae, ad as De, ae as we, af as be, ag as Oe, ah as Le, ai as Te } from "./models-BlxGoC2X.js";
|
|
4
|
+
import { S as Me, W as Ne, s as je } from "./graph-JDqyJC_i.js";
|
|
5
|
+
import { B as Ee, d as xe, e as ze, L as Ge, f as He, D as Ie, g as ke, c as Be, m as Je, h as We, i as Ue } from "./models-ddVn9pLv.js";
|
|
6
6
|
class r {
|
|
7
7
|
defaultDirectory;
|
|
8
8
|
defaultFilename;
|
|
@@ -59,7 +59,7 @@ function v(n, e) {
|
|
|
59
59
|
}
|
|
60
60
|
return t;
|
|
61
61
|
}
|
|
62
|
-
const F = v(g, "ConnectionStatus"),
|
|
62
|
+
const F = v(g, "ConnectionStatus"), w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
63
63
|
__proto__: null,
|
|
64
64
|
Connection: p,
|
|
65
65
|
ConnectionAutoConnect: f,
|
|
@@ -93,9 +93,9 @@ const b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
93
93
|
export {
|
|
94
94
|
T as ActionTargetBuilder,
|
|
95
95
|
R as AggregateValue,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
96
|
+
Ee as BuildError,
|
|
97
|
+
M as Category,
|
|
98
|
+
N as ColorRange,
|
|
99
99
|
p as Connection,
|
|
100
100
|
f as ConnectionAutoConnect,
|
|
101
101
|
u as ConnectionAutoConnectRetry,
|
|
@@ -103,23 +103,23 @@ export {
|
|
|
103
103
|
d as ConnectionLifecycle,
|
|
104
104
|
m as ConnectionStatus,
|
|
105
105
|
g as ConnectionStatusCode,
|
|
106
|
-
|
|
106
|
+
j as CurrentValue,
|
|
107
107
|
_ as DataPoint,
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
108
|
+
xe as DevProcessStatus,
|
|
109
|
+
ze as DevServerErrorPayload,
|
|
110
|
+
Ge as DevServerLogEntry,
|
|
111
|
+
He as DevServerMode,
|
|
112
|
+
Ie as DevServerState,
|
|
113
113
|
r as FileDialogOptions,
|
|
114
114
|
s as FileFilter,
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
115
|
+
E as FindPortForwardSessionRequest,
|
|
116
|
+
x as GetPluginComponentsInput,
|
|
117
|
+
z as GetResourceAreaComponentInput,
|
|
118
|
+
G as GetResourceComponentsInput,
|
|
119
|
+
H as Handler,
|
|
120
|
+
ke as LifecycleStage,
|
|
121
|
+
I as LogSession,
|
|
122
|
+
k as LogSessionOptions,
|
|
123
123
|
B as LogSessionStatus,
|
|
124
124
|
J as LogSource,
|
|
125
125
|
W as LogStreamCommand,
|
|
@@ -132,7 +132,7 @@ export {
|
|
|
132
132
|
K as PluginComponentArea,
|
|
133
133
|
X as PluginComponents,
|
|
134
134
|
C as PluginInfo,
|
|
135
|
-
|
|
135
|
+
Be as PluginLogEntry,
|
|
136
136
|
Y as PluginMaintainer,
|
|
137
137
|
$ as PluginMeta,
|
|
138
138
|
ee as PluginResourceComponent,
|
|
@@ -153,24 +153,24 @@ export {
|
|
|
153
153
|
de as SettingOption,
|
|
154
154
|
me as SettingType,
|
|
155
155
|
ye as StateIsolationProvenance,
|
|
156
|
-
|
|
156
|
+
Me as SyncPolicy,
|
|
157
157
|
Ce as TimeSeries,
|
|
158
158
|
Pe as ValidationResult,
|
|
159
|
-
|
|
159
|
+
Ne as WatchState,
|
|
160
160
|
he as config,
|
|
161
|
-
|
|
161
|
+
Je as devserver,
|
|
162
162
|
ve as exec,
|
|
163
163
|
Fe as logs,
|
|
164
|
-
|
|
164
|
+
We as mcprelay,
|
|
165
165
|
Ae as metric,
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
166
|
+
De as networker,
|
|
167
|
+
Ue as pluginlog,
|
|
168
|
+
we as registry,
|
|
169
|
+
je as sameGraphNode,
|
|
170
170
|
be as settings,
|
|
171
171
|
Oe as time,
|
|
172
|
-
|
|
172
|
+
w as types,
|
|
173
173
|
Le as ui,
|
|
174
174
|
b as utils,
|
|
175
|
-
|
|
175
|
+
Te as window
|
|
176
176
|
};
|