@omniviewdev/runtime 0.13.0 → 0.15.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 (35) hide show
  1. package/dist/api.cjs +1 -1
  2. package/dist/api.d.ts +2 -2
  3. package/dist/api.js +199 -175
  4. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/index.d.ts +1 -1
  5. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/models.d.ts +18 -0
  6. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/servicewrapper.d.ts +1 -0
  7. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/settings/binding.d.ts +8 -0
  8. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/settings/index.d.ts +3 -0
  9. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/settings/models.d.ts +33 -0
  10. package/dist/bindings/github.com/omniviewdev/omniview/internal/profiling/servicewrapper.d.ts +3 -0
  11. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/profiling/index.d.ts +1 -0
  12. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/profiling/models.d.ts +12 -0
  13. package/dist/bindings/github.com/omniviewdev/plugin-sdk/settings/models.d.ts +8 -0
  14. package/dist/context/plugins/usePluginContext.d.ts +0 -1
  15. package/dist/context/settings/SettingsContext.d.ts +0 -1
  16. package/dist/hooks/settings/index.d.ts +1 -0
  17. package/dist/hooks/settings/useScopedSettings.d.ts +30 -0
  18. package/dist/index.cjs +4 -4
  19. package/dist/index.js +1829 -1756
  20. package/dist/{models-Cg1YRHQm.js → models-BJgLAHwq.js} +1 -1
  21. package/dist/{models-UwESEW2B.js → models-BTzXdmUY.js} +183 -175
  22. package/dist/{models-dzj-SsFZ.cjs → models-BhsFYb70.cjs} +1 -1
  23. package/dist/models-NYvUa5Yc.cjs +1 -0
  24. package/dist/models.cjs +1 -1
  25. package/dist/models.js +8 -8
  26. package/dist/servicewrapper-CZ9BUUjp.js +662 -0
  27. package/dist/servicewrapper-lF8bBrIo.cjs +1 -0
  28. package/package.json +1 -1
  29. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/settings/servicewrapper.d.ts +0 -19
  30. package/dist/bindings/github.com/omniviewdev/omniview/internal/settings/index.d.ts +0 -2
  31. package/dist/bindings/github.com/omniviewdev/omniview/internal/settings/servicewrapper.d.ts +0 -52
  32. package/dist/models-DSGyy8lg.cjs +0 -1
  33. package/dist/servicewrapper-BhxHs5DR.js +0 -688
  34. package/dist/servicewrapper-CNtZecKV.cjs +0 -1
  35. /package/dist/bindings/github.com/omniviewdev/omniview/{backend/pkg/plugin/settings → internal/profiling}/index.d.ts +0 -0
@@ -9,8 +9,8 @@ class Z {
9
9
  * Creates a new AccessRoute instance from a string or object.
10
10
  */
11
11
  static createFrom(e = {}) {
12
- let a = typeof e == "string" ? JSON.parse(e) : e;
13
- return new Z(a);
12
+ let s = typeof e == "string" ? JSON.parse(e) : e;
13
+ return new Z(s);
14
14
  }
15
15
  }
16
16
  class G {
@@ -24,11 +24,11 @@ class G {
24
24
  * Creates a new ResourceReference instance from a string or object.
25
25
  */
26
26
  static createFrom(e = {}) {
27
- let a = typeof e == "string" ? JSON.parse(e) : e;
28
- return new G(a);
27
+ let s = typeof e == "string" ? JSON.parse(e) : e;
28
+ return new G(s);
29
29
  }
30
30
  }
31
- let K = class fe {
31
+ let q = class fe {
32
32
  label;
33
33
  label_selector;
34
34
  paths;
@@ -41,9 +41,9 @@ let K = class fe {
41
41
  * Creates a new ActionTargetBuilder instance from a string or object.
42
42
  */
43
43
  static createFrom(e = {}) {
44
- const a = S, i = f;
45
- let s = typeof e == "string" ? JSON.parse(e) : e;
46
- return "paths" in s && (s.paths = a(s.paths)), "selectors" in s && (s.selectors = i(s.selectors)), new fe(s);
44
+ const s = S, i = f;
45
+ let a = typeof e == "string" ? JSON.parse(e) : e;
46
+ return "paths" in a && (a.paths = s(a.paths)), "selectors" in a && (a.selectors = i(a.selectors)), new fe(a);
47
47
  }
48
48
  }, Pe = class he {
49
49
  plugin;
@@ -52,18 +52,18 @@ let K = class fe {
52
52
  default_command;
53
53
  /** Creates a new Handler instance. */
54
54
  constructor(e = {}) {
55
- "plugin" in e || (this.plugin = ""), "resource" in e || (this.resource = ""), "target_builder" in e || (this.target_builder = new K()), "default_command" in e || (this.default_command = []), Object.assign(this, e);
55
+ "plugin" in e || (this.plugin = ""), "resource" in e || (this.resource = ""), "target_builder" in e || (this.target_builder = new q()), "default_command" in e || (this.default_command = []), Object.assign(this, e);
56
56
  }
57
57
  /**
58
58
  * Creates a new Handler instance from a string or object.
59
59
  */
60
60
  static createFrom(e = {}) {
61
- const a = ze, i = S;
62
- let s = typeof e == "string" ? JSON.parse(e) : e;
63
- return "target_builder" in s && (s.target_builder = a(s.target_builder)), "default_command" in s && (s.default_command = i(s.default_command)), new he(s);
61
+ const s = ze, i = S;
62
+ let a = typeof e == "string" ? JSON.parse(e) : e;
63
+ return "target_builder" in a && (a.target_builder = s(a.target_builder)), "default_command" in a && (a.default_command = i(a.default_command)), new he(a);
64
64
  }
65
65
  };
66
- class V {
66
+ class K {
67
67
  created_at;
68
68
  labels;
69
69
  params;
@@ -78,12 +78,12 @@ class V {
78
78
  * Creates a new Session instance from a string or object.
79
79
  */
80
80
  static createFrom(e = {}) {
81
- const a = f, i = f, s = S;
81
+ const s = f, i = f, a = S;
82
82
  let n = typeof e == "string" ? JSON.parse(e) : e;
83
- return "labels" in n && (n.labels = a(n.labels)), "params" in n && (n.params = i(n.params)), "command" in n && (n.command = s(n.command)), new V(n);
83
+ return "labels" in n && (n.labels = s(n.labels)), "params" in n && (n.params = i(n.params)), "command" in n && (n.command = a(n.command)), new K(n);
84
84
  }
85
85
  }
86
- class q {
86
+ class V {
87
87
  params;
88
88
  labels;
89
89
  id;
@@ -102,17 +102,17 @@ class q {
102
102
  * Creates a new SessionOptions instance from a string or object.
103
103
  */
104
104
  static createFrom(e = {}) {
105
- const a = f, i = f, s = Ae, n = Ie, H = S;
105
+ const s = f, i = f, a = Ae, n = ke, H = S;
106
106
  let c = typeof e == "string" ? JSON.parse(e) : e;
107
- return "params" in c && (c.params = a(c.params)), "labels" in c && (c.labels = i(c.labels)), "reference" in c && (c.reference = s(c.reference)), "route" in c && (c.route = n(c.route)), "command" in c && (c.command = H(c.command)), new q(c);
107
+ return "params" in c && (c.params = s(c.params)), "labels" in c && (c.labels = i(c.labels)), "reference" in c && (c.reference = a(c.reference)), "route" in c && (c.route = n(c.route)), "command" in c && (c.command = H(c.command)), new V(c);
108
108
  }
109
109
  }
110
- const S = o(l), f = p(l, l), ze = K.createFrom, xe = G.createFrom, Ae = d(xe), ke = Z.createFrom, Ie = d(ke), Ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
110
+ const S = o(l), f = p(l, l), ze = q.createFrom, xe = G.createFrom, Ae = d(xe), Re = Z.createFrom, ke = d(Re), Ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
111
111
  __proto__: null,
112
- ActionTargetBuilder: K,
112
+ ActionTargetBuilder: q,
113
113
  Handler: Pe,
114
- Session: V,
115
- SessionOptions: q
114
+ Session: K,
115
+ SessionOptions: V
116
116
  }, Symbol.toStringTag, { value: "Module" }));
117
117
  class Q {
118
118
  resource_id;
@@ -125,8 +125,8 @@ class Q {
125
125
  * Creates a new FindPortForwardSessionRequest instance from a string or object.
126
126
  */
127
127
  static createFrom(e = {}) {
128
- let a = typeof e == "string" ? JSON.parse(e) : e;
129
- return new Q(a);
128
+ let s = typeof e == "string" ? JSON.parse(e) : e;
129
+ return new Q(s);
130
130
  }
131
131
  }
132
132
  var me = /* @__PURE__ */ ((t) => (t.$zero = "", t.PortForwardConnectionTypeResource = "RESOURCE", t.PortForwardConnectionTypeStatic = "STATIC", t))(me || {}), _e = /* @__PURE__ */ ((t) => (t.$zero = "", t.PortForwardProtocolTCP = "TCP", t.PortForwardProtocolUDP = "UDP", t))(_e || {});
@@ -150,9 +150,9 @@ class L {
150
150
  * Creates a new PortForwardSession instance from a string or object.
151
151
  */
152
152
  static createFrom(e = {}) {
153
- const a = Re, i = Be;
154
- let s = typeof e == "string" ? JSON.parse(e) : e;
155
- return "labels" in s && (s.labels = a(s.labels)), "encryption" in s && (s.encryption = i(s.encryption)), new L(s);
153
+ const s = Ie, i = Be;
154
+ let a = typeof e == "string" ? JSON.parse(e) : e;
155
+ return "labels" in a && (a.labels = s(a.labels)), "encryption" in a && (a.encryption = i(a.encryption)), new L(a);
156
156
  }
157
157
  }
158
158
  class h {
@@ -167,12 +167,12 @@ class h {
167
167
  * Creates a new PortForwardSessionEncryption instance from a string or object.
168
168
  */
169
169
  static createFrom(e = {}) {
170
- let a = typeof e == "string" ? JSON.parse(e) : e;
171
- return new h(a);
170
+ let s = typeof e == "string" ? JSON.parse(e) : e;
171
+ return new h(s);
172
172
  }
173
173
  }
174
174
  var ge = /* @__PURE__ */ ((t) => (t.$zero = "", t.SessionStateActive = "ACTIVE", t.SessionStatePaused = "PAUSED", t.SessionStateStopped = "STOPPED", t.SessionStateFailed = "FAILED", t))(ge || {});
175
- const Re = p(l, l), Be = h.createFrom, Ut = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
175
+ const Ie = p(l, l), Be = h.createFrom, Ut = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
176
176
  __proto__: null,
177
177
  FindPortForwardSessionRequest: Q,
178
178
  PortForwardConnectionType: me,
@@ -209,9 +209,9 @@ class W {
209
209
  * Creates a new AvailablePlugin instance from a string or object.
210
210
  */
211
211
  static createFrom(e = {}) {
212
- const a = be;
212
+ const s = be;
213
213
  let i = typeof e == "string" ? JSON.parse(e) : e;
214
- return "tags" in i && (i.tags = a(i.tags)), new W(i);
214
+ return "tags" in i && (i.tags = s(i.tags)), new W(i);
215
215
  }
216
216
  }
217
217
  class v {
@@ -225,8 +225,8 @@ class v {
225
225
  * Creates a new DailyStat instance from a string or object.
226
226
  */
227
227
  static createFrom(e = {}) {
228
- let a = typeof e == "string" ? JSON.parse(e) : e;
229
- return new v(a);
228
+ let s = typeof e == "string" ? JSON.parse(e) : e;
229
+ return new v(s);
230
230
  }
231
231
  }
232
232
  class Y {
@@ -242,9 +242,9 @@ class Y {
242
242
  * Creates a new DownloadStats instance from a string or object.
243
243
  */
244
244
  static createFrom(e = {}) {
245
- const a = Ue;
245
+ const s = Ue;
246
246
  let i = typeof e == "string" ? JSON.parse(e) : e;
247
- return "daily_stats" in i && (i.daily_stats = a(i.daily_stats)), new Y(i);
247
+ return "daily_stats" in i && (i.daily_stats = s(i.daily_stats)), new Y(i);
248
248
  }
249
249
  }
250
250
  class X {
@@ -262,8 +262,8 @@ class X {
262
262
  * Creates a new Review instance from a string or object.
263
263
  */
264
264
  static createFrom(e = {}) {
265
- let a = typeof e == "string" ? JSON.parse(e) : e;
266
- return new X(a);
265
+ let s = typeof e == "string" ? JSON.parse(e) : e;
266
+ return new X(s);
267
267
  }
268
268
  }
269
269
  class M {
@@ -282,9 +282,9 @@ class M {
282
282
  * Creates a new VersionInfo instance from a string or object.
283
283
  */
284
284
  static createFrom(e = {}) {
285
- const a = be;
285
+ const s = be;
286
286
  let i = typeof e == "string" ? JSON.parse(e) : e;
287
- return "capabilities" in i && (i.capabilities = a(i.capabilities)), new M(i);
287
+ return "capabilities" in i && (i.capabilities = s(i.capabilities)), new M(i);
288
288
  }
289
289
  }
290
290
  const be = o(l), Ce = v.createFrom, Ue = o(Ce), Dt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -307,8 +307,8 @@ class u {
307
307
  * Creates a new PluginAuthor instance from a string or object.
308
308
  */
309
309
  static createFrom(e = {}) {
310
- let a = typeof e == "string" ? JSON.parse(e) : e;
311
- return new u(a);
310
+ let s = typeof e == "string" ? JSON.parse(e) : e;
311
+ return new u(s);
312
312
  }
313
313
  }
314
314
  var ye = /* @__PURE__ */ ((t) => (t.$zero = "", t.PluginComponentAreaEditor = "EDITOR", t.PluginComponentAreaSidebar = "SIDEBAR", t))(ye || {});
@@ -322,9 +322,9 @@ class m {
322
322
  * Creates a new PluginComponents instance from a string or object.
323
323
  */
324
324
  static createFrom(e = {}) {
325
- const a = He;
325
+ const s = He;
326
326
  let i = typeof e == "string" ? JSON.parse(e) : e;
327
- return "resource" in i && (i.resource = a(i.resource)), new m(i);
327
+ return "resource" in i && (i.resource = s(i.resource)), new m(i);
328
328
  }
329
329
  }
330
330
  class T {
@@ -338,8 +338,8 @@ class T {
338
338
  * Creates a new PluginMaintainer instance from a string or object.
339
339
  */
340
340
  static createFrom(e = {}) {
341
- let a = typeof e == "string" ? JSON.parse(e) : e;
342
- return new T(a);
341
+ let s = typeof e == "string" ? JSON.parse(e) : e;
342
+ return new T(s);
343
343
  }
344
344
  }
345
345
  class _ {
@@ -375,9 +375,9 @@ class _ {
375
375
  * Creates a new PluginMeta instance from a string or object.
376
376
  */
377
377
  static createFrom(e = {}) {
378
- const a = Ge, i = Ve, s = O, n = O, H = O, c = qe, Je = Qe, Ee = We;
378
+ const s = Ge, i = Ke, a = O, n = O, H = O, c = Ve, Je = Qe, Ee = We;
379
379
  let r = typeof e == "string" ? JSON.parse(e) : e;
380
- return "author" in r && (r.author = a(r.author)), "maintainers" in r && (r.maintainers = i(r.maintainers)), "tags" in r && (r.tags = s(r.tags)), "dependencies" in r && (r.dependencies = n(r.dependencies)), "capabilities" in r && (r.capabilities = H(r.capabilities)), "theme" in r && (r.theme = c(r.theme)), "components" in r && (r.components = Je(r.components)), "state_isolation" in r && (r.state_isolation = Ee(r.state_isolation)), new _(r);
380
+ return "author" in r && (r.author = s(r.author)), "maintainers" in r && (r.maintainers = i(r.maintainers)), "tags" in r && (r.tags = a(r.tags)), "dependencies" in r && (r.dependencies = n(r.dependencies)), "capabilities" in r && (r.capabilities = H(r.capabilities)), "theme" in r && (r.theme = c(r.theme)), "components" in r && (r.components = Je(r.components)), "state_isolation" in r && (r.state_isolation = Ee(r.state_isolation)), new _(r);
381
381
  }
382
382
  }
383
383
  class w {
@@ -394,9 +394,9 @@ class w {
394
394
  * Creates a new PluginResourceComponent instance from a string or object.
395
395
  */
396
396
  static createFrom(e = {}) {
397
- const a = O;
397
+ const s = O;
398
398
  let i = typeof e == "string" ? JSON.parse(e) : e;
399
- return "resources" in i && (i.resources = a(i.resources)), new w(i);
399
+ return "resources" in i && (i.resources = s(i.resources)), new w(i);
400
400
  }
401
401
  }
402
402
  class g {
@@ -409,9 +409,9 @@ class g {
409
409
  * Creates a new PluginTheme instance from a string or object.
410
410
  */
411
411
  static createFrom(e = {}) {
412
- const a = Ye;
412
+ const s = Ye;
413
413
  let i = typeof e == "string" ? JSON.parse(e) : e;
414
- return "colors" in i && (i.colors = a(i.colors)), new g(i);
414
+ return "colors" in i && (i.colors = s(i.colors)), new g(i);
415
415
  }
416
416
  }
417
417
  class b {
@@ -426,8 +426,8 @@ class b {
426
426
  * Creates a new PluginThemeColors instance from a string or object.
427
427
  */
428
428
  static createFrom(e = {}) {
429
- let a = typeof e == "string" ? JSON.parse(e) : e;
430
- return new b(a);
429
+ let s = typeof e == "string" ? JSON.parse(e) : e;
430
+ return new b(s);
431
431
  }
432
432
  }
433
433
  class N {
@@ -450,11 +450,11 @@ class N {
450
450
  * Creates a new StateIsolationProvenance instance from a string or object.
451
451
  */
452
452
  static createFrom(e = {}) {
453
- let a = typeof e == "string" ? JSON.parse(e) : e;
454
- return new N(a);
453
+ let s = typeof e == "string" ? JSON.parse(e) : e;
454
+ return new N(s);
455
455
  }
456
456
  }
457
- const De = w.createFrom, He = o(De), Ze = u.createFrom, Ge = d(Ze), Ke = T.createFrom, Ve = o(Ke), O = o(l), qe = g.createFrom, Qe = m.createFrom, Le = N.createFrom, We = d(Le), Ye = b.createFrom, Ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
457
+ const De = w.createFrom, He = o(De), Ze = u.createFrom, Ge = d(Ze), qe = T.createFrom, Ke = o(qe), O = o(l), Ve = g.createFrom, Qe = m.createFrom, Le = N.createFrom, We = d(Le), Ye = b.createFrom, Ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
458
458
  __proto__: null,
459
459
  PluginAuthor: u,
460
460
  PluginComponentArea: ye,
@@ -540,9 +540,9 @@ class $ {
540
540
  * Creates a new Connection instance from a string or object.
541
541
  */
542
542
  static createFrom(e = {}) {
543
- const a = pe, i = pe, s = tt;
543
+ const s = pe, i = pe, a = tt;
544
544
  let n = typeof e == "string" ? JSON.parse(e) : e;
545
- return "data" in n && (n.data = a(n.data)), "labels" in n && (n.labels = i(n.labels)), "lifecycle" in n && (n.lifecycle = s(n.lifecycle)), new $(n);
545
+ return "data" in n && (n.data = s(n.data)), "labels" in n && (n.labels = i(n.labels)), "lifecycle" in n && (n.lifecycle = a(n.lifecycle)), new $(n);
546
546
  }
547
547
  }
548
548
  class ee {
@@ -557,9 +557,9 @@ class ee {
557
557
  * Creates a new ConnectionAutoConnect instance from a string or object.
558
558
  */
559
559
  static createFrom(e = {}) {
560
- const a = it;
560
+ const s = it;
561
561
  let i = typeof e == "string" ? JSON.parse(e) : e;
562
- return "triggers" in i && (i.triggers = a(i.triggers)), new ee(i);
562
+ return "triggers" in i && (i.triggers = s(i.triggers)), new ee(i);
563
563
  }
564
564
  }
565
565
  var Me = /* @__PURE__ */ ((t) => (t.$zero = "", t.ConnectionAutoConnectRetryNone = "NONE", t.ConnectionAutoConnectRetryOnChange = "ON_CHANGE", t))(Me || {}), $e = /* @__PURE__ */ ((t) => (t.$zero = "", t.ConnectionAutoConnectTriggerPluginStart = "PLUGIN_START", t.ConnectionAutoConnectTriggerConnectionDiscovered = "CONNECTION_DISCOVERED", t))($e || {});
@@ -573,9 +573,9 @@ class J {
573
573
  * Creates a new ConnectionLifecycle instance from a string or object.
574
574
  */
575
575
  static createFrom(e = {}) {
576
- const a = st;
576
+ const s = at;
577
577
  let i = typeof e == "string" ? JSON.parse(e) : e;
578
- return "auto_connect" in i && (i.auto_connect = a(i.auto_connect)), new J(i);
578
+ return "auto_connect" in i && (i.auto_connect = s(i.auto_connect)), new J(i);
579
579
  }
580
580
  }
581
581
  class Fe {
@@ -603,9 +603,9 @@ class Fe {
603
603
  * Creates a new ConnectionStatus instance from a string or object.
604
604
  */
605
605
  static createFrom(e = {}) {
606
- const a = rt;
606
+ const s = rt;
607
607
  let i = typeof e == "string" ? JSON.parse(e) : e;
608
- return "connection" in i && (i.connection = a(i.connection)), new Fe(i);
608
+ return "connection" in i && (i.connection = s(i.connection)), new Fe(i);
609
609
  }
610
610
  }
611
611
  var et = /* @__PURE__ */ ((t) => (t.$zero = "", t.ConnectionStatusUnknown = "UNKNOWN", t.ConnectionStatusConnected = "CONNECTED", t.ConnectionStatusDisconnected = "DISCONNECTED", t.ConnectionStatusPending = "PENDING", t.ConnectionStatusFailed = "FAILED", t.ConnectionStatusError = "ERROR", t.ConnectionStatusUnauthorized = "UNAUTHORIZED", t.ConnectionStatusForbidden = "FORBIDDEN", t.ConnectionStatusBadRequest = "BAD_REQUEST", t.ConnectionStatusNotFound = "NOT_FOUND", t.ConnectionStatusTimeout = "TIMEOUT", t.ConnectionStatusUnavailable = "UNAVAILABLE", t.ConnectionStatusRequestEntityTooLarge = "REQUEST_ENTITY_TOO_LARGE", t))(et || {});
@@ -626,12 +626,12 @@ class Oe {
626
626
  * Creates a new PluginInfo instance from a string or object.
627
627
  */
628
628
  static createFrom(e = {}) {
629
- const a = lt, i = ct;
630
- let s = typeof e == "string" ? JSON.parse(e) : e;
631
- return "metadata" in s && (s.metadata = a(s.metadata)), "capabilities" in s && (s.capabilities = i(s.capabilities)), new Oe(s);
629
+ const s = lt, i = ct;
630
+ let a = typeof e == "string" ? JSON.parse(e) : e;
631
+ return "metadata" in a && (a.metadata = s(a.metadata)), "capabilities" in a && (a.capabilities = i(a.capabilities)), new Oe(a);
632
632
  }
633
633
  }
634
- const pe = p(l, l), tt = J.createFrom, it = o(l), at = ee.createFrom, st = d(at), nt = $.createFrom, rt = d(nt), lt = _.createFrom, ct = o(l);
634
+ const pe = p(l, l), tt = J.createFrom, it = o(l), st = ee.createFrom, at = d(st), nt = $.createFrom, rt = d(nt), lt = _.createFrom, ct = o(l);
635
635
  class te {
636
636
  settings;
637
637
  id;
@@ -646,9 +646,9 @@ class te {
646
646
  * Creates a new Category instance from a string or object.
647
647
  */
648
648
  static createFrom(e = {}) {
649
- const a = dt;
649
+ const s = dt;
650
650
  let i = typeof e == "string" ? JSON.parse(e) : e;
651
- return "settings" in i && (i.settings = a(i.settings)), new te(i);
651
+ return "settings" in i && (i.settings = s(i.settings)), new te(i);
652
652
  }
653
653
  }
654
654
  class E {
@@ -693,17 +693,25 @@ class E {
693
693
  * DevOnly indicates the setting should only be visible when dev mode is active.
694
694
  */
695
695
  devOnly;
696
+ /**
697
+ * RequiresRestart declares that changes apply after restart.
698
+ */
699
+ requiresRestart;
700
+ /**
701
+ * PendingRestart is host snapshot projection, not provider-owned state.
702
+ */
703
+ pendingRestart;
696
704
  /** Creates a new Setting instance. */
697
705
  constructor(e = {}) {
698
- "id" in e || (this.id = ""), "label" in e || (this.label = ""), "description" in e || (this.description = ""), "type" in e || (this.type = ""), "value" in e || (this.value = null), "default" in e || (this.default = null), "options" in e || (this.options = []), "fileSelection" in e || (this.fileSelection = null), "sensitive" in e || (this.sensitive = !1), "devOnly" in e || (this.devOnly = !1), Object.assign(this, e);
706
+ "id" in e || (this.id = ""), "label" in e || (this.label = ""), "description" in e || (this.description = ""), "type" in e || (this.type = ""), "value" in e || (this.value = null), "default" in e || (this.default = null), "options" in e || (this.options = []), "fileSelection" in e || (this.fileSelection = null), "sensitive" in e || (this.sensitive = !1), "devOnly" in e || (this.devOnly = !1), "requiresRestart" in e || (this.requiresRestart = !1), "pendingRestart" in e || (this.pendingRestart = !1), Object.assign(this, e);
699
707
  }
700
708
  /**
701
709
  * Creates a new Setting instance from a string or object.
702
710
  */
703
711
  static createFrom(e = {}) {
704
- const a = ft, i = mt;
705
- let s = typeof e == "string" ? JSON.parse(e) : e;
706
- return "options" in s && (s.options = a(s.options)), "fileSelection" in s && (s.fileSelection = i(s.fileSelection)), new E(s);
712
+ const s = ft, i = mt;
713
+ let a = typeof e == "string" ? JSON.parse(e) : e;
714
+ return "options" in a && (a.options = s(a.options)), "fileSelection" in a && (a.fileSelection = i(a.fileSelection)), new E(a);
707
715
  }
708
716
  }
709
717
  class P {
@@ -739,9 +747,9 @@ class P {
739
747
  * Creates a new SettingFileSelection instance from a string or object.
740
748
  */
741
749
  static createFrom(e = {}) {
742
- const a = _t;
750
+ const s = _t;
743
751
  let i = typeof e == "string" ? JSON.parse(e) : e;
744
- return "extensions" in i && (i.extensions = a(i.extensions)), new P(i);
752
+ return "extensions" in i && (i.extensions = s(i.extensions)), new P(i);
745
753
  }
746
754
  }
747
755
  class z {
@@ -765,8 +773,8 @@ class z {
765
773
  * Creates a new SettingOption instance from a string or object.
766
774
  */
767
775
  static createFrom(e = {}) {
768
- let a = typeof e == "string" ? JSON.parse(e) : e;
769
- return new z(a);
776
+ let s = typeof e == "string" ? JSON.parse(e) : e;
777
+ return new z(s);
770
778
  }
771
779
  }
772
780
  var Se = /* @__PURE__ */ ((t) => (t.$zero = "", t.Text = "text", t.Select = "select", t.MultiSelect = "multiselect", t.Integer = "integer", t.Float = "float", t.Toggle = "toggle", t.Color = "color", t.DateTime = "datetime", t.Password = "password", t))(Se || {});
@@ -782,8 +790,8 @@ class ie {
782
790
  * Creates a new ValidationResult instance from a string or object.
783
791
  */
784
792
  static createFrom(e = {}) {
785
- let a = typeof e == "string" ? JSON.parse(e) : e;
786
- return new ie(a);
793
+ let s = typeof e == "string" ? JSON.parse(e) : e;
794
+ return new ie(s);
787
795
  }
788
796
  }
789
797
  const ot = E.createFrom, dt = p(l, ot), pt = z.createFrom, ft = o(pt), ht = P.createFrom, mt = d(ht), _t = o(l), Gt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -795,7 +803,7 @@ const ot = E.createFrom, dt = p(l, ot), pt = z.createFrom, ft = o(pt), ht = P.cr
795
803
  SettingType: Se,
796
804
  ValidationResult: ie
797
805
  }, Symbol.toStringTag, { value: "Module" }));
798
- class ae {
806
+ class se {
799
807
  plugin;
800
808
  /** Creates a new GetPluginComponentsInput instance. */
801
809
  constructor(e = {}) {
@@ -805,11 +813,11 @@ class ae {
805
813
  * Creates a new GetPluginComponentsInput instance from a string or object.
806
814
  */
807
815
  static createFrom(e = {}) {
808
- let a = typeof e == "string" ? JSON.parse(e) : e;
809
- return new ae(a);
816
+ let s = typeof e == "string" ? JSON.parse(e) : e;
817
+ return new se(s);
810
818
  }
811
819
  }
812
- class se {
820
+ class ae {
813
821
  plugin;
814
822
  resource;
815
823
  area;
@@ -821,8 +829,8 @@ class se {
821
829
  * Creates a new GetResourceAreaComponentInput instance from a string or object.
822
830
  */
823
831
  static createFrom(e = {}) {
824
- let a = typeof e == "string" ? JSON.parse(e) : e;
825
- return new se(a);
832
+ let s = typeof e == "string" ? JSON.parse(e) : e;
833
+ return new ae(s);
826
834
  }
827
835
  }
828
836
  class ne {
@@ -836,8 +844,8 @@ class ne {
836
844
  * Creates a new GetResourceComponentsInput instance from a string or object.
837
845
  */
838
846
  static createFrom(e = {}) {
839
- let a = typeof e == "string" ? JSON.parse(e) : e;
840
- return new ne(a);
847
+ let s = typeof e == "string" ? JSON.parse(e) : e;
848
+ return new ne(s);
841
849
  }
842
850
  }
843
851
  class re {
@@ -855,15 +863,15 @@ class re {
855
863
  * Creates a new ResourceComponent instance from a string or object.
856
864
  */
857
865
  static createFrom(e = {}) {
858
- let a = typeof e == "string" ? JSON.parse(e) : e;
859
- return new re(a);
866
+ let s = typeof e == "string" ? JSON.parse(e) : e;
867
+ return new re(s);
860
868
  }
861
869
  }
862
870
  var ve = /* @__PURE__ */ ((t) => (t.$zero = "", t.ResourceComponentAreaSidebar = "SIDEBAR", t.ResourceComponentAreaTable = "TABLE", t))(ve || {});
863
- const Kt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
871
+ const qt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
864
872
  __proto__: null,
865
- GetPluginComponentsInput: ae,
866
- GetResourceAreaComponentInput: se,
873
+ GetPluginComponentsInput: se,
874
+ GetResourceAreaComponentInput: ae,
867
875
  GetResourceComponentsInput: ne,
868
876
  ResourceComponent: re,
869
877
  ResourceComponentArea: ve
@@ -881,9 +889,9 @@ class y {
881
889
  * Creates a new ActionTargetBuilder instance from a string or object.
882
890
  */
883
891
  static createFrom(e = {}) {
884
- const a = bt, i = ce;
885
- let s = typeof e == "string" ? JSON.parse(e) : e;
886
- return "paths" in s && (s.paths = a(s.paths)), "selectors" in s && (s.selectors = i(s.selectors)), new y(s);
892
+ const s = bt, i = ce;
893
+ let a = typeof e == "string" ? JSON.parse(e) : e;
894
+ return "paths" in a && (a.paths = s(a.paths)), "selectors" in a && (a.selectors = i(a.selectors)), new y(a);
887
895
  }
888
896
  }
889
897
  let gt = class ue {
@@ -898,9 +906,9 @@ let gt = class ue {
898
906
  * Creates a new Handler instance from a string or object.
899
907
  */
900
908
  static createFrom(e = {}) {
901
- const a = yt;
909
+ const s = yt;
902
910
  let i = typeof e == "string" ? JSON.parse(e) : e;
903
- return "target_builder" in i && (i.target_builder = a(i.target_builder)), new ue(i);
911
+ return "target_builder" in i && (i.target_builder = s(i.target_builder)), new ue(i);
904
912
  }
905
913
  };
906
914
  class le {
@@ -921,9 +929,9 @@ class le {
921
929
  * Creates a new LogSession instance from a string or object.
922
930
  */
923
931
  static createFrom(e = {}) {
924
- const a = Ft, i = St;
925
- let s = typeof e == "string" ? JSON.parse(e) : e;
926
- return "options" in s && (s.options = a(s.options)), "active_sources" in s && (s.active_sources = i(s.active_sources)), new le(s);
932
+ const s = Ft, i = St;
933
+ let a = typeof e == "string" ? JSON.parse(e) : e;
934
+ return "options" in a && (a.options = s(a.options)), "active_sources" in a && (a.active_sources = i(a.active_sources)), new le(a);
927
935
  }
928
936
  }
929
937
  class F {
@@ -945,9 +953,9 @@ class F {
945
953
  * Creates a new LogSessionOptions instance from a string or object.
946
954
  */
947
955
  static createFrom(e = {}) {
948
- const a = ce;
956
+ const s = ce;
949
957
  let i = typeof e == "string" ? JSON.parse(e) : e;
950
- return "params" in i && (i.params = a(i.params)), new F(i);
958
+ return "params" in i && (i.params = s(i.params)), new F(i);
951
959
  }
952
960
  }
953
961
  var Te = /* @__PURE__ */ ((t) => (t[t.$zero = 0] = "$zero", t[t.LogSessionStatusActive = 0] = "LogSessionStatusActive", t[t.LogSessionStatusPaused = 1] = "LogSessionStatusPaused", t[t.LogSessionStatusClosed = 2] = "LogSessionStatusClosed", t[t.LogSessionStatusError = 3] = "LogSessionStatusError", t[t.LogSessionStatusConnecting = 4] = "LogSessionStatusConnecting", t[t.LogSessionStatusInitializing = 5] = "LogSessionStatusInitializing", t))(Te || {});
@@ -962,13 +970,13 @@ class x {
962
970
  * Creates a new LogSource instance from a string or object.
963
971
  */
964
972
  static createFrom(e = {}) {
965
- const a = ce;
973
+ const s = ce;
966
974
  let i = typeof e == "string" ? JSON.parse(e) : e;
967
- return "labels" in i && (i.labels = a(i.labels)), new x(i);
975
+ return "labels" in i && (i.labels = s(i.labels)), new x(i);
968
976
  }
969
977
  }
970
978
  var we = /* @__PURE__ */ ((t) => (t[t.$zero = 0] = "$zero", t[t.StreamCommandPause = 0] = "StreamCommandPause", t[t.StreamCommandResume = 1] = "StreamCommandResume", t[t.StreamCommandClose = 2] = "StreamCommandClose", t))(we || {});
971
- const bt = o(l), ce = p(l, l), yt = y.createFrom, Ft = F.createFrom, Ot = x.createFrom, St = o(Ot), Vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
979
+ const bt = o(l), ce = p(l, l), yt = y.createFrom, Ft = F.createFrom, Ot = x.createFrom, St = o(Ot), Kt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
972
980
  __proto__: null,
973
981
  ActionTargetBuilder: y,
974
982
  Handler: gt,
@@ -998,12 +1006,12 @@ class A {
998
1006
  * Creates a new AggregateValue instance from a string or object.
999
1007
  */
1000
1008
  static createFrom(e = {}) {
1001
- const a = D;
1009
+ const s = D;
1002
1010
  let i = typeof e == "string" ? JSON.parse(e) : e;
1003
- return "labels" in i && (i.labels = a(i.labels)), new A(i);
1011
+ return "labels" in i && (i.labels = s(i.labels)), new A(i);
1004
1012
  }
1005
1013
  }
1006
- class k {
1014
+ class R {
1007
1015
  min;
1008
1016
  max;
1009
1017
  color;
@@ -1015,11 +1023,11 @@ class k {
1015
1023
  * Creates a new ColorRange instance from a string or object.
1016
1024
  */
1017
1025
  static createFrom(e = {}) {
1018
- let a = typeof e == "string" ? JSON.parse(e) : e;
1019
- return new k(a);
1026
+ let s = typeof e == "string" ? JSON.parse(e) : e;
1027
+ return new R(s);
1020
1028
  }
1021
1029
  }
1022
- class I {
1030
+ class k {
1023
1031
  metric_id;
1024
1032
  value;
1025
1033
  timestamp;
@@ -1032,12 +1040,12 @@ class I {
1032
1040
  * Creates a new CurrentValue instance from a string or object.
1033
1041
  */
1034
1042
  static createFrom(e = {}) {
1035
- const a = D;
1043
+ const s = D;
1036
1044
  let i = typeof e == "string" ? JSON.parse(e) : e;
1037
- return "labels" in i && (i.labels = a(i.labels)), new I(i);
1045
+ return "labels" in i && (i.labels = s(i.labels)), new k(i);
1038
1046
  }
1039
1047
  }
1040
- class R {
1048
+ class I {
1041
1049
  timestamp;
1042
1050
  value;
1043
1051
  labels;
@@ -1049,9 +1057,9 @@ class R {
1049
1057
  * Creates a new DataPoint instance from a string or object.
1050
1058
  */
1051
1059
  static createFrom(e = {}) {
1052
- const a = D;
1060
+ const s = D;
1053
1061
  let i = typeof e == "string" ? JSON.parse(e) : e;
1054
- return "labels" in i && (i.labels = a(i.labels)), new R(i);
1062
+ return "labels" in i && (i.labels = s(i.labels)), new I(i);
1055
1063
  }
1056
1064
  }
1057
1065
  class oe {
@@ -1065,9 +1073,9 @@ class oe {
1065
1073
  * Creates a new Handler instance from a string or object.
1066
1074
  */
1067
1075
  static createFrom(e = {}) {
1068
- const a = ut;
1076
+ const s = ut;
1069
1077
  let i = typeof e == "string" ? JSON.parse(e) : e;
1070
- return "metrics" in i && (i.metrics = a(i.metrics)), new oe(i);
1078
+ return "metrics" in i && (i.metrics = s(i.metrics)), new oe(i);
1071
1079
  }
1072
1080
  }
1073
1081
  class B {
@@ -1087,9 +1095,9 @@ class B {
1087
1095
  * Creates a new MetricDescriptor instance from a string or object.
1088
1096
  */
1089
1097
  static createFrom(e = {}) {
1090
- const a = wt, i = Nt;
1091
- let s = typeof e == "string" ? JSON.parse(e) : e;
1092
- return "color_ranges" in s && (s.color_ranges = a(s.color_ranges)), "supported_shapes" in s && (s.supported_shapes = i(s.supported_shapes)), new B(s);
1098
+ const s = wt, i = Nt;
1099
+ let a = typeof e == "string" ? JSON.parse(e) : e;
1100
+ return "color_ranges" in a && (a.color_ranges = s(a.color_ranges)), "supported_shapes" in a && (a.supported_shapes = i(a.supported_shapes)), new B(a);
1093
1101
  }
1094
1102
  }
1095
1103
  class C {
@@ -1104,9 +1112,9 @@ class C {
1104
1112
  * Creates a new MetricResult instance from a string or object.
1105
1113
  */
1106
1114
  static createFrom(e = {}) {
1107
- const a = Jt, i = Pt, s = xt;
1115
+ const s = Jt, i = Pt, a = xt;
1108
1116
  let n = typeof e == "string" ? JSON.parse(e) : e;
1109
- return "time_series" in n && (n.time_series = a(n.time_series)), "current_value" in n && (n.current_value = i(n.current_value)), "aggregate_value" in n && (n.aggregate_value = s(n.aggregate_value)), new C(n);
1117
+ return "time_series" in n && (n.time_series = s(n.time_series)), "current_value" in n && (n.current_value = i(n.current_value)), "aggregate_value" in n && (n.aggregate_value = a(n.aggregate_value)), new C(n);
1110
1118
  }
1111
1119
  }
1112
1120
  var Ne = /* @__PURE__ */ ((t) => (t[t.$zero = 0] = "$zero", t[t.ShapeCurrent = 0] = "ShapeCurrent", t[t.ShapeTimeseries = 1] = "ShapeTimeseries", t[t.ShapeAggregate = 2] = "ShapeAggregate", t))(Ne || {}), je = /* @__PURE__ */ ((t) => (t[t.$zero = 0] = "$zero", t[t.UnitNone = 0] = "UnitNone", t[t.UnitBytes = 1] = "UnitBytes", t[t.UnitKB = 2] = "UnitKB", t[t.UnitMB = 3] = "UnitMB", t[t.UnitGB = 4] = "UnitGB", t[t.UnitPercentage = 5] = "UnitPercentage", t[t.UnitMillis = 6] = "UnitMillis", t[t.UnitSeconds = 7] = "UnitSeconds", t[t.UnitCount = 8] = "UnitCount", t[t.UnitOpsPerSec = 9] = "UnitOpsPerSec", t[t.UnitBytesPerSec = 10] = "UnitBytesPerSec", t[t.UnitMillicores = 11] = "UnitMillicores", t[t.UnitCores = 12] = "UnitCores", t))(je || {});
@@ -1122,9 +1130,9 @@ class de {
1122
1130
  * Creates a new QueryResponse instance from a string or object.
1123
1131
  */
1124
1132
  static createFrom(e = {}) {
1125
- const a = kt;
1133
+ const s = Rt;
1126
1134
  let i = typeof e == "string" ? JSON.parse(e) : e;
1127
- return "results" in i && (i.results = a(i.results)), new de(i);
1135
+ return "results" in i && (i.results = s(i.results)), new de(i);
1128
1136
  }
1129
1137
  }
1130
1138
  class U {
@@ -1139,17 +1147,17 @@ class U {
1139
1147
  * Creates a new TimeSeries instance from a string or object.
1140
1148
  */
1141
1149
  static createFrom(e = {}) {
1142
- const a = Rt, i = D;
1143
- let s = typeof e == "string" ? JSON.parse(e) : e;
1144
- return "data_points" in s && (s.data_points = a(s.data_points)), "labels" in s && (s.labels = i(s.labels)), new U(s);
1150
+ const s = It, i = D;
1151
+ let a = typeof e == "string" ? JSON.parse(e) : e;
1152
+ return "data_points" in a && (a.data_points = s(a.data_points)), "labels" in a && (a.labels = i(a.labels)), new U(a);
1145
1153
  }
1146
1154
  }
1147
- const D = p(l, l), vt = B.createFrom, ut = o(vt), Tt = k.createFrom, wt = o(Tt), Nt = o(l), jt = U.createFrom, Jt = d(jt), Et = I.createFrom, Pt = d(Et), zt = A.createFrom, xt = d(zt), At = C.createFrom, kt = o(At), It = R.createFrom, Rt = o(It), qt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1155
+ const D = p(l, l), vt = B.createFrom, ut = o(vt), Tt = R.createFrom, wt = o(Tt), Nt = o(l), jt = U.createFrom, Jt = d(jt), Et = k.createFrom, Pt = d(Et), zt = A.createFrom, xt = d(zt), At = C.createFrom, Rt = o(At), kt = I.createFrom, It = o(kt), Vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1148
1156
  __proto__: null,
1149
1157
  AggregateValue: A,
1150
- ColorRange: k,
1151
- CurrentValue: I,
1152
- DataPoint: R,
1158
+ ColorRange: R,
1159
+ CurrentValue: k,
1160
+ DataPoint: I,
1153
1161
  Handler: oe,
1154
1162
  MetricDescriptor: B,
1155
1163
  MetricResult: C,
@@ -1159,36 +1167,36 @@ const D = p(l, l), vt = B.createFrom, ut = o(vt), Tt = k.createFrom, wt = o(Tt),
1159
1167
  TimeSeries: U
1160
1168
  }, Symbol.toStringTag, { value: "Module" }));
1161
1169
  export {
1162
- ve as $,
1170
+ ge as $,
1163
1171
  W as A,
1164
- we as B,
1172
+ C as B,
1165
1173
  Fe as C,
1166
1174
  Y as D,
1167
- C as E,
1175
+ Ne as E,
1168
1176
  Q as F,
1169
- ae as G,
1177
+ se as G,
1170
1178
  Pe as H,
1171
- Ne as I,
1172
- je as J,
1173
- u as K,
1179
+ je as I,
1180
+ u as J,
1181
+ ye as K,
1174
1182
  le as L,
1175
1183
  B as M,
1176
- ye as N,
1177
- m as O,
1184
+ m as N,
1185
+ T as O,
1178
1186
  _ as P,
1179
1187
  de as Q,
1180
1188
  X as R,
1181
- q as S,
1182
- T,
1183
- w as U,
1189
+ V as S,
1190
+ w as T,
1191
+ g as U,
1184
1192
  M as V,
1185
- g as W,
1186
- b as X,
1187
- me as Y,
1188
- _e as Z,
1189
- h as _,
1190
- V as a,
1191
- ge as a0,
1193
+ b as W,
1194
+ me as X,
1195
+ _e as Y,
1196
+ h as Z,
1197
+ ve as _,
1198
+ K as a,
1199
+ E as a0,
1192
1200
  P as a1,
1193
1201
  z as a2,
1194
1202
  Se as a3,
@@ -1196,37 +1204,37 @@ export {
1196
1204
  U as a5,
1197
1205
  Ht as a6,
1198
1206
  Ct as a7,
1199
- Vt as a8,
1200
- qt as a9,
1207
+ Kt as a8,
1208
+ Vt as a9,
1201
1209
  Ut as aa,
1202
1210
  Dt as ab,
1203
1211
  Gt as ac,
1204
1212
  Zt as ad,
1205
- Kt as ae,
1213
+ qt as ae,
1206
1214
  j as af,
1207
1215
  L as b,
1208
1216
  Oe as c,
1209
1217
  $ as d,
1210
- E as e,
1218
+ te as e,
1211
1219
  ie as f,
1212
- te as g,
1213
- re as h,
1214
- gt as i,
1215
- oe as j,
1216
- et as k,
1217
- ee as l,
1218
- Me as m,
1219
- $e as n,
1220
- J as o,
1221
- Xe as p,
1222
- K as q,
1223
- A as r,
1220
+ re as g,
1221
+ gt as h,
1222
+ oe as i,
1223
+ et as j,
1224
+ ee as k,
1225
+ Me as l,
1226
+ $e as m,
1227
+ J as n,
1228
+ Xe as o,
1229
+ q as p,
1230
+ A as q,
1231
+ R as r,
1224
1232
  k as s,
1225
1233
  I as t,
1226
- R as u,
1227
- se as v,
1228
- ne as w,
1229
- F as x,
1230
- Te as y,
1231
- x as z
1234
+ ae as u,
1235
+ ne as v,
1236
+ F as w,
1237
+ Te as x,
1238
+ x as y,
1239
+ we as z
1232
1240
  };