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