@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.
Files changed (131) hide show
  1. package/dist/api.cjs +1 -1
  2. package/dist/api.d.ts +15 -14
  3. package/dist/api.js +105 -124
  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 +43 -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 +73 -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/index.d.ts +3 -0
  33. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/models.d.ts +61 -0
  34. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/servicewrapper.d.ts +92 -0
  35. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/servicewrapper.d.ts +24 -0
  36. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/settings/index.d.ts +2 -0
  37. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/settings/servicewrapper.d.ts +18 -0
  38. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/types/index.d.ts +1 -0
  39. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/types/models.d.ts +23 -0
  40. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/index.d.ts +3 -0
  41. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/models.d.ts +55 -0
  42. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/servicewrapper.d.ts +7 -0
  43. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/client.d.ts +6 -0
  44. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/index.d.ts +3 -0
  45. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/models.d.ts +10 -0
  46. package/dist/bindings/github.com/omniviewdev/omniview/index.d.ts +3 -0
  47. package/dist/bindings/github.com/omniviewdev/omniview/internal/settings/index.d.ts +2 -0
  48. package/dist/bindings/github.com/omniviewdev/omniview/internal/settings/servicewrapper.d.ts +48 -0
  49. package/dist/bindings/github.com/omniviewdev/omniview/internal/telemetry/index.d.ts +2 -0
  50. package/dist/bindings/github.com/omniviewdev/omniview/internal/telemetry/telemetrybinding.d.ts +7 -0
  51. package/dist/bindings/github.com/omniviewdev/omniview/models.d.ts +38 -0
  52. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/config/index.d.ts +1 -0
  53. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/config/models.d.ts +101 -0
  54. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/types/index.d.ts +1 -0
  55. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/types/models.d.ts +199 -0
  56. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/index.d.ts +1 -0
  57. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/models.d.ts +80 -0
  58. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/index.d.ts +1 -0
  59. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/models.d.ts +134 -0
  60. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/index.d.ts +1 -0
  61. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/models.d.ts +207 -0
  62. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/index.d.ts +2 -0
  63. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/models.d.ts +97 -0
  64. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/index.d.ts +2 -0
  65. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/models.d.ts +1200 -0
  66. package/dist/bindings/github.com/omniviewdev/plugin-sdk/settings/index.d.ts +2 -0
  67. package/dist/bindings/github.com/omniviewdev/plugin-sdk/settings/models.d.ts +169 -0
  68. package/dist/bindings/github.com/wailsapp/wails/v3/internal/eventcreate.d.ts +1 -0
  69. package/dist/bindings/time/index.d.ts +2 -0
  70. package/dist/bindings/time/models.d.ts +77 -0
  71. package/dist/calls-WIJmoPWG.cjs +1 -0
  72. package/dist/calls-kYJYNPwO.js +687 -0
  73. package/dist/context/plugins/PluginContext.d.ts +2 -2
  74. package/dist/events-B-17yZx4.js +327 -0
  75. package/dist/events-D6Z9I2K4.cjs +1 -0
  76. package/dist/hooks/connection/useConnection.d.ts +5 -5
  77. package/dist/hooks/connection/useConnections.d.ts +4 -4
  78. package/dist/hooks/exec/useExecSession.d.ts +2 -2
  79. package/dist/hooks/logs/useLogSession.d.ts +1 -2
  80. package/dist/hooks/metric/useMetricProviders.d.ts +3 -3
  81. package/dist/hooks/metric/useMetricStream.d.ts +2 -2
  82. package/dist/hooks/metric/useResourceMetrics.d.ts +4 -3
  83. package/dist/hooks/networker/types.d.ts +3 -3
  84. package/dist/hooks/networker/usePortForwardSessions.d.ts +4 -4
  85. package/dist/hooks/networker/useResourcePortForwarder.d.ts +3 -4
  86. package/dist/hooks/resource/useEditorSchemas.d.ts +2 -2
  87. package/dist/hooks/resource/useResource.d.ts +3 -4
  88. package/dist/hooks/resource/useResourceActions.d.ts +2 -3
  89. package/dist/hooks/resource/useResourceAreaComponent.d.ts +3 -3
  90. package/dist/hooks/resource/useResourceGroups.d.ts +6 -6
  91. package/dist/hooks/resource/useResourceMutations.d.ts +3 -4
  92. package/dist/hooks/resource/useResourceType.d.ts +1 -1
  93. package/dist/hooks/resource/useResourceTypes.d.ts +6 -6
  94. package/dist/hooks/resource/useResources.d.ts +4 -4
  95. package/dist/index-BTxE5OgT.js +841 -0
  96. package/dist/index-DCsB3HOd.cjs +6 -0
  97. package/dist/index.cjs +2 -2
  98. package/dist/index.js +934 -919
  99. package/dist/models-2dDjO0f0.cjs +1 -0
  100. package/dist/models-B0wUPAuQ.js +144 -0
  101. package/dist/models-Bg2r2kdR.js +2089 -0
  102. package/dist/models-DVN8r6O6.cjs +1 -0
  103. package/dist/models.cjs +1 -1
  104. package/dist/models.d.ts +12 -1
  105. package/dist/models.js +163 -2196
  106. package/dist/runtime.cjs +1 -1
  107. package/dist/runtime.d.ts +1 -1
  108. package/dist/runtime.js +187 -202
  109. package/dist/servicewrapper-BtYdL57C.cjs +1 -0
  110. package/dist/servicewrapper-CmDKQgRF.js +815 -0
  111. package/dist/types/watch.d.ts +2 -5
  112. package/package.json +3 -2
  113. package/dist/Client-CvzZMthW.js +0 -641
  114. package/dist/Client-mWCptmWy.cjs +0 -1
  115. package/dist/wailsjs/go/data/Client.d.ts +0 -10
  116. package/dist/wailsjs/go/devserver/DevServerManager.d.ts +0 -24
  117. package/dist/wailsjs/go/diagnostics/DiagnosticsClient.d.ts +0 -18
  118. package/dist/wailsjs/go/exec/Client.d.ts +0 -26
  119. package/dist/wailsjs/go/logs/Client.d.ts +0 -16
  120. package/dist/wailsjs/go/main/App.d.ts +0 -8
  121. package/dist/wailsjs/go/metric/Client.d.ts +0 -12
  122. package/dist/wailsjs/go/models.d.ts +0 -1028
  123. package/dist/wailsjs/go/networker/Client.d.ts +0 -14
  124. package/dist/wailsjs/go/plugin/pluginManager.d.ts +0 -54
  125. package/dist/wailsjs/go/pluginlog/Manager.d.ts +0 -18
  126. package/dist/wailsjs/go/resource/Client.d.ts +0 -90
  127. package/dist/wailsjs/go/settings/Client.d.ts +0 -14
  128. package/dist/wailsjs/go/settings/provider.d.ts +0 -48
  129. package/dist/wailsjs/go/ui/Client.d.ts +0 -6
  130. package/dist/wailsjs/go/utils/Client.d.ts +0 -2
  131. 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 r=require("./Client-mWCptmWy.cjs");function i(e){return window.go.utils.Client.DetectLanguage(e)}const o=Object.freeze(Object.defineProperty({__proto__:null,DetectLanguage:i},Symbol.toStringTag,{value:"Module"}));function g(e,n){return window.go.diagnostics.DiagnosticsClient.Debug(e,n)}function a(e,n){return window.go.diagnostics.DiagnosticsClient.Error(e,n)}function u(e,n){return window.go.diagnostics.DiagnosticsClient.Info(e,n)}function l(e,n,t){return window.go.diagnostics.DiagnosticsClient.Log(e,n,t)}function s(e){return window.go.diagnostics.DiagnosticsClient.ReadLog(e)}function v(e){return window.go.diagnostics.DiagnosticsClient.StartTail(e)}function c(e){return window.go.diagnostics.DiagnosticsClient.StopTail(e)}function d(e,n){return window.go.diagnostics.DiagnosticsClient.Warn(e,n)}const S=Object.freeze(Object.defineProperty({__proto__:null,Debug:g,Error:a,Info:u,Log:l,ReadLog:s,StartTail:v,StopTail:c,Warn:d},Symbol.toStringTag,{value:"Module"}));function w(e,n){return window.go.devserver.DevServerManager.GetDevServerLogs(e,n)}function D(e){return window.go.devserver.DevServerManager.GetDevServerState(e)}function f(e){return window.go.devserver.DevServerManager.GetExternalPluginInfo(e)}function p(e){return window.go.devserver.DevServerManager.Initialize(e)}function M(e){return window.go.devserver.DevServerManager.IsManaged(e)}function C(){return window.go.devserver.DevServerManager.ListDevServerStates()}function b(e){return window.go.devserver.DevServerManager.RebuildPlugin(e)}function L(e){return window.go.devserver.DevServerManager.RestartDevServer(e)}function m(){return window.go.devserver.DevServerManager.Shutdown()}function O(e){return window.go.devserver.DevServerManager.StartDevServer(e)}function _(e,n){return window.go.devserver.DevServerManager.StartDevServerForPath(e,n)}function P(e){return window.go.devserver.DevServerManager.StopDevServer(e)}const y=Object.freeze(Object.defineProperty({__proto__:null,GetDevServerLogs:w,GetDevServerState:D,GetExternalPluginInfo:f,Initialize:p,IsManaged:M,ListDevServerStates:C,RebuildPlugin:b,RestartDevServer:L,Shutdown:m,StartDevServer:O,StartDevServerForPath:_,StopDevServer:P},Symbol.toStringTag,{value:"Module"}));function F(){return window.go.pluginlog.Manager.Close()}function G(e,n){return window.go.pluginlog.Manager.GetLogs(e,n)}function j(){return window.go.pluginlog.Manager.ListStreams()}function I(){return window.go.pluginlog.Manager.LogDir()}function T(e){return window.go.pluginlog.Manager.OnEmit(e)}function E(e,n){return window.go.pluginlog.Manager.SearchLogs(e,n)}function R(e){return window.go.pluginlog.Manager.Stream(e)}function $(e){return window.go.pluginlog.Manager.Subscribe(e)}function h(e){return window.go.pluginlog.Manager.Unsubscribe(e)}const z=Object.freeze(Object.defineProperty({__proto__:null,Close:F,GetLogs:G,ListStreams:j,LogDir:I,OnEmit:T,SearchLogs:E,Stream:R,Subscribe:$,Unsubscribe:h},Symbol.toStringTag,{value:"Module"}));function W(){return window.go.main.App.GetOperatingSystem()}function A(e){return window.go.main.App.OpenFileSelectionDialog(e)}function U(e){return window.go.main.App.SaveFileDialog(e)}function x(e,n){return window.go.main.App.WriteFileContent(e,n)}exports.ExecClient=r.Client;exports.LogsClient=r.Client$5;exports.MetricClient=r.Client$6;exports.NetworkerClient=r.Client$1;exports.PluginManager=r.pluginManager;exports.ResourceClient=r.Client$2;exports.SettingsClient=r.Client$3;exports.SettingsProvider=r.provider;exports.UIClient=r.Client$4;exports.DevServerManager=y;exports.DiagnosticsClient=S;exports.GetOperatingSystem=W;exports.OpenFileSelectionDialog=A;exports.PluginLogManager=z;exports.SaveFileDialog=U;exports.UtilsClient=o;exports.WriteFileContent=x;
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 './wailsjs/go/exec/Client';
2
- export * as NetworkerClient from './wailsjs/go/networker/Client';
3
- export * as PluginManager from './wailsjs/go/plugin/pluginManager';
4
- export * as ResourceClient from './wailsjs/go/resource/Client';
5
- export * as SettingsClient from './wailsjs/go/settings/Client';
6
- export * as SettingsProvider from './wailsjs/go/settings/provider';
7
- export * as UtilsClient from './wailsjs/go/utils/Client';
8
- export * as UIClient from './wailsjs/go/ui/Client';
9
- export * as DiagnosticsClient from './wailsjs/go/diagnostics/DiagnosticsClient';
10
- export * as LogsClient from './wailsjs/go/logs/Client';
11
- export * as MetricClient from './wailsjs/go/metric/Client';
12
- export * as DevServerManager from './wailsjs/go/devserver/DevServerManager';
13
- export * as PluginLogManager from './wailsjs/go/pluginlog/Manager';
14
- export * from './wailsjs/go/main/App';
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 { C as q, f as B, g as H, a as J, p as K, b as Q, c as V, d as X, e as Y } from "./Client-CvzZMthW.js";
2
- function t(e) {
3
- return window.go.utils.Client.DetectLanguage(e);
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 E = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8
+ const q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6
9
  __proto__: null,
7
- DetectLanguage: t
10
+ DetectLanguage: S
8
11
  }, Symbol.toStringTag, { value: "Module" }));
9
- function o(e, n) {
10
- return window.go.diagnostics.DiagnosticsClient.Debug(e, n);
12
+ function p(e, t) {
13
+ return r(2691208406, e, t);
11
14
  }
12
- function i(e, n) {
13
- return window.go.diagnostics.DiagnosticsClient.Error(e, n);
15
+ function v(e, t) {
16
+ return r(3932965591, e, t);
14
17
  }
15
- function a(e, n) {
16
- return window.go.diagnostics.DiagnosticsClient.Info(e, n);
18
+ function $(e, t) {
19
+ return r(1686862755, e, t);
17
20
  }
18
- function g(e, n, r) {
19
- return window.go.diagnostics.DiagnosticsClient.Log(e, n, r);
21
+ function y(e, t, n) {
22
+ return r(3705442919, e, t, n);
20
23
  }
21
- function u(e) {
22
- return window.go.diagnostics.DiagnosticsClient.ReadLog(e);
24
+ function b(e) {
25
+ return r(3024854267, e);
23
26
  }
24
- function s(e) {
25
- return window.go.diagnostics.DiagnosticsClient.StartTail(e);
27
+ function D(e) {
28
+ return r(158417611, e);
26
29
  }
27
- function l(e) {
28
- return window.go.diagnostics.DiagnosticsClient.StopTail(e);
30
+ function m(e) {
31
+ return r(3413815733, e);
29
32
  }
30
- function v(e, n) {
31
- return window.go.diagnostics.DiagnosticsClient.Warn(e, n);
33
+ function T(e, t) {
34
+ return r(2047870999, e, t);
32
35
  }
33
- const R = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
36
+ const H = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
34
37
  __proto__: null,
35
- Debug: o,
36
- Error: i,
37
- Info: a,
38
- Log: g,
39
- ReadLog: u,
40
- StartTail: s,
41
- StopTail: l,
42
- Warn: v
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 c(e, n) {
45
- return window.go.devserver.DevServerManager.GetDevServerLogs(e, n);
47
+ function _(e, t) {
48
+ return r(712656304, e, t).then((n) => E(n));
46
49
  }
47
50
  function d(e) {
48
- return window.go.devserver.DevServerManager.GetDevServerState(e);
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 f(e) {
57
- return window.go.devserver.DevServerManager.IsManaged(e);
53
+ function h(e) {
54
+ return r(1268119665, e).then((t) => x(t));
58
55
  }
59
- function D() {
60
- return window.go.devserver.DevServerManager.ListDevServerStates();
56
+ function L(e) {
57
+ return r(1859413816, e);
61
58
  }
62
- function p(e) {
63
- return window.go.devserver.DevServerManager.RebuildPlugin(e);
59
+ function C() {
60
+ return r(2707386443).then((e) => z(e));
64
61
  }
65
- function M(e) {
66
- return window.go.devserver.DevServerManager.RestartDevServer(e);
62
+ function O(e) {
63
+ return r(2381063937, e);
67
64
  }
68
- function b() {
69
- return window.go.devserver.DevServerManager.Shutdown();
65
+ function P(e) {
66
+ return r(123659362, e).then((t) => u(t));
70
67
  }
71
- function C(e) {
72
- return window.go.devserver.DevServerManager.StartDevServer(e);
68
+ function F(e) {
69
+ return r(709599671, e).then((t) => u(t));
73
70
  }
74
- function L(e, n) {
75
- return window.go.devserver.DevServerManager.StartDevServerForPath(e, n);
71
+ function M(e, t) {
72
+ return r(2105869281, e, t).then((n) => u(n));
76
73
  }
77
- function m(e) {
78
- return window.go.devserver.DevServerManager.StopDevServer(e);
74
+ function j(e) {
75
+ return r(1371062537, e);
79
76
  }
80
- const h = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
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: c,
79
+ GetDevServerLogs: _,
83
80
  GetDevServerState: d,
84
- GetExternalPluginInfo: w,
85
- Initialize: S,
86
- IsManaged: f,
87
- ListDevServerStates: D,
88
- RebuildPlugin: p,
89
- RestartDevServer: M,
90
- Shutdown: b,
91
- StartDevServer: C,
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 window.go.pluginlog.Manager.Close();
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 P() {
102
- return window.go.pluginlog.Manager.ListStreams();
93
+ function R() {
94
+ return r(3418650705).then((e) => B(e));
103
95
  }
104
- function y() {
105
- return window.go.pluginlog.Manager.LogDir();
96
+ function w(e, t) {
97
+ return r(4138610615, e, t).then((n) => i(n));
106
98
  }
107
- function G(e) {
108
- return window.go.pluginlog.Manager.OnEmit(e);
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 T(e) {
120
- return window.go.pluginlog.Manager.Unsubscribe(e);
102
+ function U(e) {
103
+ return r(1502487629, e);
121
104
  }
122
- const z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
105
+ const W = g.createFrom, i = o(W), B = o(a), K = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
123
106
  __proto__: null,
124
- Close: _,
125
- GetLogs: O,
126
- ListStreams: P,
127
- LogDir: y,
128
- OnEmit: G,
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 x() {
135
- return window.go.main.App.GetOperatingSystem();
113
+ function Q() {
114
+ return r(1706570792);
136
115
  }
137
- function A(e) {
138
- return window.go.main.App.OpenFileSelectionDialog(e);
116
+ function V(e) {
117
+ return r(2957909098, e).then((t) => k(t));
139
118
  }
140
- function U(e) {
141
- return window.go.main.App.SaveFileDialog(e);
119
+ function ee(e) {
120
+ return r(473489213, e);
142
121
  }
143
- function W(e, n) {
144
- return window.go.main.App.WriteFileContent(e, n);
122
+ function te(e, t) {
123
+ return r(3778694836, e, t);
145
124
  }
125
+ const k = o(a);
146
126
  export {
147
- h as DevServerManager,
148
- R as DiagnosticsClient,
149
- q as ExecClient,
150
- x as GetOperatingSystem,
151
- B as LogsClient,
152
- H as MetricClient,
153
- J as NetworkerClient,
154
- A as OpenFileSelectionDialog,
155
- z as PluginLogManager,
156
- K as PluginManager,
157
- Q as ResourceClient,
158
- U as SaveFileDialog,
159
- V as SettingsClient,
160
- X as SettingsProvider,
161
- Y as UIClient,
162
- E as UtilsClient,
163
- W as WriteFileContent
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,6 @@
1
+ /**
2
+ * RawMessage is a raw encoded JSON value.
3
+ * It implements [Marshaler] and [Unmarshaler] and can
4
+ * be used to delay JSON decoding or precompute a JSON encoding.
5
+ */
6
+ export type RawMessage = any;
@@ -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>;
@@ -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>;
@@ -0,0 +1,2 @@
1
+ import * as DiagnosticsClient from "./diagnosticsclient.js";
2
+ export { DiagnosticsClient };
@@ -0,0 +1,2 @@
1
+ import * as ServiceWrapper from "./servicewrapper.js";
2
+ export { ServiceWrapper };
@@ -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>;
@@ -0,0 +1,3 @@
1
+ import * as ServiceWrapper from "./servicewrapper.js";
2
+ export { ServiceWrapper };
3
+ export { BuildError, DevInfoFile, DevProcessStatus, DevServerErrorPayload, DevServerMode, DevServerState, LogEntry } from './models.js';
@@ -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>;
@@ -0,0 +1,2 @@
1
+ import * as ServiceWrapper from "./servicewrapper.js";
2
+ export { ServiceWrapper };
@@ -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,3 @@
1
+ import * as ServiceWrapper from "./servicewrapper.js";
2
+ export { ServiceWrapper };
3
+ export { DeprecatedProtocolPayload, LoadPluginOptions, StateChangePayload, UpdateErrorPayload, UpdatePayload } from './models.js';
@@ -0,0 +1 @@
1
+ export { PluginPhase } from './models.js';
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ import * as ServiceWrapper from "./servicewrapper.js";
2
+ export { ServiceWrapper };