@omniviewdev/runtime 0.3.0 → 0.4.1

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 (145) hide show
  1. package/dist/api.cjs +1 -1
  2. package/dist/api.d.ts +16 -14
  3. package/dist/api.js +111 -125
  4. package/dist/bindings/encoding/json/index.d.ts +1 -0
  5. package/dist/bindings/encoding/json/models.d.ts +6 -0
  6. package/dist/bindings/github.com/omniviewdev/omniview/appservice.d.ts +18 -0
  7. package/dist/bindings/github.com/omniviewdev/omniview/backend/diagnostics/diagnosticsclient.d.ts +51 -0
  8. package/dist/bindings/github.com/omniviewdev/omniview/backend/diagnostics/index.d.ts +2 -0
  9. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/data/index.d.ts +2 -0
  10. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/data/servicewrapper.d.ts +5 -0
  11. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/index.d.ts +3 -0
  12. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/models.d.ts +132 -0
  13. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/servicewrapper.d.ts +12 -0
  14. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/exec/index.d.ts +2 -0
  15. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/exec/servicewrapper.d.ts +22 -0
  16. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/index.d.ts +3 -0
  17. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/lifecycle/index.d.ts +1 -0
  18. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/lifecycle/models.d.ts +29 -0
  19. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/logs/index.d.ts +2 -0
  20. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/logs/servicewrapper.d.ts +11 -0
  21. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/index.d.ts +3 -0
  22. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/models.d.ts +39 -0
  23. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/servicewrapper.d.ts +16 -0
  24. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/models.d.ts +99 -0
  25. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/networker/index.d.ts +2 -0
  26. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/networker/servicewrapper.d.ts +11 -0
  27. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/index.d.ts +3 -0
  28. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/models.d.ts +24 -0
  29. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/servicewrapper.d.ts +7 -0
  30. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/registry/index.d.ts +1 -0
  31. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/registry/models.d.ts +94 -0
  32. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/index.d.ts +2 -0
  33. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/models.d.ts +53 -0
  34. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graphservice.d.ts +14 -0
  35. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/index.d.ts +4 -0
  36. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/models.d.ts +61 -0
  37. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/servicewrapper.d.ts +92 -0
  38. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/servicewrapper.d.ts +24 -0
  39. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/settings/index.d.ts +2 -0
  40. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/settings/servicewrapper.d.ts +18 -0
  41. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/types/index.d.ts +1 -0
  42. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/types/models.d.ts +22 -0
  43. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/index.d.ts +3 -0
  44. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/models.d.ts +55 -0
  45. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/servicewrapper.d.ts +7 -0
  46. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/client.d.ts +6 -0
  47. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/index.d.ts +3 -0
  48. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/models.d.ts +10 -0
  49. package/dist/bindings/github.com/omniviewdev/omniview/index.d.ts +3 -0
  50. package/dist/bindings/github.com/omniviewdev/omniview/internal/settings/index.d.ts +2 -0
  51. package/dist/bindings/github.com/omniviewdev/omniview/internal/settings/servicewrapper.d.ts +48 -0
  52. package/dist/bindings/github.com/omniviewdev/omniview/internal/telemetry/index.d.ts +2 -0
  53. package/dist/bindings/github.com/omniviewdev/omniview/internal/telemetry/telemetrybinding.d.ts +7 -0
  54. package/dist/bindings/github.com/omniviewdev/omniview/models.d.ts +38 -0
  55. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/config/index.d.ts +1 -0
  56. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/config/models.d.ts +101 -0
  57. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/types/index.d.ts +1 -0
  58. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/types/models.d.ts +199 -0
  59. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/index.d.ts +1 -0
  60. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/models.d.ts +79 -0
  61. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/index.d.ts +1 -0
  62. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/models.d.ts +133 -0
  63. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/index.d.ts +1 -0
  64. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/models.d.ts +207 -0
  65. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/index.d.ts +2 -0
  66. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/models.d.ts +96 -0
  67. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/index.d.ts +2 -0
  68. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/models.d.ts +1199 -0
  69. package/dist/bindings/github.com/omniviewdev/plugin-sdk/settings/index.d.ts +2 -0
  70. package/dist/bindings/github.com/omniviewdev/plugin-sdk/settings/models.d.ts +169 -0
  71. package/dist/bindings/github.com/wailsapp/wails/v3/internal/eventcreate.d.ts +1 -0
  72. package/dist/bindings/time/index.d.ts +1 -0
  73. package/dist/bindings/time/models.d.ts +33 -0
  74. package/dist/calls-BmUnjINC.js +677 -0
  75. package/dist/calls-DZctVyoQ.cjs +1 -0
  76. package/dist/compat/legacyEnum.d.ts +10 -0
  77. package/dist/compat/resource.d.ts +4 -0
  78. package/dist/compat/types.d.ts +4 -0
  79. package/dist/context/plugins/PluginContext.d.ts +2 -2
  80. package/dist/events-BTiuwc-0.cjs +1 -0
  81. package/dist/events-DDTGFACO.js +371 -0
  82. package/dist/graphservice-CRRwkBcy.cjs +1 -0
  83. package/dist/graphservice-CXr8ZCEY.js +726 -0
  84. package/dist/hooks/connection/useConnection.d.ts +5 -5
  85. package/dist/hooks/connection/useConnectionStatus.d.ts +7 -0
  86. package/dist/hooks/connection/useConnections.d.ts +4 -4
  87. package/dist/hooks/exec/useExecSession.d.ts +2 -2
  88. package/dist/hooks/logs/useLogSession.d.ts +1 -2
  89. package/dist/hooks/metric/useMetricProviders.d.ts +3 -3
  90. package/dist/hooks/metric/useMetricStream.d.ts +2 -2
  91. package/dist/hooks/metric/useResourceMetrics.d.ts +4 -3
  92. package/dist/hooks/networker/types.d.ts +3 -3
  93. package/dist/hooks/networker/usePortForwardSessions.d.ts +4 -4
  94. package/dist/hooks/networker/useResourcePortForwarder.d.ts +3 -4
  95. package/dist/hooks/resource/index.d.ts +2 -0
  96. package/dist/hooks/resource/useDependencyTree.d.ts +41 -0
  97. package/dist/hooks/resource/useEditorSchemas.d.ts +2 -2
  98. package/dist/hooks/resource/useEventBatcher.d.ts +3 -0
  99. package/dist/hooks/resource/useRelatedResources.d.ts +82 -0
  100. package/dist/hooks/resource/useResource.d.ts +3 -4
  101. package/dist/hooks/resource/useResourceActions.d.ts +2 -3
  102. package/dist/hooks/resource/useResourceAreaComponent.d.ts +3 -3
  103. package/dist/hooks/resource/useResourceGroups.d.ts +6 -6
  104. package/dist/hooks/resource/useResourceMutations.d.ts +3 -4
  105. package/dist/hooks/resource/useResourceType.d.ts +1 -1
  106. package/dist/hooks/resource/useResourceTypes.d.ts +6 -6
  107. package/dist/hooks/resource/useResources.d.ts +3 -4
  108. package/dist/index-D2mKAO8s.js +1069 -0
  109. package/dist/index-D_aIcqH0.cjs +6 -0
  110. package/dist/index.cjs +2 -2
  111. package/dist/index.js +1281 -1599
  112. package/dist/legacyEnum-DORXlU_y.js +13 -0
  113. package/dist/legacyEnum-DkV5yRdA.cjs +1 -0
  114. package/dist/models-BoBl5Kgj.js +159 -0
  115. package/dist/models-BvR5jdms.js +2358 -0
  116. package/dist/models-CHycLCM0.cjs +1 -0
  117. package/dist/models-DOdc96z9.cjs +1 -0
  118. package/dist/models.cjs +1 -1
  119. package/dist/models.d.ts +28 -1
  120. package/dist/models.js +263 -2244
  121. package/dist/runtime.cjs +1 -1
  122. package/dist/runtime.d.ts +1 -1
  123. package/dist/runtime.js +198 -205
  124. package/dist/types/watch.d.ts +4 -5
  125. package/package.json +17 -13
  126. package/LICENSE +0 -661
  127. package/dist/Client-07zrOerN.js +0 -636
  128. package/dist/Client-CLvQWnuz.cjs +0 -1
  129. package/dist/wailsjs/go/data/Client.d.ts +0 -10
  130. package/dist/wailsjs/go/devserver/DevServerManager.d.ts +0 -24
  131. package/dist/wailsjs/go/diagnostics/DiagnosticsClient.d.ts +0 -18
  132. package/dist/wailsjs/go/exec/Client.d.ts +0 -26
  133. package/dist/wailsjs/go/logs/Client.d.ts +0 -16
  134. package/dist/wailsjs/go/main/App.d.ts +0 -8
  135. package/dist/wailsjs/go/metric/Client.d.ts +0 -12
  136. package/dist/wailsjs/go/models.d.ts +0 -1060
  137. package/dist/wailsjs/go/networker/Client.d.ts +0 -14
  138. package/dist/wailsjs/go/plugin/pluginManager.d.ts +0 -52
  139. package/dist/wailsjs/go/pluginlog/Manager.d.ts +0 -18
  140. package/dist/wailsjs/go/resource/Client.d.ts +0 -90
  141. package/dist/wailsjs/go/settings/Client.d.ts +0 -14
  142. package/dist/wailsjs/go/settings/provider.d.ts +0 -48
  143. package/dist/wailsjs/go/ui/Client.d.ts +0 -6
  144. package/dist/wailsjs/go/utils/Client.d.ts +0 -2
  145. package/dist/wailsjs/runtime/runtime.d.ts +0 -249
@@ -0,0 +1,726 @@
1
+ var K = Object.defineProperty;
2
+ var q = (e, t, r) => t in e ? K(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
+ var $ = (e, t, r) => q(e, typeof t != "symbol" ? t + "" : t, r);
4
+ import { A as c, M as p, a as s, N as a, B as X } from "./index-D2mKAO8s.js";
5
+ import { d as v, e as Y, P as Z, f as ee, V as te, R as ne, g as re, h as oe, i as P, j as ce, k as ue, l as se, m as ie, n as ae, o as $e, p as pe, q as le, r as fe, E as ye, s as he, t as Te, u as ge, v as Se, w as de, x as me, y as Pe, z as Fe, B as Ge, H as Re, I as Ce, J as _e, K as be, M as ve, N as Le, Q as Oe, O as we, T as je, X as He, Y as Me } from "./models-BvR5jdms.js";
6
+ import { B as n } from "./calls-BmUnjINC.js";
7
+ function Ae(e, t) {
8
+ return n(3867104420, e, t).then((r) => L(r));
9
+ }
10
+ function De(e) {
11
+ return n(3795411887, e);
12
+ }
13
+ function ze() {
14
+ return n(1053995964).then((e) => Be(e));
15
+ }
16
+ function Ie(e) {
17
+ return n(3231741321, e).then((t) => Ne(t));
18
+ }
19
+ function Ve(e) {
20
+ return n(2597562645, e).then((t) => O(t));
21
+ }
22
+ function We(e, t, r) {
23
+ return n(1481837168, e, t, r);
24
+ }
25
+ function Ee(e, t) {
26
+ return n(230212281, e, t);
27
+ }
28
+ function Ue() {
29
+ return n(2408440370).then((e) => O(e));
30
+ }
31
+ const L = v.createFrom, Be = c(s), Ne = p(s, L), O = p(s, s), ko = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
32
+ __proto__: null,
33
+ GetSetting: Ae,
34
+ HasPlugin: De,
35
+ ListPlugins: ze,
36
+ ListSettings: Ie,
37
+ PluginValues: Ve,
38
+ SetSetting: We,
39
+ SetSettings: Ee,
40
+ Values: Ue
41
+ }, Symbol.toStringTag, { value: "Module" }));
42
+ function Qe(e) {
43
+ return n(3150413499, e).then((t) => f(t));
44
+ }
45
+ function xe(e) {
46
+ return n(1152913314, e).then((t) => pt(t));
47
+ }
48
+ function Je(e) {
49
+ return n(111194374, e).then((t) => F(t));
50
+ }
51
+ function ke(e) {
52
+ return n(3945933305, e);
53
+ }
54
+ function Ke(e) {
55
+ return n(2859775056, e).then((t) => w(t));
56
+ }
57
+ function qe(e, t) {
58
+ return n(2209599792, e, t).then((r) => yt(r));
59
+ }
60
+ function Xe(e) {
61
+ return n(3963363730, e).then((t) => w(t));
62
+ }
63
+ function Ye() {
64
+ return n(2477486666).then((e) => g(e));
65
+ }
66
+ function Ze() {
67
+ return n(976517756).then((e) => g(e));
68
+ }
69
+ function et(e) {
70
+ return n(1020548995, e).then((t) => g(t));
71
+ }
72
+ function tt(e, t) {
73
+ return n(2004740384, e, t).then((r) => g(r));
74
+ }
75
+ function nt() {
76
+ return n(873697101).then((e) => j(e));
77
+ }
78
+ function rt() {
79
+ return n(637134283).then((e) => Tt(e));
80
+ }
81
+ function ot() {
82
+ return n(550607756).then((e) => gt(e));
83
+ }
84
+ function ct(e, t) {
85
+ return n(288660195, e, t).then((r) => f(r));
86
+ }
87
+ function ut(e) {
88
+ return n(1771013494, e).then((t) => f(t));
89
+ }
90
+ function st(e) {
91
+ return n(2433379724, e).then((t) => f(t));
92
+ }
93
+ function it(e, t, r) {
94
+ return n(2783597264, e, t, r).then((o) => j(o));
95
+ }
96
+ function at(e) {
97
+ return n(1369550929, e).then((t) => f(t));
98
+ }
99
+ const f = Y.createFrom, $t = ee.createFrom, pt = a($t), F = Z.createFrom, lt = te.createFrom, w = c(lt), ft = ne.createFrom, yt = c(ft), g = a(F), ht = re.createFrom, j = c(ht), Tt = c(F), gt = c(f), Ko = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
100
+ __proto__: null,
101
+ GetPlugin: Qe,
102
+ GetPluginDownloadStats: xe,
103
+ GetPluginMeta: Je,
104
+ GetPluginReadme: ke,
105
+ GetPluginReleaseHistory: Ke,
106
+ GetPluginReviews: qe,
107
+ GetPluginVersions: Xe,
108
+ InstallFromPathPrompt: Ye,
109
+ InstallInDevMode: Ze,
110
+ InstallPluginFromPath: et,
111
+ InstallPluginVersion: tt,
112
+ ListAvailablePlugins: nt,
113
+ ListPluginMetas: rt,
114
+ ListPlugins: ot,
115
+ LoadPlugin: ct,
116
+ ReloadPlugin: ut,
117
+ RetryFailedPlugin: st,
118
+ SearchPlugins: it,
119
+ UninstallPlugin: at
120
+ }, Symbol.toStringTag, { value: "Module" }));
121
+ function St(e) {
122
+ return n(122243240, e);
123
+ }
124
+ function dt() {
125
+ return n(269082212).then((e) => At(e));
126
+ }
127
+ function mt(e) {
128
+ return n(1421156656, e).then((t) => G(t));
129
+ }
130
+ function Pt(e) {
131
+ return n(3143996982, e).then((t) => H(t));
132
+ }
133
+ function Ft(e) {
134
+ return n(1695819138, e);
135
+ }
136
+ function Gt(e) {
137
+ return n(1827194808, e).then((t) => Dt(t));
138
+ }
139
+ function Rt(e) {
140
+ return n(72059321, e);
141
+ }
142
+ function Ct(e) {
143
+ return n(62418781, e).then((t) => zt(t));
144
+ }
145
+ function _t(e) {
146
+ return n(2222012564, e).then((t) => It(t));
147
+ }
148
+ function bt(e) {
149
+ return n(2753368941, e);
150
+ }
151
+ function vt(e) {
152
+ return n(3825211425, e);
153
+ }
154
+ function Lt(e) {
155
+ return n(2121298005, e).then((t) => Vt(t));
156
+ }
157
+ function Ot() {
158
+ return n(3038957305).then((e) => T(e));
159
+ }
160
+ function wt() {
161
+ return n(3369612893);
162
+ }
163
+ function jt(e, t) {
164
+ return n(252556992, e, t);
165
+ }
166
+ function Ht(e) {
167
+ return n(1704369097, e);
168
+ }
169
+ function Mt() {
170
+ return n(2936263106).then((e) => H(e));
171
+ }
172
+ const G = oe.createFrom, At = c(G), H = p(s, s), Dt = c(s), zt = c(s), It = v.createFrom, Vt = c(s);
173
+ var T = function e(...t) {
174
+ return T === e && (T = Wt), T(...t);
175
+ };
176
+ const Wt = p(s, G), qo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
177
+ __proto__: null,
178
+ GetBool: St,
179
+ GetCategories: dt,
180
+ GetCategory: mt,
181
+ GetCategoryValues: Pt,
182
+ GetFloat: Ft,
183
+ GetFloatSlice: Gt,
184
+ GetInt: Rt,
185
+ GetIntSlice: Ct,
186
+ GetSetting: _t,
187
+ GetSettingValue: bt,
188
+ GetString: vt,
189
+ GetStringSlice: Lt,
190
+ ListSettings: Ot,
191
+ LoadSettings: wt,
192
+ SetSetting: jt,
193
+ SetSettings: Ht,
194
+ Values: Mt
195
+ }, Symbol.toStringTag, { value: "Module" }));
196
+ class R {
197
+ /** Creates a new ConnectionState instance. */
198
+ constructor(t = {}) {
199
+ /**
200
+ * Connection metadata (name, avatar, labels, etc.)
201
+ */
202
+ $(this, "connection");
203
+ /**
204
+ * Whether this connection is actively started/connected.
205
+ */
206
+ $(this, "started");
207
+ /**
208
+ * Per-resource watch states (resource key → WatchState enum).
209
+ */
210
+ $(this, "resources");
211
+ /**
212
+ * Per-resource object counts (resource key → count of cached objects).
213
+ */
214
+ $(this, "resourceCounts");
215
+ /**
216
+ * Aggregate counts computed server-side.
217
+ */
218
+ $(this, "totalResources");
219
+ $(this, "syncedCount");
220
+ $(this, "errorCount");
221
+ /**
222
+ * ISO 8601 timestamp of the last successful sync, or empty if never synced.
223
+ * String instead of time.Time for Wails serialization compatibility.
224
+ */
225
+ $(this, "lastSyncTime");
226
+ "connection" in t || (this.connection = new P()), "started" in t || (this.started = !1), "resources" in t || (this.resources = {}), "resourceCounts" in t || (this.resourceCounts = {}), "totalResources" in t || (this.totalResources = 0), "syncedCount" in t || (this.syncedCount = 0), "errorCount" in t || (this.errorCount = 0), Object.assign(this, t);
227
+ }
228
+ /**
229
+ * Creates a new ConnectionState instance from a string or object.
230
+ */
231
+ static createFrom(t = {}) {
232
+ const r = Et, o = Ut, u = Bt;
233
+ let i = typeof t == "string" ? JSON.parse(t) : t;
234
+ return "connection" in i && (i.connection = r(i.connection)), "resources" in i && (i.resources = o(i.resources)), "resourceCounts" in i && (i.resourceCounts = u(i.resourceCounts)), new R(i);
235
+ }
236
+ }
237
+ const Et = P.createFrom, Ut = p(s, s), Bt = p(s, s);
238
+ function Nt(e, t) {
239
+ return n(4065522324, e, t);
240
+ }
241
+ function Qt(e, t) {
242
+ return n(1688967279, e, t).then((r) => M(r));
243
+ }
244
+ function xt(e, t, r, o) {
245
+ return n(1613386605, e, t, r, o).then((u) => In(u));
246
+ }
247
+ function Jt(e, t, r, o) {
248
+ return n(1477526970, e, t, r, o).then((u) => Wn(u));
249
+ }
250
+ function kt(e, t, r) {
251
+ return n(1338477906, e, t, r);
252
+ }
253
+ function Kt(e, t, r, o, u) {
254
+ return n(1844283666, e, t, r, o, u).then((i) => Un(i));
255
+ }
256
+ function qt(e, t, r, o) {
257
+ return n(4148812394, e, t, r, o).then((u) => Nn(u));
258
+ }
259
+ function Xt(e, t, r, o) {
260
+ return n(194970279, e, t, r, o).then((u) => xn(u));
261
+ }
262
+ function Yt(e, t, r) {
263
+ return n(419011114, e, t, r).then((o) => kn(o));
264
+ }
265
+ function Zt() {
266
+ return n(4153677080).then((e) => Xn(e));
267
+ }
268
+ function en(e, t) {
269
+ return n(950535743, e, t).then((r) => S(r));
270
+ }
271
+ function tn(e, t) {
272
+ return n(537508515, e, t).then((r) => A(r));
273
+ }
274
+ function nn(e, t) {
275
+ return n(1394342402, e, t).then((r) => Zn(r));
276
+ }
277
+ function rn(e, t, r) {
278
+ return n(1947262600, e, t, r).then((o) => tr(o));
279
+ }
280
+ function on(e, t, r, o) {
281
+ return n(1644192689, e, t, r, o).then((u) => rr(u));
282
+ }
283
+ function cn(e, t) {
284
+ return n(2699561690, e, t).then((r) => cr(r));
285
+ }
286
+ function un(e, t) {
287
+ return n(1474609809, e, t).then((r) => sr(r));
288
+ }
289
+ function sn(e, t) {
290
+ return n(4077050094, e, t).then((r) => ir(r));
291
+ }
292
+ function an(e, t, r, o, u, i) {
293
+ return n(3171791798, e, t, r, o, u, i).then((l) => $r(l));
294
+ }
295
+ function $n(e, t) {
296
+ return n(114848330, e, t).then((r) => D(r));
297
+ }
298
+ function pn(e, t) {
299
+ return n(4290498491, e, t).then((r) => pr(r));
300
+ }
301
+ function ln(e, t, r) {
302
+ return n(137675652, e, t, r);
303
+ }
304
+ function fn(e, t) {
305
+ return n(2078766795, e, t).then((r) => lr(r));
306
+ }
307
+ function yn(e, t) {
308
+ return n(3311395752, e, t).then((r) => fr(r));
309
+ }
310
+ function hn(e, t) {
311
+ return n(42345827, e, t).then((r) => hr(r));
312
+ }
313
+ function Tn(e) {
314
+ return n(854008408, e);
315
+ }
316
+ function gn(e, t) {
317
+ return n(3547410887, e, t);
318
+ }
319
+ function Sn(e, t, r) {
320
+ return n(3516169863, e, t, r);
321
+ }
322
+ function dn(e, t, r, o) {
323
+ return n(3093409425, e, t, r, o).then((u) => gr(u));
324
+ }
325
+ function mn() {
326
+ return n(1598984489).then((e) => Sr(e));
327
+ }
328
+ function Pn(e) {
329
+ return n(1775572154, e).then((t) => C(t));
330
+ }
331
+ function Fn() {
332
+ return n(3217612415).then((e) => A(e));
333
+ }
334
+ function Gn(e) {
335
+ return n(2037329938, e).then((t) => C(t));
336
+ }
337
+ function Rn(e, t) {
338
+ return n(421198049, e, t);
339
+ }
340
+ function Cn(e, t, r, o, u) {
341
+ return n(3987850310, e, t, r, o, u).then((i) => mr(i));
342
+ }
343
+ function _n(e, t, r) {
344
+ return n(555702059, e, t, r);
345
+ }
346
+ function bn(e, t) {
347
+ return n(3276991559, e, t).then((r) => M(r));
348
+ }
349
+ function vn(e, t) {
350
+ return n(3389223006, e, t);
351
+ }
352
+ function Ln(e, t) {
353
+ return n(794258089, e, t).then((r) => S(r));
354
+ }
355
+ function On(e, t) {
356
+ return n(1661153284, e, t);
357
+ }
358
+ function wn(e, t, r) {
359
+ return n(3981374696, e, t, r);
360
+ }
361
+ function jn(e, t, r, o, u) {
362
+ return n(2990116431, e, t, r, o, u);
363
+ }
364
+ function Hn(e, t, r) {
365
+ return n(2856546527, e, t, r);
366
+ }
367
+ function Mn(e, t, r) {
368
+ return n(3710015102, e, t, r);
369
+ }
370
+ function An(e, t, r, o) {
371
+ return n(2408192164, e, t, r, o).then((u) => Fr(u));
372
+ }
373
+ function Dn(e, t) {
374
+ return n(2131988692, e, t).then((r) => S(r));
375
+ }
376
+ const M = ce.createFrom, zn = ie.createFrom, In = a(zn), Vn = ae.createFrom, Wn = a(Vn), En = $e.createFrom, Un = a(En), Bn = pe.createFrom, Nn = a(Bn), Qn = le.createFrom, xn = a(Qn), Jn = fe.createFrom, kn = c(Jn), Kn = R.createFrom, qn = c(Kn), Xn = p(s, qn), S = P.createFrom, A = c(s), Yn = ye.createFrom, Zn = c(Yn), er = he.createFrom, tr = c(er), nr = Te.createFrom, rr = a(nr), or = ge.createFrom, cr = c(or), ur = Se.createFrom, sr = a(ur), ir = ue.createFrom, ar = de.createFrom, $r = c(ar), D = se.createFrom, pr = p(s, D), z = me.createFrom, lr = a(z), fr = p(s, z), yr = Pe.createFrom, hr = a(yr), Tr = Fe.createFrom, gr = a(Tr), C = c(S), Sr = p(s, C), dr = Ge.createFrom, mr = c(dr), Pr = Re.createFrom, Fr = a(Pr), Xo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
377
+ __proto__: null,
378
+ AddConnection: Nt,
379
+ CheckConnection: Qt,
380
+ Create: xt,
381
+ Delete: Jt,
382
+ EnsureResourceWatch: kt,
383
+ ExecuteAction: Kt,
384
+ Find: qt,
385
+ Get: Xt,
386
+ GetActions: Yt,
387
+ GetAllConnectionStates: Zt,
388
+ GetConnection: en,
389
+ GetConnectionNamespaces: tn,
390
+ GetEditorSchemas: nn,
391
+ GetFilterFields: rn,
392
+ GetHealth: on,
393
+ GetRelationships: cn,
394
+ GetResourceCapabilities: un,
395
+ GetResourceDefinition: sn,
396
+ GetResourceEvents: an,
397
+ GetResourceGroup: $n,
398
+ GetResourceGroups: pn,
399
+ GetResourceSchema: ln,
400
+ GetResourceType: fn,
401
+ GetResourceTypes: yn,
402
+ GetWatchState: hn,
403
+ HasPlugin: Tn,
404
+ HasResourceType: gn,
405
+ IsResourceWatchRunning: Sn,
406
+ List: dn,
407
+ ListAllConnections: mn,
408
+ ListConnections: Pn,
409
+ ListPlugins: Fn,
410
+ LoadConnections: Gn,
411
+ RemoveConnection: Rn,
412
+ ResolveRelationships: Cn,
413
+ RestartResourceWatch: _n,
414
+ StartConnection: bn,
415
+ StartConnectionWatch: vn,
416
+ StopConnection: Ln,
417
+ StopConnectionWatch: On,
418
+ StopResourceWatch: wn,
419
+ StreamAction: jn,
420
+ SubscribeResource: Hn,
421
+ UnsubscribeResource: Mn,
422
+ Update: An,
423
+ UpdateConnection: Dn
424
+ }, Symbol.toStringTag, { value: "Module" }));
425
+ function Gr(e, t) {
426
+ return n(3653639550, e, t);
427
+ }
428
+ function Rr(e, t) {
429
+ return n(851823419, e, t);
430
+ }
431
+ function Cr(e) {
432
+ return n(2991415449, e).then((t) => br(t));
433
+ }
434
+ function _r(e, t, r) {
435
+ return n(2695679023, e, t, r);
436
+ }
437
+ const br = c(s), Yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
438
+ __proto__: null,
439
+ Delete: Gr,
440
+ Get: Rr,
441
+ Keys: Cr,
442
+ Set: _r
443
+ }, Symbol.toStringTag, { value: "Module" }));
444
+ function vr(e) {
445
+ return n(93318075, e).then((t) => (t[0] = y(t[0]), t[1] = X(t[1]), t));
446
+ }
447
+ function Lr(e) {
448
+ return n(1353297556, e);
449
+ }
450
+ function Or(e, t, r) {
451
+ return n(608251756, e, t, r).then((o) => y(o));
452
+ }
453
+ function wr(e) {
454
+ return n(4182196712, e).then((t) => y(t));
455
+ }
456
+ function jr(e) {
457
+ return n(3993344525, e).then((t) => y(t));
458
+ }
459
+ function Hr(e, t) {
460
+ return n(1779192716, e, t).then((r) => Br(r));
461
+ }
462
+ function Mr() {
463
+ return n(4033362541).then((e) => Nr(e));
464
+ }
465
+ function Ar(e) {
466
+ return n(2619212338, e).then((t) => V(t));
467
+ }
468
+ function Dr(e) {
469
+ return n(1371268636, e).then((t) => y(t));
470
+ }
471
+ function zr(e) {
472
+ return n(3881019319, e);
473
+ }
474
+ function Ir() {
475
+ return n(3006426324).then((e) => Qr(e));
476
+ }
477
+ function Vr() {
478
+ return n(265791345).then((e) => xr(e));
479
+ }
480
+ function Wr(e, t, r) {
481
+ return n(1492965384, e, t, r);
482
+ }
483
+ function Er(e, t) {
484
+ return n(486465741, e, t);
485
+ }
486
+ const Ur = _e.createFrom, y = a(Ur), I = Ce.createFrom, Br = a(I), V = p(s, I), Nr = p(s, V), Qr = c(s), xr = c(y), Zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
487
+ __proto__: null,
488
+ AttachSession: vr,
489
+ CloseSession: Lr,
490
+ CreateSession: Or,
491
+ CreateTerminal: wr,
492
+ DetachSession: jr,
493
+ GetHandler: Hr,
494
+ GetHandlers: Mr,
495
+ GetPluginHandlers: Ar,
496
+ GetSession: Dr,
497
+ HasPlugin: zr,
498
+ ListPlugins: Ir,
499
+ ListSessions: Vr,
500
+ ResizeSession: Wr,
501
+ WriteSession: Er
502
+ }, Symbol.toStringTag, { value: "Module" }));
503
+ function Jr(e) {
504
+ return n(2776241946, e);
505
+ }
506
+ function kr(e, t, r) {
507
+ return n(1762441314, e, t, r).then((o) => d(o));
508
+ }
509
+ function Kr(e) {
510
+ return n(1474987050, e).then((t) => d(t));
511
+ }
512
+ function qr(e) {
513
+ return n(3156347865, e).then((t) => oo(t));
514
+ }
515
+ function Xr(e) {
516
+ return n(1444002509, e);
517
+ }
518
+ function Yr() {
519
+ return n(3104582886).then((e) => co(e));
520
+ }
521
+ function Zr() {
522
+ return n(2249742267).then((e) => uo(e));
523
+ }
524
+ function eo(e, t) {
525
+ return n(1212190993, e, t);
526
+ }
527
+ function to(e, t) {
528
+ return n(2177127885, e, t).then((r) => d(r));
529
+ }
530
+ const no = be.createFrom, d = a(no), ro = ve.createFrom, oo = c(ro), co = c(s), uo = c(d), ec = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
531
+ __proto__: null,
532
+ CloseSession: Jr,
533
+ CreateSession: kr,
534
+ GetSession: Kr,
535
+ GetSupportedResources: qr,
536
+ HasPlugin: Xr,
537
+ ListPlugins: Yr,
538
+ ListSessions: Zr,
539
+ SendCommand: eo,
540
+ UpdateSessionOptions: to
541
+ }, Symbol.toStringTag, { value: "Module" }));
542
+ class _ {
543
+ /** Creates a new MetricProviderSummary instance. */
544
+ constructor(t = {}) {
545
+ $(this, "plugin_id");
546
+ $(this, "provider_id");
547
+ $(this, "name");
548
+ $(this, "icon");
549
+ $(this, "description");
550
+ $(this, "handlers");
551
+ "plugin_id" in t || (this.plugin_id = ""), "provider_id" in t || (this.provider_id = ""), "name" in t || (this.name = ""), "icon" in t || (this.icon = ""), "description" in t || (this.description = ""), "handlers" in t || (this.handlers = []), Object.assign(this, t);
552
+ }
553
+ /**
554
+ * Creates a new MetricProviderSummary instance from a string or object.
555
+ */
556
+ static createFrom(t = {}) {
557
+ const r = io;
558
+ let o = typeof t == "string" ? JSON.parse(t) : t;
559
+ return "handlers" in o && (o.handlers = r(o.handlers)), new _(o);
560
+ }
561
+ }
562
+ const so = Le.createFrom, io = c(so);
563
+ function ao() {
564
+ return n(3919346639).then((e) => W(e));
565
+ }
566
+ function $o(e) {
567
+ return n(3953821778, e).then((t) => W(t));
568
+ }
569
+ function po(e) {
570
+ return n(1815388456, e);
571
+ }
572
+ function lo() {
573
+ return n(2730149903).then((e) => So(e));
574
+ }
575
+ function fo(e, t, r) {
576
+ return n(3947209283, e, t, r).then((o) => E(o));
577
+ }
578
+ function yo(e, t, r, o, u, i, l, h, x, J) {
579
+ return n(2480040278, e, t, r, o, u, i, l, h, x, J).then((k) => Po(k));
580
+ }
581
+ function ho(e, t, r) {
582
+ return n(3738888803, e, t, r);
583
+ }
584
+ function To(e) {
585
+ return n(3994236150, e);
586
+ }
587
+ const go = _.createFrom, W = c(go), So = c(s), mo = Oe.createFrom, E = a(mo), Po = p(s, E), tc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
588
+ __proto__: null,
589
+ GetProviders: ao,
590
+ GetProvidersForResource: $o,
591
+ HasPlugin: po,
592
+ ListPlugins: lo,
593
+ Query: fo,
594
+ QueryAll: yo,
595
+ Subscribe: ho,
596
+ Unsubscribe: To
597
+ }, Symbol.toStringTag, { value: "Module" }));
598
+ function Fo(e) {
599
+ return n(182596922, e).then((t) => m(t));
600
+ }
601
+ function Go(e, t, r) {
602
+ return n(981100722, e, t, r).then((o) => b(o));
603
+ }
604
+ function Ro(e) {
605
+ return n(2157304970, e).then((t) => m(t));
606
+ }
607
+ function Co(e) {
608
+ return n(650882, e).then((t) => U(t));
609
+ }
610
+ function _o(e) {
611
+ return n(3624690437, e);
612
+ }
613
+ function bo() {
614
+ return n(2195697754).then((e) => b(e));
615
+ }
616
+ function vo() {
617
+ return n(167463150).then((e) => U(e));
618
+ }
619
+ function Lo(e, t) {
620
+ return n(2090415403, e, t).then((r) => b(r));
621
+ }
622
+ function Oo(e, t, r) {
623
+ return n(780445954, e, t, r).then((o) => m(o));
624
+ }
625
+ const wo = we.createFrom, m = a(wo), b = c(m), U = c(s), nc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
626
+ __proto__: null,
627
+ ClosePortForwardSession: Fo,
628
+ FindPortForwardSessions: Go,
629
+ GetPortForwardSession: Ro,
630
+ GetSupportedPortForwardTargets: Co,
631
+ HasPlugin: _o,
632
+ ListAllPortForwardSessions: bo,
633
+ ListPlugins: vo,
634
+ ListPortForwardSessions: Lo,
635
+ StartResourcePortForwardingSession: Oo
636
+ }, Symbol.toStringTag, { value: "Module" }));
637
+ function jo(e) {
638
+ return n(2106300110, e).then((t) => Ao(t));
639
+ }
640
+ function Ho(e) {
641
+ return n(765209827, e).then((t) => Do(t));
642
+ }
643
+ function Mo(e) {
644
+ return n(2355436169, e).then((t) => N(t));
645
+ }
646
+ const B = je.createFrom, N = c(B), Ao = p(s, N), Do = a(B), rc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
647
+ __proto__: null,
648
+ GetPluginComponents: jo,
649
+ GetResourceAreaComponent: Ho,
650
+ GetResourceComponents: Mo
651
+ }, Symbol.toStringTag, { value: "Module" }));
652
+ function zo(e, t, r, o, u, i) {
653
+ return n(3749557463, e, t, r, o, u, i).then((l) => Eo(l));
654
+ }
655
+ function Io(e, t, r, o, u, i, l) {
656
+ return n(3912521777, e, t, r, o, u, i, l).then((h) => Q(h));
657
+ }
658
+ function Vo(e, t, r, o, u, i, l) {
659
+ return n(1916045973, e, t, r, o, u, i, l).then((h) => Bo(h));
660
+ }
661
+ const Wo = He.createFrom, Eo = a(Wo), Uo = Me.createFrom, Q = c(Uo), Bo = c(Q), oc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
662
+ __proto__: null,
663
+ GetDependencyTree: zo,
664
+ GetRelated: Io,
665
+ GetRelationshipChain: Vo
666
+ }, Symbol.toStringTag, { value: "Module" }));
667
+ export {
668
+ qo as $,
669
+ xt as A,
670
+ Hn as B,
671
+ Or as C,
672
+ Jt as D,
673
+ Mn as E,
674
+ Go as F,
675
+ Je as G,
676
+ Yt as H,
677
+ Kt as I,
678
+ nn as J,
679
+ hn as K,
680
+ Pn as L,
681
+ jn as M,
682
+ Io as N,
683
+ zo as O,
684
+ Ve as P,
685
+ yo as Q,
686
+ Rn as R,
687
+ bn as S,
688
+ Zo as T,
689
+ Dn as U,
690
+ Mt as V,
691
+ nc as W,
692
+ Ko as X,
693
+ Xo as Y,
694
+ oc as Z,
695
+ ko as _,
696
+ Ln as a,
697
+ rc as a0,
698
+ ec as a1,
699
+ tc as a2,
700
+ Yo as a3,
701
+ en as b,
702
+ vn as c,
703
+ On as d,
704
+ tn as e,
705
+ Zt as f,
706
+ st as g,
707
+ mn as h,
708
+ Rr as i,
709
+ _r as j,
710
+ kr as k,
711
+ Jr as l,
712
+ ao as m,
713
+ $o as n,
714
+ ho as o,
715
+ To as p,
716
+ bo as q,
717
+ Fo as r,
718
+ Oo as s,
719
+ An as t,
720
+ Xt as u,
721
+ Ho as v,
722
+ pn as w,
723
+ dn as x,
724
+ fn as y,
725
+ yn as z
726
+ };