@omniviewdev/runtime 0.0.0-nightly.20260320 → 0.0.0-nightly.20260322
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.cjs +1 -1
- package/dist/api.d.ts +15 -14
- package/dist/api.js +105 -124
- package/dist/bindings/encoding/json/index.d.ts +1 -0
- package/dist/bindings/encoding/json/models.d.ts +6 -0
- package/dist/bindings/github.com/omniviewdev/omniview/appservice.d.ts +18 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/diagnostics/diagnosticsclient.d.ts +43 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/diagnostics/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/data/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/data/servicewrapper.d.ts +5 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/index.d.ts +3 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/models.d.ts +132 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/servicewrapper.d.ts +12 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/exec/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/exec/servicewrapper.d.ts +22 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/index.d.ts +3 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/lifecycle/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/lifecycle/models.d.ts +29 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/logs/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/logs/servicewrapper.d.ts +11 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/index.d.ts +3 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/models.d.ts +39 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/servicewrapper.d.ts +16 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/models.d.ts +73 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/networker/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/networker/servicewrapper.d.ts +11 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/index.d.ts +3 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/models.d.ts +24 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/servicewrapper.d.ts +7 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/registry/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/registry/models.d.ts +94 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/index.d.ts +3 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/models.d.ts +61 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/servicewrapper.d.ts +92 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/servicewrapper.d.ts +24 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/settings/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/settings/servicewrapper.d.ts +18 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/types/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/types/models.d.ts +23 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/index.d.ts +3 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/models.d.ts +55 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/servicewrapper.d.ts +7 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/client.d.ts +6 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/index.d.ts +3 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/models.d.ts +10 -0
- package/dist/bindings/github.com/omniviewdev/omniview/index.d.ts +3 -0
- package/dist/bindings/github.com/omniviewdev/omniview/internal/settings/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/internal/settings/servicewrapper.d.ts +48 -0
- package/dist/bindings/github.com/omniviewdev/omniview/internal/telemetry/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/internal/telemetry/telemetrybinding.d.ts +7 -0
- package/dist/bindings/github.com/omniviewdev/omniview/models.d.ts +38 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/config/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/config/models.d.ts +101 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/types/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/types/models.d.ts +199 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/models.d.ts +80 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/models.d.ts +134 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/models.d.ts +207 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/models.d.ts +97 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/models.d.ts +1200 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/settings/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/settings/models.d.ts +169 -0
- package/dist/bindings/github.com/wailsapp/wails/v3/internal/eventcreate.d.ts +1 -0
- package/dist/bindings/time/index.d.ts +2 -0
- package/dist/bindings/time/models.d.ts +77 -0
- package/dist/calls-WIJmoPWG.cjs +1 -0
- package/dist/calls-kYJYNPwO.js +687 -0
- package/dist/context/plugins/PluginContext.d.ts +2 -2
- package/dist/events-B-17yZx4.js +327 -0
- package/dist/events-D6Z9I2K4.cjs +1 -0
- package/dist/hooks/connection/useConnection.d.ts +5 -5
- package/dist/hooks/connection/useConnections.d.ts +4 -4
- package/dist/hooks/exec/useExecSession.d.ts +2 -2
- package/dist/hooks/logs/useLogSession.d.ts +1 -2
- package/dist/hooks/metric/useMetricProviders.d.ts +3 -3
- package/dist/hooks/metric/useMetricStream.d.ts +2 -2
- package/dist/hooks/metric/useResourceMetrics.d.ts +4 -3
- package/dist/hooks/networker/types.d.ts +3 -3
- package/dist/hooks/networker/usePortForwardSessions.d.ts +4 -4
- package/dist/hooks/networker/useResourcePortForwarder.d.ts +3 -4
- package/dist/hooks/resource/useEditorSchemas.d.ts +2 -2
- package/dist/hooks/resource/useResource.d.ts +3 -4
- package/dist/hooks/resource/useResourceActions.d.ts +2 -3
- package/dist/hooks/resource/useResourceAreaComponent.d.ts +3 -3
- package/dist/hooks/resource/useResourceGroups.d.ts +6 -6
- package/dist/hooks/resource/useResourceMutations.d.ts +3 -4
- package/dist/hooks/resource/useResourceType.d.ts +1 -1
- package/dist/hooks/resource/useResourceTypes.d.ts +6 -6
- package/dist/hooks/resource/useResources.d.ts +4 -4
- package/dist/index-BTxE5OgT.js +841 -0
- package/dist/index-DCsB3HOd.cjs +6 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +934 -919
- package/dist/models-2dDjO0f0.cjs +1 -0
- package/dist/models-B0wUPAuQ.js +144 -0
- package/dist/models-Bg2r2kdR.js +2089 -0
- package/dist/models-DVN8r6O6.cjs +1 -0
- package/dist/models.cjs +1 -1
- package/dist/models.d.ts +12 -1
- package/dist/models.js +163 -2196
- package/dist/runtime.cjs +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +187 -202
- package/dist/servicewrapper-BtYdL57C.cjs +1 -0
- package/dist/servicewrapper-CmDKQgRF.js +815 -0
- package/dist/types/watch.d.ts +2 -5
- package/package.json +3 -2
- package/dist/Client-CvzZMthW.js +0 -641
- package/dist/Client-mWCptmWy.cjs +0 -1
- package/dist/wailsjs/go/data/Client.d.ts +0 -10
- package/dist/wailsjs/go/devserver/DevServerManager.d.ts +0 -24
- package/dist/wailsjs/go/diagnostics/DiagnosticsClient.d.ts +0 -18
- package/dist/wailsjs/go/exec/Client.d.ts +0 -26
- package/dist/wailsjs/go/logs/Client.d.ts +0 -16
- package/dist/wailsjs/go/main/App.d.ts +0 -8
- package/dist/wailsjs/go/metric/Client.d.ts +0 -12
- package/dist/wailsjs/go/models.d.ts +0 -1028
- package/dist/wailsjs/go/networker/Client.d.ts +0 -14
- package/dist/wailsjs/go/plugin/pluginManager.d.ts +0 -54
- package/dist/wailsjs/go/pluginlog/Manager.d.ts +0 -18
- package/dist/wailsjs/go/resource/Client.d.ts +0 -90
- package/dist/wailsjs/go/settings/Client.d.ts +0 -14
- package/dist/wailsjs/go/settings/provider.d.ts +0 -48
- package/dist/wailsjs/go/ui/Client.d.ts +0 -6
- package/dist/wailsjs/go/utils/Client.d.ts +0 -2
- package/dist/wailsjs/runtime/runtime.d.ts +0 -249
package/dist/api.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./servicewrapper-BtYdL57C.cjs"),i=require("./index-DCsB3HOd.cjs"),t=require("./calls-WIJmoPWG.cjs"),u=require("./models-DVN8r6O6.cjs");function l(e){return t.ByID(3503478684,e)}const y=Object.freeze(Object.defineProperty({__proto__:null,DetectLanguage:l},Symbol.toStringTag,{value:"Module"}));function s(e,r){return t.ByID(2691208406,e,r)}function p(e,r){return t.ByID(3932965591,e,r)}function D(e,r){return t.ByID(1686862755,e,r)}function f(e,r,o){return t.ByID(3705442919,e,r,o)}function g(e){return t.ByID(3024854267,e)}function v(e){return t.ByID(158417611,e)}function S(e){return t.ByID(3413815733,e)}function $(e,r){return t.ByID(2047870999,e,r)}const I=Object.freeze(Object.defineProperty({__proto__:null,Debug:s,Error:p,Info:D,Log:f,ReadLog:g,StartTail:v,StopTail:S,Warn:$},Symbol.toStringTag,{value:"Module"}));function B(e,r){return t.ByID(712656304,e,r).then(o=>L(o))}function b(e){return t.ByID(4153226260,e).then(r=>c(r))}function d(e){return t.ByID(1268119665,e).then(r=>M(r))}function T(e){return t.ByID(1859413816,e)}function _(){return t.ByID(2707386443).then(e=>j(e))}function w(e){return t.ByID(2381063937,e)}function h(e){return t.ByID(123659362,e).then(r=>c(r))}function m(e){return t.ByID(709599671,e).then(r=>c(r))}function O(e,r){return t.ByID(2105869281,e,r).then(o=>c(o))}function C(e){return t.ByID(1371062537,e)}const F=u.LogEntry.createFrom,L=i.Array(F),c=u.DevServerState.createFrom,P=u.DevInfoFile.createFrom,M=i.Nullable(P),j=i.Array(c),A=Object.freeze(Object.defineProperty({__proto__:null,GetDevServerLogs:B,GetDevServerState:b,GetExternalPluginInfo:d,IsManaged:T,ListDevServerStates:_,RebuildPlugin:w,RestartDevServer:h,StartDevServer:m,StartDevServerForPath:O,StopDevServer:C},Symbol.toStringTag,{value:"Module"}));function G(e,r){return t.ByID(1867216983,e,r).then(o=>a(o))}function E(){return t.ByID(3418650705).then(e=>U(e))}function q(e,r){return t.ByID(4138610615,e,r).then(o=>a(o))}function z(e){return t.ByID(3055914536,e)}function R(e){return t.ByID(1502487629,e)}const x=u.LogEntry$1.createFrom,a=i.Array(x),U=i.Array(i.Any),W=Object.freeze(Object.defineProperty({__proto__:null,GetLogs:G,ListStreams:E,SearchLogs:q,Subscribe:z,Unsubscribe:R},Symbol.toStringTag,{value:"Module"}));function N(){return t.ByID(1706570792)}function k(e){return t.ByID(2957909098,e).then(r=>K(r))}function H(e){return t.ByID(473489213,e)}function J(e,r){return t.ByID(3778694836,e,r)}const K=i.Array(i.Any);exports.DataClient=n.servicewrapper$9;exports.ExecClient=n.servicewrapper;exports.LogsClient=n.servicewrapper$7;exports.MetricClient=n.servicewrapper$8;exports.NetworkerClient=n.servicewrapper$1;exports.PluginManager=n.servicewrapper$2;exports.ResourceClient=n.servicewrapper$3;exports.SettingsClient=n.servicewrapper$4;exports.SettingsProvider=n.servicewrapper$5;exports.UIClient=n.servicewrapper$6;exports.DevServerManager=A;exports.DiagnosticsClient=I;exports.GetOperatingSystem=N;exports.OpenFileSelectionDialog=k;exports.PluginLogManager=W;exports.SaveFileDialog=H;exports.UtilsClient=y;exports.WriteFileContent=J;
|
package/dist/api.d.ts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
export * as ExecClient from './
|
|
2
|
-
export * as NetworkerClient from './
|
|
3
|
-
export * as PluginManager from './
|
|
4
|
-
export * as ResourceClient from './
|
|
5
|
-
export * as SettingsClient from './
|
|
6
|
-
export * as SettingsProvider from './
|
|
7
|
-
export * as UtilsClient from './
|
|
8
|
-
export * as UIClient from './
|
|
9
|
-
export * as DiagnosticsClient from './
|
|
10
|
-
export * as LogsClient from './
|
|
11
|
-
export * as MetricClient from './
|
|
12
|
-
export * as
|
|
13
|
-
export * as
|
|
14
|
-
export * from './
|
|
1
|
+
export * as ExecClient from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/exec/servicewrapper';
|
|
2
|
+
export * as NetworkerClient from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/networker/servicewrapper';
|
|
3
|
+
export * as PluginManager from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/servicewrapper';
|
|
4
|
+
export * as ResourceClient from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/servicewrapper';
|
|
5
|
+
export * as SettingsClient from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/settings/servicewrapper';
|
|
6
|
+
export * as SettingsProvider from './bindings/github.com/omniviewdev/omniview/internal/settings/servicewrapper';
|
|
7
|
+
export * as UtilsClient from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/client';
|
|
8
|
+
export * as UIClient from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/servicewrapper';
|
|
9
|
+
export * as DiagnosticsClient from './bindings/github.com/omniviewdev/omniview/backend/diagnostics/diagnosticsclient';
|
|
10
|
+
export * as LogsClient from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/logs/servicewrapper';
|
|
11
|
+
export * as MetricClient from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/servicewrapper';
|
|
12
|
+
export * as DataClient from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/data/servicewrapper';
|
|
13
|
+
export * as DevServerManager from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/servicewrapper';
|
|
14
|
+
export * as PluginLogManager from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/servicewrapper';
|
|
15
|
+
export * from './bindings/github.com/omniviewdev/omniview/appservice';
|
package/dist/api.js
CHANGED
|
@@ -1,164 +1,145 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { a0 as oe, N as ue, _ as ae, $ as ie, O as ce, T as se, W as le, X as fe, Y as ge, Z as Se } from "./servicewrapper-CmDKQgRF.js";
|
|
2
|
+
import { A as o, N as c, a } from "./index-BTxE5OgT.js";
|
|
3
|
+
import { B as r } from "./calls-kYJYNPwO.js";
|
|
4
|
+
import { D as s, L as l, a as f, b as g } from "./models-B0wUPAuQ.js";
|
|
5
|
+
function S(e) {
|
|
6
|
+
return r(3503478684, e);
|
|
4
7
|
}
|
|
5
|
-
const
|
|
8
|
+
const q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6
9
|
__proto__: null,
|
|
7
|
-
DetectLanguage:
|
|
10
|
+
DetectLanguage: S
|
|
8
11
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9
|
-
function
|
|
10
|
-
return
|
|
12
|
+
function p(e, t) {
|
|
13
|
+
return r(2691208406, e, t);
|
|
11
14
|
}
|
|
12
|
-
function
|
|
13
|
-
return
|
|
15
|
+
function v(e, t) {
|
|
16
|
+
return r(3932965591, e, t);
|
|
14
17
|
}
|
|
15
|
-
function
|
|
16
|
-
return
|
|
18
|
+
function $(e, t) {
|
|
19
|
+
return r(1686862755, e, t);
|
|
17
20
|
}
|
|
18
|
-
function
|
|
19
|
-
return
|
|
21
|
+
function y(e, t, n) {
|
|
22
|
+
return r(3705442919, e, t, n);
|
|
20
23
|
}
|
|
21
|
-
function
|
|
22
|
-
return
|
|
24
|
+
function b(e) {
|
|
25
|
+
return r(3024854267, e);
|
|
23
26
|
}
|
|
24
|
-
function
|
|
25
|
-
return
|
|
27
|
+
function D(e) {
|
|
28
|
+
return r(158417611, e);
|
|
26
29
|
}
|
|
27
|
-
function
|
|
28
|
-
return
|
|
30
|
+
function m(e) {
|
|
31
|
+
return r(3413815733, e);
|
|
29
32
|
}
|
|
30
|
-
function
|
|
31
|
-
return
|
|
33
|
+
function T(e, t) {
|
|
34
|
+
return r(2047870999, e, t);
|
|
32
35
|
}
|
|
33
|
-
const
|
|
36
|
+
const H = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
34
37
|
__proto__: null,
|
|
35
|
-
Debug:
|
|
36
|
-
Error:
|
|
37
|
-
Info:
|
|
38
|
-
Log:
|
|
39
|
-
ReadLog:
|
|
40
|
-
StartTail:
|
|
41
|
-
StopTail:
|
|
42
|
-
Warn:
|
|
38
|
+
Debug: p,
|
|
39
|
+
Error: v,
|
|
40
|
+
Info: $,
|
|
41
|
+
Log: y,
|
|
42
|
+
ReadLog: b,
|
|
43
|
+
StartTail: D,
|
|
44
|
+
StopTail: m,
|
|
45
|
+
Warn: T
|
|
43
46
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
44
|
-
function
|
|
45
|
-
return
|
|
47
|
+
function _(e, t) {
|
|
48
|
+
return r(712656304, e, t).then((n) => E(n));
|
|
46
49
|
}
|
|
47
50
|
function d(e) {
|
|
48
|
-
return
|
|
49
|
-
}
|
|
50
|
-
function w(e) {
|
|
51
|
-
return window.go.devserver.DevServerManager.GetExternalPluginInfo(e);
|
|
52
|
-
}
|
|
53
|
-
function S(e) {
|
|
54
|
-
return window.go.devserver.DevServerManager.Initialize(e);
|
|
51
|
+
return r(4153226260, e).then((t) => u(t));
|
|
55
52
|
}
|
|
56
|
-
function
|
|
57
|
-
return
|
|
53
|
+
function h(e) {
|
|
54
|
+
return r(1268119665, e).then((t) => x(t));
|
|
58
55
|
}
|
|
59
|
-
function
|
|
60
|
-
return
|
|
56
|
+
function L(e) {
|
|
57
|
+
return r(1859413816, e);
|
|
61
58
|
}
|
|
62
|
-
function
|
|
63
|
-
return
|
|
59
|
+
function C() {
|
|
60
|
+
return r(2707386443).then((e) => z(e));
|
|
64
61
|
}
|
|
65
|
-
function
|
|
66
|
-
return
|
|
62
|
+
function O(e) {
|
|
63
|
+
return r(2381063937, e);
|
|
67
64
|
}
|
|
68
|
-
function
|
|
69
|
-
return
|
|
65
|
+
function P(e) {
|
|
66
|
+
return r(123659362, e).then((t) => u(t));
|
|
70
67
|
}
|
|
71
|
-
function
|
|
72
|
-
return
|
|
68
|
+
function F(e) {
|
|
69
|
+
return r(709599671, e).then((t) => u(t));
|
|
73
70
|
}
|
|
74
|
-
function
|
|
75
|
-
return
|
|
71
|
+
function M(e, t) {
|
|
72
|
+
return r(2105869281, e, t).then((n) => u(n));
|
|
76
73
|
}
|
|
77
|
-
function
|
|
78
|
-
return
|
|
74
|
+
function j(e) {
|
|
75
|
+
return r(1371062537, e);
|
|
79
76
|
}
|
|
80
|
-
const
|
|
77
|
+
const I = l.createFrom, E = o(I), u = s.createFrom, G = f.createFrom, x = c(G), z = o(u), J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81
78
|
__proto__: null,
|
|
82
|
-
GetDevServerLogs:
|
|
79
|
+
GetDevServerLogs: _,
|
|
83
80
|
GetDevServerState: d,
|
|
84
|
-
GetExternalPluginInfo:
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
StartDevServerForPath: L,
|
|
93
|
-
StopDevServer: m
|
|
81
|
+
GetExternalPluginInfo: h,
|
|
82
|
+
IsManaged: L,
|
|
83
|
+
ListDevServerStates: C,
|
|
84
|
+
RebuildPlugin: O,
|
|
85
|
+
RestartDevServer: P,
|
|
86
|
+
StartDevServer: F,
|
|
87
|
+
StartDevServerForPath: M,
|
|
88
|
+
StopDevServer: j
|
|
94
89
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
95
|
-
function
|
|
96
|
-
return
|
|
97
|
-
}
|
|
98
|
-
function O(e, n) {
|
|
99
|
-
return window.go.pluginlog.Manager.GetLogs(e, n);
|
|
90
|
+
function N(e, t) {
|
|
91
|
+
return r(1867216983, e, t).then((n) => i(n));
|
|
100
92
|
}
|
|
101
|
-
function
|
|
102
|
-
return
|
|
93
|
+
function R() {
|
|
94
|
+
return r(3418650705).then((e) => B(e));
|
|
103
95
|
}
|
|
104
|
-
function
|
|
105
|
-
return
|
|
96
|
+
function w(e, t) {
|
|
97
|
+
return r(4138610615, e, t).then((n) => i(n));
|
|
106
98
|
}
|
|
107
|
-
function
|
|
108
|
-
return
|
|
109
|
-
}
|
|
110
|
-
function I(e, n) {
|
|
111
|
-
return window.go.pluginlog.Manager.SearchLogs(e, n);
|
|
112
|
-
}
|
|
113
|
-
function j(e) {
|
|
114
|
-
return window.go.pluginlog.Manager.Stream(e);
|
|
115
|
-
}
|
|
116
|
-
function F(e) {
|
|
117
|
-
return window.go.pluginlog.Manager.Subscribe(e);
|
|
99
|
+
function A(e) {
|
|
100
|
+
return r(3055914536, e);
|
|
118
101
|
}
|
|
119
|
-
function
|
|
120
|
-
return
|
|
102
|
+
function U(e) {
|
|
103
|
+
return r(1502487629, e);
|
|
121
104
|
}
|
|
122
|
-
const
|
|
105
|
+
const W = g.createFrom, i = o(W), B = o(a), K = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
123
106
|
__proto__: null,
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
SearchLogs: I,
|
|
130
|
-
Stream: j,
|
|
131
|
-
Subscribe: F,
|
|
132
|
-
Unsubscribe: T
|
|
107
|
+
GetLogs: N,
|
|
108
|
+
ListStreams: R,
|
|
109
|
+
SearchLogs: w,
|
|
110
|
+
Subscribe: A,
|
|
111
|
+
Unsubscribe: U
|
|
133
112
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
134
|
-
function
|
|
135
|
-
return
|
|
113
|
+
function Q() {
|
|
114
|
+
return r(1706570792);
|
|
136
115
|
}
|
|
137
|
-
function
|
|
138
|
-
return
|
|
116
|
+
function V(e) {
|
|
117
|
+
return r(2957909098, e).then((t) => k(t));
|
|
139
118
|
}
|
|
140
|
-
function
|
|
141
|
-
return
|
|
119
|
+
function ee(e) {
|
|
120
|
+
return r(473489213, e);
|
|
142
121
|
}
|
|
143
|
-
function
|
|
144
|
-
return
|
|
122
|
+
function te(e, t) {
|
|
123
|
+
return r(3778694836, e, t);
|
|
145
124
|
}
|
|
125
|
+
const k = o(a);
|
|
146
126
|
export {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
K as
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
127
|
+
oe as DataClient,
|
|
128
|
+
J as DevServerManager,
|
|
129
|
+
H as DiagnosticsClient,
|
|
130
|
+
ue as ExecClient,
|
|
131
|
+
Q as GetOperatingSystem,
|
|
132
|
+
ae as LogsClient,
|
|
133
|
+
ie as MetricClient,
|
|
134
|
+
ce as NetworkerClient,
|
|
135
|
+
V as OpenFileSelectionDialog,
|
|
136
|
+
K as PluginLogManager,
|
|
137
|
+
se as PluginManager,
|
|
138
|
+
le as ResourceClient,
|
|
139
|
+
ee as SaveFileDialog,
|
|
140
|
+
fe as SettingsClient,
|
|
141
|
+
ge as SettingsProvider,
|
|
142
|
+
Se as UIClient,
|
|
143
|
+
q as UtilsClient,
|
|
144
|
+
te as WriteFileContent
|
|
164
145
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { RawMessage } from './models.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CancellablePromise as $CancellablePromise } from '@wailsio/runtime';
|
|
2
|
+
import * as $models from "./models.js";
|
|
3
|
+
/**
|
|
4
|
+
* GetOperatingSystem returns the operating system type this application is running on.
|
|
5
|
+
*/
|
|
6
|
+
export declare function GetOperatingSystem(): $CancellablePromise<string>;
|
|
7
|
+
/**
|
|
8
|
+
* OpenFileSelectionDialog opens a native file selection dialog using the v3 Dialog API.
|
|
9
|
+
*/
|
|
10
|
+
export declare function OpenFileSelectionDialog(opts: $models.FileDialogOptions): $CancellablePromise<string[]>;
|
|
11
|
+
/**
|
|
12
|
+
* SaveFileDialog opens a native save file dialog using the v3 Dialog API.
|
|
13
|
+
*/
|
|
14
|
+
export declare function SaveFileDialog(opts: $models.FileDialogOptions): $CancellablePromise<string>;
|
|
15
|
+
/**
|
|
16
|
+
* WriteFileContent writes string content to the given file path.
|
|
17
|
+
*/
|
|
18
|
+
export declare function WriteFileContent(path: string, content: string): $CancellablePromise<void>;
|
package/dist/bindings/github.com/omniviewdev/omniview/backend/diagnostics/diagnosticsclient.d.ts
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { CancellablePromise as $CancellablePromise } from '@wailsio/runtime';
|
|
2
|
+
/**
|
|
3
|
+
* Debug records a debug level log to the log sink
|
|
4
|
+
*/
|
|
5
|
+
export declare function Debug(msg: string, fields: {
|
|
6
|
+
[_ in string]?: any;
|
|
7
|
+
}): $CancellablePromise<void>;
|
|
8
|
+
/**
|
|
9
|
+
* Error records an error level log to the log sink
|
|
10
|
+
*/
|
|
11
|
+
export declare function Error(msg: string, fields: {
|
|
12
|
+
[_ in string]?: any;
|
|
13
|
+
}): $CancellablePromise<void>;
|
|
14
|
+
/**
|
|
15
|
+
* Info records an info level log to the log sink
|
|
16
|
+
*/
|
|
17
|
+
export declare function Info(msg: string, fields: {
|
|
18
|
+
[_ in string]?: any;
|
|
19
|
+
}): $CancellablePromise<void>;
|
|
20
|
+
/**
|
|
21
|
+
* Log records an arbitrary log with a set level to the log sink
|
|
22
|
+
*/
|
|
23
|
+
export declare function Log(level: string, msg: string, fields: {
|
|
24
|
+
[_ in string]?: any;
|
|
25
|
+
}): $CancellablePromise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* ReadLog returns the string contents of the log requested
|
|
28
|
+
*/
|
|
29
|
+
export declare function ReadLog(logType: string): $CancellablePromise<string>;
|
|
30
|
+
/**
|
|
31
|
+
* StartTail starts tailing the log to the event stream
|
|
32
|
+
*/
|
|
33
|
+
export declare function StartTail(logType: string): $CancellablePromise<void>;
|
|
34
|
+
/**
|
|
35
|
+
* StopTail stops tailing the log to the event stream
|
|
36
|
+
*/
|
|
37
|
+
export declare function StopTail(logType: string): $CancellablePromise<void>;
|
|
38
|
+
/**
|
|
39
|
+
* Warn records a warn level log to the log sink
|
|
40
|
+
*/
|
|
41
|
+
export declare function Warn(msg: string, fields: {
|
|
42
|
+
[_ in string]?: any;
|
|
43
|
+
}): $CancellablePromise<void>;
|
package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/data/servicewrapper.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { CancellablePromise as $CancellablePromise } from '@wailsio/runtime';
|
|
2
|
+
export declare function Delete(pluginID: string, key: string): $CancellablePromise<void>;
|
|
3
|
+
export declare function Get(pluginID: string, key: string): $CancellablePromise<any>;
|
|
4
|
+
export declare function Keys(pluginID: string): $CancellablePromise<string[]>;
|
|
5
|
+
export declare function Set(pluginID: string, key: string, value: any): $CancellablePromise<void>;
|
package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/models.d.ts
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import * as time$0 from "../../../../../../../time/models.js";
|
|
2
|
+
/**
|
|
3
|
+
* BuildError is a structured build error parsed from Go compiler output.
|
|
4
|
+
*/
|
|
5
|
+
export declare class BuildError {
|
|
6
|
+
"file": string;
|
|
7
|
+
"line": number;
|
|
8
|
+
"column": number;
|
|
9
|
+
"message": string;
|
|
10
|
+
/** Creates a new BuildError instance. */
|
|
11
|
+
constructor($$source?: Partial<BuildError>);
|
|
12
|
+
/**
|
|
13
|
+
* Creates a new BuildError instance from a string or object.
|
|
14
|
+
*/
|
|
15
|
+
static createFrom($$source?: any): BuildError;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* DevInfoFile is the JSON structure of the .devinfo file written by externally-run plugins.
|
|
19
|
+
*/
|
|
20
|
+
export declare class DevInfoFile {
|
|
21
|
+
"pid": number;
|
|
22
|
+
"protocol": string;
|
|
23
|
+
"protocolVersion": number;
|
|
24
|
+
"addr": string;
|
|
25
|
+
"vitePort"?: number;
|
|
26
|
+
"pluginId"?: string;
|
|
27
|
+
"version"?: string;
|
|
28
|
+
"startedAt"?: string;
|
|
29
|
+
/** Creates a new DevInfoFile instance. */
|
|
30
|
+
constructor($$source?: Partial<DevInfoFile>);
|
|
31
|
+
/**
|
|
32
|
+
* Creates a new DevInfoFile instance from a string or object.
|
|
33
|
+
*/
|
|
34
|
+
static createFrom($$source?: any): DevInfoFile;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* DevProcessStatus describes the current status of either the Vite process or the Go watcher.
|
|
38
|
+
*/
|
|
39
|
+
export declare enum DevProcessStatus {
|
|
40
|
+
/**
|
|
41
|
+
* The Go zero value for the underlying type of the enum.
|
|
42
|
+
*/
|
|
43
|
+
$zero = "",
|
|
44
|
+
DevProcessStatusIdle = "idle",
|
|
45
|
+
DevProcessStatusStarting = "starting",
|
|
46
|
+
DevProcessStatusBuilding = "building",
|
|
47
|
+
DevProcessStatusRunning = "running",
|
|
48
|
+
DevProcessStatusReady = "ready",
|
|
49
|
+
DevProcessStatusError = "error",
|
|
50
|
+
DevProcessStatusStopped = "stopped"
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* DevServerErrorPayload wraps a plugin ID and its build errors into a single
|
|
54
|
+
* event payload so it can be registered with RegisterEvent[T].
|
|
55
|
+
*/
|
|
56
|
+
export declare class DevServerErrorPayload {
|
|
57
|
+
"pluginID": string;
|
|
58
|
+
"errors": BuildError[];
|
|
59
|
+
/** Creates a new DevServerErrorPayload instance. */
|
|
60
|
+
constructor($$source?: Partial<DevServerErrorPayload>);
|
|
61
|
+
/**
|
|
62
|
+
* Creates a new DevServerErrorPayload instance from a string or object.
|
|
63
|
+
*/
|
|
64
|
+
static createFrom($$source?: any): DevServerErrorPayload;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* DevServerMode describes how the dev server for a plugin is managed.
|
|
68
|
+
*/
|
|
69
|
+
export declare enum DevServerMode {
|
|
70
|
+
/**
|
|
71
|
+
* The Go zero value for the underlying type of the enum.
|
|
72
|
+
*/
|
|
73
|
+
$zero = "",
|
|
74
|
+
/**
|
|
75
|
+
* DevServerModeIdle means no dev server is running for this plugin.
|
|
76
|
+
*/
|
|
77
|
+
DevServerModeIdle = "idle",
|
|
78
|
+
/**
|
|
79
|
+
* DevServerModeManaged means the IDE spawned and manages the Vite + Go watcher processes.
|
|
80
|
+
*/
|
|
81
|
+
DevServerModeManaged = "managed",
|
|
82
|
+
/**
|
|
83
|
+
* DevServerModeExternal means the developer runs processes externally;
|
|
84
|
+
* the IDE connects via .devinfo file.
|
|
85
|
+
*/
|
|
86
|
+
DevServerModeExternal = "external"
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* DevServerState is the JSON-serializable state of a single plugin's dev server.
|
|
90
|
+
* This is sent to the frontend via Wails events and returned from query methods.
|
|
91
|
+
*/
|
|
92
|
+
export declare class DevServerState {
|
|
93
|
+
"pluginID": string;
|
|
94
|
+
"mode": DevServerMode;
|
|
95
|
+
"devPath": string;
|
|
96
|
+
"vitePort": number;
|
|
97
|
+
"viteURL": string;
|
|
98
|
+
"viteStatus": DevProcessStatus;
|
|
99
|
+
"goStatus": DevProcessStatus;
|
|
100
|
+
"lastBuildDuration": time$0.Duration;
|
|
101
|
+
"lastBuildTime": string;
|
|
102
|
+
"lastError": string;
|
|
103
|
+
"grpcConnected": boolean;
|
|
104
|
+
/** Creates a new DevServerState instance. */
|
|
105
|
+
constructor($$source?: Partial<DevServerState>);
|
|
106
|
+
/**
|
|
107
|
+
* Creates a new DevServerState instance from a string or object.
|
|
108
|
+
*/
|
|
109
|
+
static createFrom($$source?: any): DevServerState;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* LogEntry is a single log line from either the Vite process or the Go build.
|
|
113
|
+
*/
|
|
114
|
+
export declare class LogEntry {
|
|
115
|
+
"timestamp": string;
|
|
116
|
+
/**
|
|
117
|
+
* "vite" | "go-build" | "go-watch" | "manager"
|
|
118
|
+
*/
|
|
119
|
+
"source": string;
|
|
120
|
+
/**
|
|
121
|
+
* "info" | "warn" | "error" | "debug"
|
|
122
|
+
*/
|
|
123
|
+
"level": string;
|
|
124
|
+
"message": string;
|
|
125
|
+
"pluginID": string;
|
|
126
|
+
/** Creates a new LogEntry instance. */
|
|
127
|
+
constructor($$source?: Partial<LogEntry>);
|
|
128
|
+
/**
|
|
129
|
+
* Creates a new LogEntry instance from a string or object.
|
|
130
|
+
*/
|
|
131
|
+
static createFrom($$source?: any): LogEntry;
|
|
132
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CancellablePromise as $CancellablePromise } from '@wailsio/runtime';
|
|
2
|
+
import * as $models from "./models.js";
|
|
3
|
+
export declare function GetDevServerLogs(pluginID: string, count: number): $CancellablePromise<$models.LogEntry[]>;
|
|
4
|
+
export declare function GetDevServerState(pluginID: string): $CancellablePromise<$models.DevServerState>;
|
|
5
|
+
export declare function GetExternalPluginInfo(pluginID: string): $CancellablePromise<$models.DevInfoFile | null>;
|
|
6
|
+
export declare function IsManaged(pluginID: string): $CancellablePromise<boolean>;
|
|
7
|
+
export declare function ListDevServerStates(): $CancellablePromise<$models.DevServerState[]>;
|
|
8
|
+
export declare function RebuildPlugin(pluginID: string): $CancellablePromise<void>;
|
|
9
|
+
export declare function RestartDevServer(pluginID: string): $CancellablePromise<$models.DevServerState>;
|
|
10
|
+
export declare function StartDevServer(pluginID: string): $CancellablePromise<$models.DevServerState>;
|
|
11
|
+
export declare function StartDevServerForPath(pluginID: string, devPath: string): $CancellablePromise<$models.DevServerState>;
|
|
12
|
+
export declare function StopDevServer(pluginID: string): $CancellablePromise<void>;
|
package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/exec/servicewrapper.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { CancellablePromise as $CancellablePromise } from '@wailsio/runtime';
|
|
2
|
+
import * as exec$0 from "../../../../../plugin-sdk/pkg/v1/exec/models.js";
|
|
3
|
+
export declare function AttachSession(sessionID: string): $CancellablePromise<[exec$0.Session | null, string]>;
|
|
4
|
+
export declare function CloseSession(sessionID: string): $CancellablePromise<void>;
|
|
5
|
+
export declare function CreateSession(plugin: string, connectionID: string, opts: exec$0.SessionOptions): $CancellablePromise<exec$0.Session | null>;
|
|
6
|
+
export declare function CreateTerminal(opts: exec$0.SessionOptions): $CancellablePromise<exec$0.Session | null>;
|
|
7
|
+
export declare function DetachSession(sessionID: string): $CancellablePromise<exec$0.Session | null>;
|
|
8
|
+
export declare function GetHandler(plugin: string, resource: string): $CancellablePromise<exec$0.Handler | null>;
|
|
9
|
+
export declare function GetHandlers(): $CancellablePromise<{
|
|
10
|
+
[_ in string]?: {
|
|
11
|
+
[_ in string]?: exec$0.Handler;
|
|
12
|
+
};
|
|
13
|
+
}>;
|
|
14
|
+
export declare function GetPluginHandlers(plugin: string): $CancellablePromise<{
|
|
15
|
+
[_ in string]?: exec$0.Handler;
|
|
16
|
+
}>;
|
|
17
|
+
export declare function GetSession(sessionID: string): $CancellablePromise<exec$0.Session | null>;
|
|
18
|
+
export declare function HasPlugin(pluginID: string): $CancellablePromise<boolean>;
|
|
19
|
+
export declare function ListPlugins(): $CancellablePromise<string[]>;
|
|
20
|
+
export declare function ListSessions(): $CancellablePromise<(exec$0.Session | null)[]>;
|
|
21
|
+
export declare function ResizeSession(sessionID: string, rows: number, cols: number): $CancellablePromise<void>;
|
|
22
|
+
export declare function WriteSession(sessionID: string, data: string): $CancellablePromise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PluginPhase } from './models.js';
|
package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/lifecycle/models.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PluginPhase represents the current lifecycle state of a plugin.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum PluginPhase {
|
|
5
|
+
/**
|
|
6
|
+
* The Go zero value for the underlying type of the enum.
|
|
7
|
+
*/
|
|
8
|
+
$zero = "",
|
|
9
|
+
PhaseUninstalled = "Uninstalled",
|
|
10
|
+
PhaseInstalling = "Installing",
|
|
11
|
+
PhaseInstalled = "Installed",
|
|
12
|
+
/**
|
|
13
|
+
* dev only: initial go build
|
|
14
|
+
*/
|
|
15
|
+
PhaseBuilding = "Building",
|
|
16
|
+
/**
|
|
17
|
+
* dev only: build error
|
|
18
|
+
*/
|
|
19
|
+
PhaseBuildFailed = "BuildFailed",
|
|
20
|
+
PhaseValidating = "Validating",
|
|
21
|
+
PhaseStarting = "Starting",
|
|
22
|
+
PhaseRunning = "Running",
|
|
23
|
+
PhaseDegraded = "Degraded",
|
|
24
|
+
PhaseRecovering = "Recovering",
|
|
25
|
+
PhaseStopping = "Stopping",
|
|
26
|
+
PhaseStopped = "Stopped",
|
|
27
|
+
PhaseFailed = "Failed",
|
|
28
|
+
PhaseUninstalling = "Uninstalling"
|
|
29
|
+
}
|