@omniviewdev/runtime 0.25.0 → 0.27.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.
Files changed (43) hide show
  1. package/dist/api.cjs +1 -1
  2. package/dist/api.d.ts +2 -0
  3. package/dist/api.js +492 -276
  4. package/dist/bindings/events/index.d.ts +12 -0
  5. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/index.d.ts +1 -1
  6. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/models.d.ts +85 -0
  7. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/servicewrapper.d.ts +3 -1
  8. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/servicewrapper.d.ts +2 -1
  9. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/types/index.d.ts +1 -1
  10. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/types/models.d.ts +22 -0
  11. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/resourcecatalog/index.d.ts +1 -0
  12. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/resourcecatalog/models.d.ts +127 -0
  13. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/resource/v2/index.d.ts +1 -1
  14. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/resource/v2/models.d.ts +45 -18
  15. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/types/index.d.ts +1 -1
  16. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/types/models.d.ts +0 -22
  17. package/dist/compat/types.d.ts +2 -1
  18. package/dist/context/drawer/types.d.ts +8 -0
  19. package/dist/hooks/resource/index.d.ts +1 -0
  20. package/dist/hooks/resource/useEditorSchemas.d.ts +9 -8
  21. package/dist/hooks/resource/useSchemaFields.d.ts +45 -0
  22. package/dist/index.cjs +4 -4
  23. package/dist/index.d.ts +1 -0
  24. package/dist/index.js +1685 -1582
  25. package/dist/{models-CewFz24b.js → models-BwT6PfKo.js} +41 -38
  26. package/dist/{models-CLq49NOj.js → models-CcH0zldZ.js} +1 -1
  27. package/dist/{models-BHsd9kBp.cjs → models-CpFXL1IY.cjs} +1 -1
  28. package/dist/models-R2rKpSiU.cjs +1 -0
  29. package/dist/models.cjs +1 -1
  30. package/dist/models.d.ts +4 -1
  31. package/dist/models.js +100 -94
  32. package/dist/resource/v2/ancillary.d.ts +1 -8
  33. package/dist/resource/v2/client.d.ts +5 -2
  34. package/dist/resource/v2/domain.d.ts +0 -2
  35. package/dist/resource/v2/query-lease.d.ts +145 -0
  36. package/dist/resource/v2/query-observer.d.ts +37 -0
  37. package/dist/resource/v2/query.d.ts +120 -0
  38. package/dist/resource/v2/schema.d.ts +86 -0
  39. package/dist/{service-Bu30yNPj.js → service-Brxo1pLe.js} +306 -299
  40. package/dist/service-COOtx0k6.cjs +1 -0
  41. package/package.json +3 -3
  42. package/dist/models-DH1E1koG.cjs +0 -1
  43. package/dist/service-wGUMmq3M.cjs +0 -1
package/dist/api.js CHANGED
@@ -1,48 +1,263 @@
1
- import { s as ke, e as Le, g as Me, l as Ee, m as Ae, n as Re, a as Ge, c as Je, b as xe, d as ze, f as Ue } from "./service-Bu30yNPj.js";
2
- import { A as o, N as T, a as l, M as I } from "./index-zyAgCXOO.js";
3
- import { B as n } from "./calls-DYGtxNJ6.js";
4
- import { C as P, S as C, a as N, P as k, b as L, T as M, D as E, L as A, c as R } from "./models-CLq49NOj.js";
5
- let G = class F {
1
+ import { s as Ht, e as Qt, g as Xt, l as Kt, m as Yt, n as $t, a as en, c as tn, b as nn, d as rn, f as sn } from "./service-Brxo1pLe.js";
2
+ import { A as l, N, a as m, M as R } from "./index-zyAgCXOO.js";
3
+ import { B as r } from "./calls-DYGtxNJ6.js";
4
+ import { C as M, S as L, a as z, P as J, b as q, T as B, D as U, L as V, c as W } from "./models-CcH0zldZ.js";
5
+ const d = {
6
+ kind: "none"
7
+ }, Z = (1n << 64n) - 1n, g = (t) => typeof t == "string" && /^(0|[1-9][0-9]*)$/.test(t) && t.length <= 20 && BigInt(t) <= Z, A = (t, e) => Number.isSafeInteger(t) && t >= 0 && t <= e;
8
+ function a(t, e, n = []) {
9
+ return t !== null && typeof t == "object" && !Array.isArray(t) && e.every((i) => Object.prototype.hasOwnProperty.call(t, i)) && Object.keys(t).every((i) => e.includes(i) || n.includes(i));
10
+ }
11
+ function f(t) {
12
+ return typeof t == "string";
13
+ }
14
+ function o(t) {
15
+ return f(t) && t.length > 0;
16
+ }
17
+ function _(t) {
18
+ return t === "complete" || t === "partial" || t === "unknown";
19
+ }
20
+ function H(t) {
21
+ return !a(t, ["type", "title", "status", "detail"], ["instance", "suggestions", "actions", "code", "requestId", "recovery", "location"]) || !f(t.type) || !f(t.title) || !Number.isSafeInteger(t.status) || !f(t.detail) || ["instance", "code", "requestId", "recovery"].some((e) => e in t && !f(t[e])) || "suggestions" in t && (!Array.isArray(t.suggestions) || !t.suggestions.every(f)) || "actions" in t && (!Array.isArray(t.actions) || !t.actions.every((e) => a(e, ["type", "label"], ["target"]) && f(e.type) && f(e.label) && (!("target" in e) || f(e.target)))) ? !1 : !("location" in t) || a(t.location, ["start", "end", "unit"]) && Number.isSafeInteger(t.location.start) && Number.isSafeInteger(t.location.end) && f(t.location.unit);
22
+ }
23
+ function Q(t) {
24
+ if (!a(t, ["coverage", "limitations", "freshness", "count"], ["continuation"]) || !_(t.coverage) || !Array.isArray(t.limitations) || !t.limitations.every(f) || !["current", "snapshot", "stale"].includes(t.freshness) || "continuation" in t && !o(t.continuation)) return !1;
25
+ const e = t.count;
26
+ return a(e, ["kind"]) && e.kind === "unknown" || a(e, ["kind", "value"]) && (e.kind === "exact" || e.kind === "estimate") && g(e.value);
27
+ }
28
+ function X(t) {
29
+ if (!a(t, ["lane", "leaseId", "payload"], ["generation", "sequence"]) || !o(t.leaseId)) return !1;
30
+ const e = t.payload;
31
+ return t.lane === "control" ? !a(t, ["lane", "leaseId", "payload"]) || !a(e, ["kind"], ["reason", "generation", "nextGeneration", "state", "error"]) ? !1 : e.kind === "reset" ? a(e, ["kind", "generation", "nextGeneration", "reason"]) && o(e.generation) && o(e.nextGeneration) && ["gap", "overflow", "sourceInvalidated", "bindingChanged"].includes(e.reason) : e.kind === "control" ? a(e, ["kind", "state", "generation"]) && e.state === "complete" && o(e.generation) : e.kind === "close" ? a(e, ["kind", "reason"], ["error"]) && ["closed", "cancelled", "failed", "accessInvalidated"].includes(e.reason) && (!("error" in e) || H(e.error)) : !1 : t.lane !== "data" || !a(t, ["lane", "leaseId", "generation", "sequence", "payload"]) || !o(t.generation) || !g(t.sequence) || !a(e, ["kind", "metadata"], ["rows", "changes"]) || !Q(e.metadata) ? !1 : e.kind === "open" ? a(e, ["kind", "rows", "metadata"]) && Array.isArray(e.rows) && e.rows.every(p) : e.kind !== "changes" || !a(e, ["kind", "changes", "metadata"]) || !Array.isArray(e.changes) ? !1 : e.changes.every((n) => a(n, ["kind"], ["index", "key", "row"]) ? n.kind === "enter" ? a(n, ["kind", "index", "row"]) && Number.isSafeInteger(n.index) && p(n.row) : n.kind === "update" ? a(n, ["kind", "key", "row"]) && o(n.key) && p(n.row) : n.kind === "move" ? a(n, ["kind", "key", "index"]) && o(n.key) && Number.isSafeInteger(n.index) : (n.kind === "leave" || n.kind === "delete") && a(n, ["kind", "key"]) && o(n.key) : !1);
32
+ }
33
+ function w(t, e = 0) {
34
+ if (!t || e > 64 || !a(t, t.kind === "null" ? ["kind"] : ["kind", "value"])) return !1;
35
+ switch (t.kind) {
36
+ case "null":
37
+ return !0;
38
+ case "bool":
39
+ return typeof t.value == "boolean";
40
+ case "string":
41
+ case "timestamp":
42
+ return typeof t.value == "string";
43
+ case "double":
44
+ return typeof t.value == "number" && Number.isFinite(t.value);
45
+ case "uint64":
46
+ return g(t.value);
47
+ case "int64":
48
+ return typeof t.value == "string" && /^(-[1-9][0-9]*|0|[1-9][0-9]*)$/.test(t.value) && t.value.length <= 20 && BigInt(t.value) >= -(1n << 63n) && BigInt(t.value) < 1n << 63n;
49
+ case "list":
50
+ return Array.isArray(t.value) && t.value.every((n) => w(n, e + 1));
51
+ case "map":
52
+ return !!t.value && typeof t.value == "object" && !Array.isArray(t.value) && Object.values(t.value).every((n) => w(n, e + 1));
53
+ default:
54
+ return !1;
55
+ }
56
+ }
57
+ function p(t) {
58
+ return !a(t, ["key", "targetId", "resource", "representation", "provenance", "values"]) || !o(t.key) || !o(t.targetId) || !a(t.resource, ["address"], ["incarnation"]) || "incarnation" in t.resource && !o(t.resource.incarnation) || !a(t.resource.address, ["provider", "authority", "type", "scope", "id"]) || !o(t.resource.address.provider) || !o(t.resource.address.authority) || !o(t.resource.address.type) || !o(t.resource.address.id) || !Array.isArray(t.resource.address.scope) || !t.resource.address.scope.every((e) => a(e, ["dimension", "value"]) && o(e.dimension) && f(e.value)) || !a(t.representation, ["id", "revision"]) || !o(t.representation.id) || !o(t.representation.revision) || !a(t.provenance, ["source", "coverage", "stale"]) || !o(t.provenance.source) || !_(t.provenance.coverage) || typeof t.provenance.stale != "boolean" || !t.values || typeof t.values != "object" || Array.isArray(t.values) ? !1 : Object.values(t.values).every((e) => a(e, ["state"]) && (e.state === "absent" || e.state === "null") || a(e, ["state", "value"]) && e.state === "value" && w(e.value));
59
+ }
60
+ function K(t) {
61
+ const e = structuredClone(t), n = (i) => {
62
+ i && typeof i == "object" && !Object.isFrozen(i) && (Object.values(i).forEach(n), Object.freeze(i));
63
+ };
64
+ return n(e), e;
65
+ }
66
+ class Nt {
67
+ constructor(e, n) {
68
+ if (this.leaseId = e, this.maxRows = n, !e || !Number.isSafeInteger(n) || n < 1 || n > 512) throw new RangeError("Invalid lease or window bound");
69
+ }
70
+ leaseId;
71
+ maxRows;
72
+ snapshot = Object.freeze({
73
+ status: "attaching",
74
+ rows: Object.freeze([]),
75
+ stale: !1
76
+ });
77
+ generation;
78
+ sequence = 0n;
79
+ opened = !1;
80
+ recovering = !1;
81
+ previousReset;
82
+ getSnapshot() {
83
+ return this.snapshot;
84
+ }
85
+ attach(e) {
86
+ if (!e || this.snapshot.status !== "attaching") throw new Error("Invalid attachment");
87
+ this.generation = e, this.publish({
88
+ status: "pending",
89
+ generation: e,
90
+ rows: [],
91
+ stale: !1
92
+ });
93
+ }
94
+ /** A lost drain response cannot be retried: discard the lease and reopen. */
95
+ disconnected() {
96
+ return this.close(), {
97
+ kind: "reopen"
98
+ };
99
+ }
100
+ close() {
101
+ this.generation = void 0, this.previousReset = void 0, this.opened = !1, this.recovering = !1, this.publish({
102
+ status: "closed",
103
+ rows: [],
104
+ stale: !1
105
+ });
106
+ }
107
+ apply(e) {
108
+ if (this.snapshot.status === "closed" || e && typeof e == "object" && typeof e.leaseId == "string" && e.leaseId !== this.leaseId) return d;
109
+ if (this.snapshot.status === "attaching") return this.fail();
110
+ try {
111
+ if (!X(e) || new TextEncoder().encode(JSON.stringify(e)).length > 256 * 1024)
112
+ return this.publish({
113
+ ...this.snapshot,
114
+ rows: [],
115
+ metadata: void 0,
116
+ stale: !1
117
+ }), this.snapshot.status === "complete" ? this.disconnected() : this.fail();
118
+ } catch {
119
+ return this.publish({
120
+ ...this.snapshot,
121
+ rows: [],
122
+ metadata: void 0,
123
+ stale: !1
124
+ }), this.snapshot.status === "complete" ? this.disconnected() : this.fail();
125
+ }
126
+ if (this.snapshot.status === "complete" && (e.lane === "data" || e.lane === "control" && e.payload.kind === "reset")) return this.disconnected();
127
+ if (e.lane === "control") {
128
+ const n = e.payload;
129
+ if (n.kind === "close")
130
+ return this.close(), n.error && this.publish({
131
+ status: "closed",
132
+ rows: [],
133
+ stale: !1,
134
+ error: n.error
135
+ }), d;
136
+ if (n.kind === "control")
137
+ return n.generation === this.generation && this.opened && !this.recovering && this.publish({
138
+ ...this.snapshot,
139
+ status: "complete"
140
+ }), d;
141
+ if (n.generation !== this.generation) return d;
142
+ if (!n.nextGeneration || n.nextGeneration === n.generation || n.nextGeneration === this.previousReset?.generation)
143
+ return this.publish({
144
+ ...this.snapshot,
145
+ rows: [],
146
+ metadata: void 0,
147
+ stale: !1
148
+ }), this.fail();
149
+ this.previousReset = {
150
+ generation: n.generation,
151
+ nextGeneration: n.nextGeneration
152
+ }, this.generation = n.nextGeneration, this.sequence = 0n, this.opened = !1, this.recovering = !1;
153
+ const i = n.reason === "bindingChanged" || n.reason === "sourceInvalidated";
154
+ return this.publish({
155
+ status: "pending",
156
+ generation: this.generation,
157
+ rows: i ? [] : this.snapshot.rows,
158
+ metadata: i ? void 0 : this.snapshot.metadata,
159
+ stale: !i && this.snapshot.rows.length > 0
160
+ }), d;
161
+ }
162
+ if (e.generation !== this.generation || this.recovering) return d;
163
+ try {
164
+ if (new TextEncoder().encode(JSON.stringify(e)).length > 256 * 1024) return this.fail();
165
+ if (!g(e.sequence) || BigInt(e.sequence) !== this.sequence + 1n) return this.fail();
166
+ const n = e.payload;
167
+ if (n.metadata.count.kind !== "unknown" && !g(n.metadata.count.value)) return this.fail();
168
+ let i;
169
+ if (n.kind === "open") {
170
+ if (this.opened || n.rows.length > this.maxRows) return this.fail();
171
+ if (i = n.rows.slice(), i.some((s) => !p(s)) || new Set(i.map((s) => s.key)).size !== i.length) return this.fail();
172
+ } else {
173
+ if (!this.opened || n.changes.length > 128) return this.fail();
174
+ i = this.snapshot.rows.slice();
175
+ for (const s of n.changes)
176
+ if (s.kind === "enter") {
177
+ if (!p(s.row) || i.some((u) => u.key === s.row.key) || !A(s.index, i.length) || i.length >= this.maxRows) return this.fail();
178
+ i.splice(s.index, 0, s.row);
179
+ } else {
180
+ const u = i.findIndex((h) => h.key === s.key);
181
+ if (u < 0) return this.fail();
182
+ if (s.kind === "update") {
183
+ if (!p(s.row) || s.row.key !== s.key) return this.fail();
184
+ i[u] = s.row;
185
+ } else if (s.kind === "move") {
186
+ const [h] = i.splice(u, 1);
187
+ if (!A(s.index, i.length)) return this.fail();
188
+ i.splice(s.index, 0, h);
189
+ } else if (s.kind === "leave" || s.kind === "delete") i.splice(u, 1);
190
+ else return this.fail();
191
+ }
192
+ }
193
+ return this.sequence = BigInt(e.sequence), this.opened = !0, this.publish({
194
+ status: "ready",
195
+ generation: this.generation,
196
+ rows: i,
197
+ metadata: n.metadata,
198
+ stale: !1
199
+ }), d;
200
+ } catch {
201
+ return this.fail();
202
+ }
203
+ }
204
+ fail() {
205
+ return this.generation ? this.recovering ? d : (this.recovering = !0, this.publish({
206
+ ...this.snapshot,
207
+ status: "recovering",
208
+ stale: this.snapshot.rows.length > 0
209
+ }), {
210
+ kind: "recover",
211
+ generation: this.generation
212
+ }) : (this.close(), {
213
+ kind: "reopen"
214
+ });
215
+ }
216
+ publish(e) {
217
+ this.snapshot = K(e);
218
+ }
219
+ }
220
+ let Y = class P {
6
221
  running;
7
222
  url;
8
223
  source;
9
224
  error;
10
225
  /** Creates a new Status instance. */
11
- constructor(t = {}) {
12
- "running" in t || (this.running = !1), "url" in t || (this.url = ""), "source" in t || (this.source = ""), "error" in t || (this.error = ""), Object.assign(this, t);
226
+ constructor(e = {}) {
227
+ "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);
13
228
  }
14
229
  /**
15
230
  * Creates a new Status instance from a string or object.
16
231
  */
17
- static createFrom(t = {}) {
18
- let i = typeof t == "string" ? JSON.parse(t) : t;
19
- return new F(i);
232
+ static createFrom(e = {}) {
233
+ let n = typeof e == "string" ? JSON.parse(e) : e;
234
+ return new P(n);
20
235
  }
21
236
  };
22
- function J() {
23
- return n(3755720097).then((e) => x(e));
237
+ function $() {
238
+ return r(3755720097).then((t) => ee(t));
24
239
  }
25
- const x = G.createFrom, ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
240
+ const ee = Y.createFrom, _t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26
241
  __proto__: null,
27
- GetStatus: J
242
+ GetStatus: $
28
243
  }, Symbol.toStringTag, { value: "Module" }));
29
- class u {
244
+ class k {
30
245
  pid;
31
246
  startIdentity;
32
247
  executable;
33
248
  /** Creates a new ProcessObservation instance. */
34
- constructor(t = {}) {
35
- "pid" in t || (this.pid = 0), "startIdentity" in t || (this.startIdentity = ""), "executable" in t || (this.executable = ""), Object.assign(this, t);
249
+ constructor(e = {}) {
250
+ "pid" in e || (this.pid = 0), "startIdentity" in e || (this.startIdentity = ""), "executable" in e || (this.executable = ""), Object.assign(this, e);
36
251
  }
37
252
  /**
38
253
  * Creates a new ProcessObservation instance from a string or object.
39
254
  */
40
- static createFrom(t = {}) {
41
- let i = typeof t == "string" ? JSON.parse(t) : t;
42
- return new u(i);
255
+ static createFrom(e = {}) {
256
+ let n = typeof e == "string" ? JSON.parse(e) : e;
257
+ return new k(n);
43
258
  }
44
259
  }
45
- class d {
260
+ class v {
46
261
  key;
47
262
  role;
48
263
  pluginID;
@@ -53,61 +268,61 @@ class d {
53
268
  evidence;
54
269
  error;
55
270
  /** Creates a new Process instance. */
56
- constructor(t = {}) {
57
- "key" in t || (this.key = ""), "role" in t || (this.role = ""), "pluginID" in t || (this.pluginID = ""), "ownership" in t || (this.ownership = ""), "identity" in t || (this.identity = null), "windows" in t || (this.windows = []), "windowAssociation" in t || (this.windowAssociation = ""), "evidence" in t || (this.evidence = ""), "error" in t || (this.error = ""), Object.assign(this, t);
271
+ constructor(e = {}) {
272
+ "key" in e || (this.key = ""), "role" in e || (this.role = ""), "pluginID" in e || (this.pluginID = ""), "ownership" in e || (this.ownership = ""), "identity" in e || (this.identity = null), "windows" in e || (this.windows = []), "windowAssociation" in e || (this.windowAssociation = ""), "evidence" in e || (this.evidence = ""), "error" in e || (this.error = ""), Object.assign(this, e);
58
273
  }
59
274
  /**
60
275
  * Creates a new Process instance from a string or object.
61
276
  */
62
- static createFrom(t = {}) {
63
- const i = U, r = B;
64
- let a = typeof t == "string" ? JSON.parse(t) : t;
65
- return "identity" in a && (a.identity = i(a.identity)), "windows" in a && (a.windows = r(a.windows)), new d(a);
277
+ static createFrom(e = {}) {
278
+ const n = ne, i = re;
279
+ let s = typeof e == "string" ? JSON.parse(e) : e;
280
+ return "identity" in s && (s.identity = n(s.identity)), "windows" in s && (s.windows = i(s.windows)), new v(s);
66
281
  }
67
282
  }
68
- class h {
283
+ class I {
69
284
  observedAt;
70
285
  processes;
71
286
  /** Creates a new Snapshot instance. */
72
- constructor(t = {}) {
73
- "observedAt" in t || (this.observedAt = "0001-01-01T00:00:00.000Z"), "processes" in t || (this.processes = []), Object.assign(this, t);
287
+ constructor(e = {}) {
288
+ "observedAt" in e || (this.observedAt = "0001-01-01T00:00:00.000Z"), "processes" in e || (this.processes = []), Object.assign(this, e);
74
289
  }
75
290
  /**
76
291
  * Creates a new Snapshot instance from a string or object.
77
292
  */
78
- static createFrom(t = {}) {
79
- const i = Z;
80
- let r = typeof t == "string" ? JSON.parse(t) : t;
81
- return "processes" in r && (r.processes = i(r.processes)), new h(r);
293
+ static createFrom(e = {}) {
294
+ const n = ae;
295
+ let i = typeof e == "string" ? JSON.parse(e) : e;
296
+ return "processes" in i && (i.processes = n(i.processes)), new I(i);
82
297
  }
83
298
  }
84
- class g {
299
+ class O {
85
300
  name;
86
301
  id;
87
302
  nativeID;
88
303
  ownership;
89
304
  error;
90
305
  /** Creates a new Window instance. */
91
- constructor(t = {}) {
92
- "name" in t || (this.name = ""), "id" in t || (this.id = 0), "nativeID" in t || (this.nativeID = 0), "ownership" in t || (this.ownership = ""), "error" in t || (this.error = ""), Object.assign(this, t);
306
+ constructor(e = {}) {
307
+ "name" in e || (this.name = ""), "id" in e || (this.id = 0), "nativeID" in e || (this.nativeID = 0), "ownership" in e || (this.ownership = ""), "error" in e || (this.error = ""), Object.assign(this, e);
93
308
  }
94
309
  /**
95
310
  * Creates a new Window instance from a string or object.
96
311
  */
97
- static createFrom(t = {}) {
98
- let i = typeof t == "string" ? JSON.parse(t) : t;
99
- return new g(i);
312
+ static createFrom(e = {}) {
313
+ let n = typeof e == "string" ? JSON.parse(e) : e;
314
+ return new O(n);
100
315
  }
101
316
  }
102
- const z = u.createFrom, U = T(z), V = g.createFrom, B = o(V), W = d.createFrom, Z = o(W);
103
- function H() {
104
- return n(3873589115).then((e) => q(e));
317
+ const te = k.createFrom, ne = N(te), ie = O.createFrom, re = l(ie), se = v.createFrom, ae = l(se);
318
+ function oe() {
319
+ return r(3873589115).then((t) => ce(t));
105
320
  }
106
- const q = h.createFrom, Se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
321
+ const ce = I.createFrom, Pt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
107
322
  __proto__: null,
108
- GetSnapshot: H
323
+ GetSnapshot: oe
109
324
  }, Symbol.toStringTag, { value: "Module" }));
110
- class y {
325
+ class T {
111
326
  supported;
112
327
  enabled;
113
328
  engine;
@@ -116,235 +331,235 @@ class y {
116
331
  target;
117
332
  error;
118
333
  /** Creates a new Status instance. */
119
- constructor(t = {}) {
120
- "supported" in t || (this.supported = !1), "enabled" in t || (this.enabled = !1), "engine" in t || (this.engine = ""), "window" in t || (this.window = ""), "application" in t || (this.application = ""), "target" in t || (this.target = ""), "error" in t || (this.error = ""), Object.assign(this, t);
334
+ constructor(e = {}) {
335
+ "supported" in e || (this.supported = !1), "enabled" in e || (this.enabled = !1), "engine" in e || (this.engine = ""), "window" in e || (this.window = ""), "application" in e || (this.application = ""), "target" in e || (this.target = ""), "error" in e || (this.error = ""), Object.assign(this, e);
121
336
  }
122
337
  /**
123
338
  * Creates a new Status instance from a string or object.
124
339
  */
125
- static createFrom(t = {}) {
126
- let i = typeof t == "string" ? JSON.parse(t) : t;
127
- return new y(i);
340
+ static createFrom(e = {}) {
341
+ let n = typeof e == "string" ? JSON.parse(e) : e;
342
+ return new T(n);
128
343
  }
129
344
  }
130
- function K(e) {
131
- return n(2352399502, e).then((t) => Q(t));
345
+ function le(t) {
346
+ return r(2352399502, t).then((e) => fe(e));
132
347
  }
133
- const Q = y.createFrom, me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
348
+ const fe = T.createFrom, Ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
134
349
  __proto__: null,
135
- GetStatus: K
350
+ GetStatus: le
136
351
  }, Symbol.toStringTag, { value: "Module" }));
137
- function X(e, t) {
138
- return n(1112300727, e, t);
352
+ function de(t, e) {
353
+ return r(1112300727, t, e);
139
354
  }
140
- function Y(e) {
141
- return n(3545575747, e);
355
+ function ue(t) {
356
+ return r(3545575747, t);
142
357
  }
143
- function $() {
144
- return n(973353934).then((e) => ht(e));
358
+ function pe() {
359
+ return r(973353934).then((t) => xe(t));
145
360
  }
146
- function tt() {
147
- return n(3274001154).then((e) => gt(e));
361
+ function he() {
362
+ return r(3274001154).then((t) => De(t));
148
363
  }
149
- function et() {
150
- return n(1957733758).then((e) => St(e));
364
+ function ge() {
365
+ return r(1957733758).then((t) => Ne(t));
151
366
  }
152
- function nt() {
153
- return n(3570265771).then((e) => wt(e));
367
+ function ye() {
368
+ return r(3570265771).then((t) => Pe(t));
154
369
  }
155
- function it() {
156
- return n(338269344).then((e) => vt(e));
370
+ function me() {
371
+ return r(338269344).then((t) => Ee(t));
157
372
  }
158
- function rt(e) {
159
- return n(2544305887, e).then((t) => Ft(t));
373
+ function be(t) {
374
+ return r(2544305887, t).then((e) => Re(e));
160
375
  }
161
- function st(e, t) {
162
- return n(1042852749, e, t);
376
+ function Se(t, e) {
377
+ return r(1042852749, t, e);
163
378
  }
164
- function ot() {
165
- return n(3071199936);
379
+ function we() {
380
+ return r(3071199936);
166
381
  }
167
- function at(e) {
168
- return n(2852029597, e);
382
+ function ke(t) {
383
+ return r(2852029597, t);
169
384
  }
170
- function ct(e) {
171
- return n(2119350976, e);
385
+ function ve(t) {
386
+ return r(2119350976, t);
172
387
  }
173
- function lt(e, t, i) {
174
- return n(1507504662, e, t, i);
388
+ function Ie(t, e, n) {
389
+ return r(1507504662, t, e, n);
175
390
  }
176
- function pt(e) {
177
- return n(4286704285, e);
391
+ function Oe(t) {
392
+ return r(4286704285, t);
178
393
  }
179
- function ft(e, t) {
180
- return n(323373508, e, t);
394
+ function Te(t, e) {
395
+ return r(323373508, t, e);
181
396
  }
182
- function ut(e) {
183
- return n(2912056327, e);
397
+ function Fe(t) {
398
+ return r(2912056327, t);
184
399
  }
185
- function dt(e, t, i) {
186
- return n(3748367702, e, t, i);
400
+ function je(t, e, n) {
401
+ return r(3748367702, t, e, n);
187
402
  }
188
- const ht = P.createFrom, gt = C.createFrom, yt = N.createFrom, St = o(yt), mt = k.createFrom, wt = o(mt), bt = L.createFrom, vt = o(bt), Tt = M.createFrom, Ft = o(Tt), we = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
403
+ const xe = M.createFrom, De = L.createFrom, Ae = z.createFrom, Ne = l(Ae), _e = J.createFrom, Pe = l(_e), Ce = q.createFrom, Ee = l(Ce), Ge = B.createFrom, Re = l(Ge), Et = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
189
404
  __proto__: null,
190
- ApplyPreset: X,
191
- DeleteUserPreset: Y,
192
- GetConfig: $,
193
- GetStatus: tt,
194
- ListConnectionPolicies: et,
195
- ListPendingConfirmations: nt,
196
- ListPresets: it,
197
- ListTools: rt,
198
- ResolveConfirmation: st,
199
- RotateToken: ot,
200
- SaveUserPreset: at,
201
- SetBlockConnectionsByDefault: ct,
202
- SetConnectionAccess: lt,
203
- SetEnabled: pt,
204
- SetPluginEnabled: ft,
205
- SetPort: ut,
206
- SetToolOverride: dt
405
+ ApplyPreset: de,
406
+ DeleteUserPreset: ue,
407
+ GetConfig: pe,
408
+ GetStatus: he,
409
+ ListConnectionPolicies: ge,
410
+ ListPendingConfirmations: ye,
411
+ ListPresets: me,
412
+ ListTools: be,
413
+ ResolveConfirmation: Se,
414
+ RotateToken: we,
415
+ SaveUserPreset: ke,
416
+ SetBlockConnectionsByDefault: ve,
417
+ SetConnectionAccess: Ie,
418
+ SetEnabled: Oe,
419
+ SetPluginEnabled: Te,
420
+ SetPort: Fe,
421
+ SetToolOverride: je
207
422
  }, Symbol.toStringTag, { value: "Module" }));
208
- function Ot(e) {
209
- return n(3503478684, e);
423
+ function Me(t) {
424
+ return r(3503478684, t);
210
425
  }
211
- const be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
426
+ const Gt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
212
427
  __proto__: null,
213
- DetectLanguage: Ot
428
+ DetectLanguage: Me
214
429
  }, Symbol.toStringTag, { value: "Module" }));
215
- function Dt(e, t) {
216
- return n(2691208406, e, t);
430
+ function Le(t, e) {
431
+ return r(2691208406, t, e);
217
432
  }
218
- function _t(e, t) {
219
- return n(3932965591, e, t);
433
+ function ze(t, e) {
434
+ return r(3932965591, t, e);
220
435
  }
221
- function jt(e, t) {
222
- return n(1686862755, e, t);
436
+ function Je(t, e) {
437
+ return r(1686862755, t, e);
223
438
  }
224
- function It(e, t, i) {
225
- return n(3705442919, e, t, i);
439
+ function qe(t, e, n) {
440
+ return r(3705442919, t, e, n);
226
441
  }
227
- function Pt(e) {
228
- return n(3024854267, e);
442
+ function Be(t) {
443
+ return r(3024854267, t);
229
444
  }
230
- function Ct(e) {
231
- return n(3423289677, e);
445
+ function Ue(t) {
446
+ return r(3423289677, t);
232
447
  }
233
- function Nt(e) {
234
- return n(158417611, e);
448
+ function Ve(t) {
449
+ return r(158417611, t);
235
450
  }
236
- function kt(e) {
237
- return n(3413815733, e);
451
+ function We(t) {
452
+ return r(3413815733, t);
238
453
  }
239
- function Lt(e, t) {
240
- return n(2047870999, e, t);
454
+ function Ze(t, e) {
455
+ return r(2047870999, t, e);
241
456
  }
242
- const ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
457
+ const Rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
243
458
  __proto__: null,
244
- Debug: Dt,
245
- Error: _t,
246
- Info: jt,
247
- Log: It,
248
- ReadLog: Pt,
249
- ReportStartupReady: Ct,
250
- StartTail: Nt,
251
- StopTail: kt,
252
- Warn: Lt
459
+ Debug: Le,
460
+ Error: ze,
461
+ Info: Je,
462
+ Log: qe,
463
+ ReadLog: Be,
464
+ ReportStartupReady: Ue,
465
+ StartTail: Ve,
466
+ StopTail: We,
467
+ Warn: Ze
253
468
  }, Symbol.toStringTag, { value: "Module" }));
254
- class S {
469
+ class F {
255
470
  windowName;
256
471
  token;
257
472
  pending;
258
473
  /** Creates a new Registration instance. */
259
- constructor(t = {}) {
260
- "windowName" in t || (this.windowName = ""), "token" in t || (this.token = ""), Object.assign(this, t);
474
+ constructor(e = {}) {
475
+ "windowName" in e || (this.windowName = ""), "token" in e || (this.token = ""), Object.assign(this, e);
261
476
  }
262
477
  /**
263
478
  * Creates a new Registration instance from a string or object.
264
479
  */
265
- static createFrom(t = {}) {
266
- let i = typeof t == "string" ? JSON.parse(t) : t;
267
- return new S(i);
480
+ static createFrom(e = {}) {
481
+ let n = typeof e == "string" ? JSON.parse(e) : e;
482
+ return new F(n);
268
483
  }
269
484
  }
270
- function Mt() {
271
- return n(2260974144).then((e) => Rt(e));
485
+ function He() {
486
+ return r(2260974144).then((t) => Ke(t));
272
487
  }
273
- function Et(e, t, i, r) {
274
- return n(286400678, e, t, i, r);
488
+ function Qe(t, e, n, i) {
489
+ return r(286400678, t, e, n, i);
275
490
  }
276
- function At(e) {
277
- return n(1772773955, e);
491
+ function Xe(t) {
492
+ return r(1772773955, t);
278
493
  }
279
- const Rt = S.createFrom, Te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
494
+ const Ke = F.createFrom, Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
280
495
  __proto__: null,
281
- Register: Mt,
282
- Respond: Et,
283
- Unregister: At
496
+ Register: He,
497
+ Respond: Qe,
498
+ Unregister: Xe
284
499
  }, Symbol.toStringTag, { value: "Module" }));
285
- function Gt(e, t) {
286
- return n(712656304, e, t).then((i) => qt(i));
500
+ function Ye(t, e) {
501
+ return r(712656304, t, e).then((n) => ct(n));
287
502
  }
288
- function Jt(e) {
289
- return n(4153226260, e).then((t) => c(t));
503
+ function $e(t) {
504
+ return r(4153226260, t).then((e) => y(e));
290
505
  }
291
- function xt(e) {
292
- return n(1859413816, e);
506
+ function et(t) {
507
+ return r(1859413816, t);
293
508
  }
294
- function zt() {
295
- return n(2707386443).then((e) => Kt(e));
509
+ function tt() {
510
+ return r(2707386443).then((t) => lt(t));
296
511
  }
297
- function Ut(e) {
298
- return n(2381063937, e);
512
+ function nt(t) {
513
+ return r(2381063937, t);
299
514
  }
300
- function Vt(e) {
301
- return n(123659362, e).then((t) => c(t));
515
+ function it(t) {
516
+ return r(123659362, t).then((e) => y(e));
302
517
  }
303
- function Bt(e) {
304
- return n(709599671, e).then((t) => c(t));
518
+ function rt(t) {
519
+ return r(709599671, t).then((e) => y(e));
305
520
  }
306
- function Wt(e, t) {
307
- return n(2105869281, e, t).then((i) => c(i));
521
+ function st(t, e) {
522
+ return r(2105869281, t, e).then((n) => y(n));
308
523
  }
309
- function Zt(e) {
310
- return n(1371062537, e);
524
+ function at(t) {
525
+ return r(1371062537, t);
311
526
  }
312
- const Ht = A.createFrom, qt = o(Ht), c = E.createFrom, Kt = o(c), Fe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
527
+ const ot = V.createFrom, ct = l(ot), y = U.createFrom, lt = l(y), Lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
313
528
  __proto__: null,
314
- GetDevServerLogs: Gt,
315
- GetDevServerState: Jt,
316
- IsManaged: xt,
317
- ListDevServerStates: zt,
318
- RebuildPlugin: Ut,
319
- RestartDevServer: Vt,
320
- StartDevServer: Bt,
321
- StartDevServerForPath: Wt,
322
- StopDevServer: Zt
529
+ GetDevServerLogs: Ye,
530
+ GetDevServerState: $e,
531
+ IsManaged: et,
532
+ ListDevServerStates: tt,
533
+ RebuildPlugin: nt,
534
+ RestartDevServer: it,
535
+ StartDevServer: rt,
536
+ StartDevServerForPath: st,
537
+ StopDevServer: at
323
538
  }, Symbol.toStringTag, { value: "Module" }));
324
- function Qt(e, t) {
325
- return n(1867216983, e, t).then((i) => O(i));
539
+ function ft(t, e) {
540
+ return r(1867216983, t, e).then((n) => C(n));
326
541
  }
327
- function Xt() {
328
- return n(3418650705).then((e) => ne(e));
542
+ function dt() {
543
+ return r(3418650705).then((t) => yt(t));
329
544
  }
330
- function Yt(e, t) {
331
- return n(4138610615, e, t).then((i) => O(i));
545
+ function ut(t, e) {
546
+ return r(4138610615, t, e).then((n) => C(n));
332
547
  }
333
- function $t(e) {
334
- return n(3055914536, e);
548
+ function pt(t) {
549
+ return r(3055914536, t);
335
550
  }
336
- function te(e) {
337
- return n(1502487629, e);
551
+ function ht(t) {
552
+ return r(1502487629, t);
338
553
  }
339
- const ee = R.createFrom, O = o(ee), ne = o(l), Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
554
+ const gt = W.createFrom, C = l(gt), yt = l(m), zt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
340
555
  __proto__: null,
341
- GetLogs: Qt,
342
- ListStreams: Xt,
343
- SearchLogs: Yt,
344
- Subscribe: $t,
345
- Unsubscribe: te
556
+ GetLogs: ft,
557
+ ListStreams: dt,
558
+ SearchLogs: ut,
559
+ Subscribe: pt,
560
+ Unsubscribe: ht
346
561
  }, Symbol.toStringTag, { value: "Module" }));
347
- class p {
562
+ class b {
348
563
  browser;
349
564
  vite;
350
565
  hmr;
@@ -352,35 +567,35 @@ class p {
352
567
  control;
353
568
  health;
354
569
  /** Creates a new Endpoints instance. */
355
- constructor(t = {}) {
356
- "browser" in t || (this.browser = null), "vite" in t || (this.vite = null), "hmr" in t || (this.hmr = null), "mcp" in t || (this.mcp = null), "control" in t || (this.control = null), "health" in t || (this.health = null), Object.assign(this, t);
570
+ constructor(e = {}) {
571
+ "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);
357
572
  }
358
573
  /**
359
574
  * Creates a new Endpoints instance from a string or object.
360
575
  */
361
- static createFrom(t = {}) {
362
- let i = typeof t == "string" ? JSON.parse(t) : t;
363
- return new p(i);
576
+ static createFrom(e = {}) {
577
+ let n = typeof e == "string" ? JSON.parse(e) : e;
578
+ return new b(n);
364
579
  }
365
580
  }
366
- class m {
581
+ let mt = class E {
367
582
  code;
368
583
  message;
369
584
  details;
370
585
  /** Creates a new Error instance. */
371
- constructor(t = {}) {
372
- "code" in t || (this.code = ""), "message" in t || (this.message = ""), Object.assign(this, t);
586
+ constructor(e = {}) {
587
+ "code" in e || (this.code = ""), "message" in e || (this.message = ""), Object.assign(this, e);
373
588
  }
374
589
  /**
375
590
  * Creates a new Error instance from a string or object.
376
591
  */
377
- static createFrom(t = {}) {
378
- const i = ie;
379
- let r = typeof t == "string" ? JSON.parse(t) : t;
380
- return "details" in r && (r.details = i(r.details)), new m(r);
592
+ static createFrom(e = {}) {
593
+ const n = bt;
594
+ let i = typeof e == "string" ? JSON.parse(e) : e;
595
+ return "details" in i && (i.details = n(i.details)), new E(i);
381
596
  }
382
- }
383
- class w {
597
+ };
598
+ class j {
384
599
  schemaVersion;
385
600
  workspaceID;
386
601
  instanceID;
@@ -399,19 +614,19 @@ class w {
399
614
  lastError;
400
615
  startedAt;
401
616
  /** Creates a new InstanceDescriptor instance. */
402
- constructor(t = {}) {
403
- "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 f()), "version" in t || (this.version = ""), "commit" in t || (this.commit = ""), "repositories" in t || (this.repositories = []), "endpoints" in t || (this.endpoints = new p()), "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);
617
+ constructor(e = {}) {
618
+ "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 S()), "version" in e || (this.version = ""), "commit" in e || (this.commit = ""), "repositories" in e || (this.repositories = []), "endpoints" in e || (this.endpoints = new b()), "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);
404
619
  }
405
620
  /**
406
621
  * Creates a new InstanceDescriptor instance from a string or object.
407
622
  */
408
- static createFrom(t = {}) {
409
- const i = re, r = oe, a = ae, _ = le, j = D;
410
- let s = typeof t == "string" ? JSON.parse(t) : t;
411
- return "process" in s && (s.process = i(s.process)), "repositories" in s && (s.repositories = r(s.repositories)), "endpoints" in s && (s.endpoints = a(s.endpoints)), "plugins" in s && (s.plugins = _(s.plugins)), "lastError" in s && (s.lastError = j(s.lastError)), new w(s);
623
+ static createFrom(e = {}) {
624
+ const n = St, i = kt, s = vt, u = Ot, h = G;
625
+ let c = typeof e == "string" ? JSON.parse(e) : e;
626
+ return "process" in c && (c.process = n(c.process)), "repositories" in c && (c.repositories = i(c.repositories)), "endpoints" in c && (c.endpoints = s(c.endpoints)), "plugins" in c && (c.plugins = u(c.plugins)), "lastError" in c && (c.lastError = h(c.lastError)), new j(c);
412
627
  }
413
628
  }
414
- class b {
629
+ class x {
415
630
  id;
416
631
  version;
417
632
  source;
@@ -424,19 +639,19 @@ class b {
424
639
  operationID;
425
640
  lastError;
426
641
  /** Creates a new PluginState instance. */
427
- constructor(t = {}) {
428
- "id" in t || (this.id = ""), "version" in t || (this.version = ""), "source" in t || (this.source = ""), "generation" in t || (this.generation = ""), "mode" in t || (this.mode = ""), "buildStatus" in t || (this.buildStatus = ""), "viteStatus" in t || (this.viteStatus = ""), "rpcStatus" in t || (this.rpcStatus = ""), "controllerStatus" in t || (this.controllerStatus = ""), Object.assign(this, t);
642
+ constructor(e = {}) {
643
+ "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);
429
644
  }
430
645
  /**
431
646
  * Creates a new PluginState instance from a string or object.
432
647
  */
433
- static createFrom(t = {}) {
434
- const i = D;
435
- let r = typeof t == "string" ? JSON.parse(t) : t;
436
- return "lastError" in r && (r.lastError = i(r.lastError)), new b(r);
648
+ static createFrom(e = {}) {
649
+ const n = G;
650
+ let i = typeof e == "string" ? JSON.parse(e) : e;
651
+ return "lastError" in i && (i.lastError = n(i.lastError)), new x(i);
437
652
  }
438
653
  }
439
- class f {
654
+ class S {
440
655
  pid;
441
656
  startIdentity;
442
657
  executable;
@@ -445,75 +660,76 @@ class f {
445
660
  role;
446
661
  source;
447
662
  /** Creates a new ProcessIdentity instance. */
448
- constructor(t = {}) {
449
- "pid" in t || (this.pid = 0), "startIdentity" in t || (this.startIdentity = ""), "executable" in t || (this.executable = ""), "workspaceID" in t || (this.workspaceID = ""), "generation" in t || (this.generation = ""), "role" in t || (this.role = ""), Object.assign(this, t);
663
+ constructor(e = {}) {
664
+ "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);
450
665
  }
451
666
  /**
452
667
  * Creates a new ProcessIdentity instance from a string or object.
453
668
  */
454
- static createFrom(t = {}) {
455
- let i = typeof t == "string" ? JSON.parse(t) : t;
456
- return new f(i);
669
+ static createFrom(e = {}) {
670
+ let n = typeof e == "string" ? JSON.parse(e) : e;
671
+ return new S(n);
457
672
  }
458
673
  }
459
- class v {
674
+ class D {
460
675
  id;
461
676
  path;
462
677
  ref;
463
678
  commit;
464
679
  /** Creates a new RepositoryResolution instance. */
465
- constructor(t = {}) {
466
- "id" in t || (this.id = ""), "path" in t || (this.path = ""), "ref" in t || (this.ref = ""), "commit" in t || (this.commit = ""), Object.assign(this, t);
680
+ constructor(e = {}) {
681
+ "id" in e || (this.id = ""), "path" in e || (this.path = ""), "ref" in e || (this.ref = ""), "commit" in e || (this.commit = ""), Object.assign(this, e);
467
682
  }
468
683
  /**
469
684
  * Creates a new RepositoryResolution instance from a string or object.
470
685
  */
471
- static createFrom(t = {}) {
472
- let i = typeof t == "string" ? JSON.parse(t) : t;
473
- return new v(i);
686
+ static createFrom(e = {}) {
687
+ let n = typeof e == "string" ? JSON.parse(e) : e;
688
+ return new D(n);
474
689
  }
475
690
  }
476
- const ie = I(l, l), re = f.createFrom, se = v.createFrom, oe = o(se), ae = p.createFrom, ce = b.createFrom, le = o(ce), pe = m.createFrom, D = T(pe);
477
- function De() {
478
- return n(678226073).then((e) => fe(e));
691
+ const bt = R(m, m), St = S.createFrom, wt = D.createFrom, kt = l(wt), vt = b.createFrom, It = x.createFrom, Ot = l(It), Tt = mt.createFrom, G = N(Tt);
692
+ function Jt() {
693
+ return r(678226073).then((t) => Ft(t));
479
694
  }
480
- function _e() {
481
- return n(1706570792);
695
+ function qt() {
696
+ return r(1706570792);
482
697
  }
483
- function je(e) {
484
- return n(2957909098, e).then((t) => ue(t));
698
+ function Bt(t) {
699
+ return r(2957909098, t).then((e) => jt(e));
485
700
  }
486
- function Ie(e) {
487
- return n(473489213, e);
701
+ function Ut(t) {
702
+ return r(473489213, t);
488
703
  }
489
- function Pe(e, t) {
490
- return n(3778694836, e, t);
704
+ function Vt(t, e) {
705
+ return r(3778694836, t, e);
491
706
  }
492
- const fe = w.createFrom, ue = o(l);
707
+ const Ft = j.createFrom, jt = l(m);
493
708
  export {
494
- ke as DataClient,
495
- Fe as DevServerManager,
496
- ve as DiagnosticsClient,
497
- Le as ExecClient,
498
- Te as ExtensionDiagnosticsClient,
499
- De as GetInstanceInfo,
500
- _e as GetOperatingSystem,
501
- Me as GraphClient,
502
- ye as HostProfiling,
503
- Ee as LogsClient,
504
- we as McpRelayClient,
505
- Ae as MetricClient,
506
- Re as NetworkerClient,
507
- je as OpenFileSelectionDialog,
508
- Oe as PluginLogManager,
509
- Ge as PluginManager,
510
- Se as ProcessInventory,
511
- Je as ResourceClient,
512
- Ie as SaveFileDialog,
513
- xe as SettingsService,
514
- ze as UIClient,
515
- me as UiInspection,
516
- be as UtilsClient,
517
- Ue as WindowClient,
518
- Pe as WriteFileContent
709
+ Ht as DataClient,
710
+ Lt as DevServerManager,
711
+ Rt as DiagnosticsClient,
712
+ Qt as ExecClient,
713
+ Mt as ExtensionDiagnosticsClient,
714
+ Jt as GetInstanceInfo,
715
+ qt as GetOperatingSystem,
716
+ Xt as GraphClient,
717
+ _t as HostProfiling,
718
+ Kt as LogsClient,
719
+ Et as McpRelayClient,
720
+ Yt as MetricClient,
721
+ $t as NetworkerClient,
722
+ Bt as OpenFileSelectionDialog,
723
+ zt as PluginLogManager,
724
+ en as PluginManager,
725
+ Pt as ProcessInventory,
726
+ Nt as QueryLeaseObserver,
727
+ tn as ResourceClient,
728
+ Ut as SaveFileDialog,
729
+ nn as SettingsService,
730
+ rn as UIClient,
731
+ Ct as UiInspection,
732
+ Gt as UtilsClient,
733
+ sn as WindowClient,
734
+ Vt as WriteFileContent
519
735
  };