@omniviewdev/runtime 0.9.2 → 0.11.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 (121) hide show
  1. package/dist/api.cjs +1 -1
  2. package/dist/api.d.ts +8 -6
  3. package/dist/api.js +249 -117
  4. package/dist/bindings/events/index.d.ts +48 -0
  5. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/invocation/index.d.ts +1 -0
  6. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/invocation/models.d.ts +19 -0
  7. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/exec/servicewrapper.d.ts +1 -1
  8. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/logs/servicewrapper.d.ts +1 -1
  9. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/index.d.ts +1 -1
  10. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/models.d.ts +0 -20
  11. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/servicewrapper.d.ts +3 -6
  12. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/networker/servicewrapper.d.ts +1 -1
  13. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/index.d.ts +2 -2
  14. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/models.d.ts +3 -15
  15. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graphservice.d.ts +5 -18
  16. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/index.d.ts +1 -1
  17. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/models.d.ts +190 -9
  18. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/servicewrapper.d.ts +34 -74
  19. package/dist/bindings/github.com/omniviewdev/omniview/backend/window/index.d.ts +3 -0
  20. package/dist/bindings/github.com/omniviewdev/omniview/backend/window/models.d.ts +190 -0
  21. package/dist/bindings/github.com/omniviewdev/omniview/backend/window/service.d.ts +83 -0
  22. package/dist/bindings/github.com/omniviewdev/omniview/internal/mcprelay/index.d.ts +3 -0
  23. package/dist/bindings/github.com/omniviewdev/omniview/internal/mcprelay/models.d.ts +178 -0
  24. package/dist/bindings/github.com/omniviewdev/omniview/internal/mcprelay/servicewrapper.d.ts +30 -0
  25. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/config/models.d.ts +27 -0
  26. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/resource/v2/index.d.ts +2 -0
  27. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/resource/v2/models.d.ts +809 -0
  28. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/types/models.d.ts +94 -0
  29. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/models.d.ts +16 -6
  30. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/index.d.ts +1 -1
  31. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/models.d.ts +27 -17
  32. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/index.d.ts +1 -1
  33. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/models.d.ts +47 -24
  34. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/index.d.ts +1 -1
  35. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/models.d.ts +41 -20
  36. package/dist/bindings/github.com/omniviewdev/plugin-sdk/settings/models.d.ts +16 -4
  37. package/dist/{calls-Bg_uMVc9.cjs → calls-B-HP1Icv.cjs} +1 -1
  38. package/dist/{calls-BvZkVSse.js → calls-DYGtxNJ6.js} +1 -0
  39. package/dist/compat/types.d.ts +1 -1
  40. package/dist/context/drawer/RightDrawerContext.d.ts +8 -4
  41. package/dist/context/drawer/types.d.ts +11 -21
  42. package/dist/context/index.d.ts +1 -0
  43. package/dist/context/operations/OperationsContext.d.ts +5 -5
  44. package/dist/context/windows/WindowActionsContext.d.ts +31 -0
  45. package/dist/context/windows/activePageNavigator.d.ts +13 -0
  46. package/dist/context/windows/index.d.ts +2 -0
  47. package/dist/exec.d.ts +5 -0
  48. package/dist/graph-JDqyJC_i.js +10 -0
  49. package/dist/graph-wHun0Bkz.cjs +1 -0
  50. package/dist/hooks/connection/index.d.ts +2 -1
  51. package/dist/hooks/connection/useConnection.d.ts +9 -30
  52. package/dist/hooks/connection/useConnectionProfiles.d.ts +7 -0
  53. package/dist/hooks/connection/useConnectionStatus.d.ts +8 -1
  54. package/dist/hooks/connection/useConnections.d.ts +3 -2
  55. package/dist/hooks/connection/useScopeValues.d.ts +9 -0
  56. package/dist/hooks/logs/useLogSession.d.ts +4 -1
  57. package/dist/hooks/metric/useMetricStream.d.ts +6 -2
  58. package/dist/hooks/metric/useResourceMetrics.d.ts +6 -2
  59. package/dist/hooks/networker/types.d.ts +5 -2
  60. package/dist/hooks/networker/useResourcePortForwarder.d.ts +1 -1
  61. package/dist/hooks/resource/useConnectionQueryGuard.d.ts +1 -1
  62. package/dist/hooks/resource/useDependencyTree.d.ts +4 -12
  63. package/dist/hooks/resource/useEditorSchemas.d.ts +12 -7
  64. package/dist/hooks/resource/useEventBatcher.d.ts +11 -47
  65. package/dist/hooks/resource/useRelatedResources.d.ts +6 -14
  66. package/dist/hooks/resource/useResolvedResourceTarget.d.ts +162 -0
  67. package/dist/hooks/resource/useResource.d.ts +7 -58
  68. package/dist/hooks/resource/useResourceActions.d.ts +9 -58
  69. package/dist/hooks/resource/useResourceGraph.d.ts +4 -12
  70. package/dist/hooks/resource/useResourceGroups.d.ts +5 -19
  71. package/dist/hooks/resource/useResourceMutations.d.ts +5 -61
  72. package/dist/hooks/resource/useResourceSearch.d.ts +5 -34
  73. package/dist/hooks/resource/useResourceType.d.ts +6 -19
  74. package/dist/hooks/resource/useResourceTypes.d.ts +5 -20
  75. package/dist/hooks/resource/useResources.d.ts +32 -60
  76. package/dist/hooks/resource/useStreamAction.d.ts +4 -8
  77. package/dist/hooks/resource/useWatchState.d.ts +15 -22
  78. package/dist/index.cjs +4 -4
  79. package/dist/index.d.ts +6 -1
  80. package/dist/index.js +3007 -2881
  81. package/dist/logs.d.ts +14 -0
  82. package/dist/metric.d.ts +35 -0
  83. package/dist/models-Cg1YRHQm.js +583 -0
  84. package/dist/models-DSGyy8lg.cjs +1 -0
  85. package/dist/models-UwESEW2B.js +1232 -0
  86. package/dist/models-dzj-SsFZ.cjs +1 -0
  87. package/dist/models.cjs +1 -1
  88. package/dist/models.d.ts +14 -8
  89. package/dist/models.js +118 -208
  90. package/dist/networker.d.ts +31 -0
  91. package/dist/resource/v2/ancillary.d.ts +161 -0
  92. package/dist/resource/v2/client.d.ts +57 -0
  93. package/dist/resource/v2/domain.d.ts +204 -0
  94. package/dist/resource/v2/graph-client.d.ts +7 -0
  95. package/dist/resource/v2/graph.d.ts +35 -0
  96. package/dist/resource/v2/host.d.ts +129 -0
  97. package/dist/resource/v2/requestJSON.d.ts +2 -0
  98. package/dist/resource/v2/value.d.ts +9 -0
  99. package/dist/resourceQueryKeys.d.ts +8 -4
  100. package/dist/router/Link.d.ts +3 -0
  101. package/dist/runtime.cjs +1 -1
  102. package/dist/runtime.js +1 -1
  103. package/dist/search.d.ts +9 -11
  104. package/dist/servicewrapper-BOM6A8IG.cjs +1 -0
  105. package/dist/servicewrapper-Bda7yi8z.js +684 -0
  106. package/dist/types/watch.d.ts +48 -21
  107. package/dist/utils/activeSyncAggregator.d.ts +2 -2
  108. package/package.json +3 -3
  109. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/index.d.ts +0 -2
  110. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/models.d.ts +0 -1199
  111. package/dist/compat/resource.d.ts +0 -4
  112. package/dist/hooks/connection/useConnectionNamespaces.d.ts +0 -21
  113. package/dist/legacyEnum-CKqyRmbX.js +0 -15
  114. package/dist/legacyEnum-DkV5yRdA.cjs +0 -1
  115. package/dist/models-CT4kHj47.js +0 -2444
  116. package/dist/models-DQl7tqts.cjs +0 -1
  117. package/dist/models-DU8pTcoZ.js +0 -142
  118. package/dist/models-KV9f8Ceh.cjs +0 -1
  119. package/dist/servicewrapper-C6SURWw1.js +0 -850
  120. package/dist/servicewrapper-COMjQHnY.cjs +0 -1
  121. package/dist/utils/resourceKey.d.ts +0 -12
package/dist/api.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./servicewrapper-COMjQHnY.cjs"),s=require("./index-BVi9X4oU.cjs"),r=require("./calls-Bg_uMVc9.cjs"),f=require("./models-KV9f8Ceh.cjs");function I(t){return r.ByID(3503478684,t)}const b=Object.freeze(Object.defineProperty({__proto__:null,DetectLanguage:I},Symbol.toStringTag,{value:"Module"}));function w(t,e){return r.ByID(2691208406,t,e)}function B(t,e){return r.ByID(3932965591,t,e)}function F(t,e){return r.ByID(1686862755,t,e)}function T(t,e,n){return r.ByID(3705442919,t,e,n)}function O(t){return r.ByID(3024854267,t)}function _(t){return r.ByID(3423289677,t)}function j(t){return r.ByID(158417611,t)}function A(t){return r.ByID(3413815733,t)}function C(t,e){return r.ByID(2047870999,t,e)}const E=Object.freeze(Object.defineProperty({__proto__:null,Debug:w,Error:B,Info:F,Log:T,ReadLog:O,ReportStartupReady:_,StartTail:j,StopTail:A,Warn:C},Symbol.toStringTag,{value:"Module"}));function L(t,e){return r.ByID(712656304,t,e).then(n=>z(n))}function M(t){return r.ByID(4153226260,t).then(e=>c(e))}function N(t){return r.ByID(1859413816,t)}function k(){return r.ByID(2707386443).then(t=>U(t))}function P(t){return r.ByID(2381063937,t)}function R(t){return r.ByID(123659362,t).then(e=>c(e))}function G(t){return r.ByID(709599671,t).then(e=>c(e))}function J(t,e){return r.ByID(2105869281,t,e).then(n=>c(n))}function x(t){return r.ByID(1371062537,t)}const q=f.LogEntry.createFrom,z=s.Array(q),c=f.DevServerState.createFrom,U=s.Array(c),V=Object.freeze(Object.defineProperty({__proto__:null,GetDevServerLogs:L,GetDevServerState:M,IsManaged:N,ListDevServerStates:k,RebuildPlugin:P,RestartDevServer:R,StartDevServer:G,StartDevServerForPath:J,StopDevServer:x},Symbol.toStringTag,{value:"Module"}));function W(t,e){return r.ByID(1867216983,t,e).then(n=>g(n))}function Z(){return r.ByID(3418650705).then(t=>Y(t))}function H(t,e){return r.ByID(4138610615,t,e).then(n=>g(n))}function K(t){return r.ByID(3055914536,t)}function Q(t){return r.ByID(1502487629,t)}const X=f.LogEntry$1.createFrom,g=s.Array(X),Y=s.Array(s.Any),$=Object.freeze(Object.defineProperty({__proto__:null,GetLogs:W,ListStreams:Z,SearchLogs:H,Subscribe:K,Unsubscribe:Q},Symbol.toStringTag,{value:"Module"}));class l{browser;vite;hmr;mcp;control;health;constructor(e={}){"browser"in e||(this.browser=null),"vite"in e||(this.vite=null),"hmr"in e||(this.hmr=null),"mcp"in e||(this.mcp=null),"control"in e||(this.control=null),"health"in e||(this.health=null),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new l(n)}}class u{code;message;details;constructor(e={}){"code"in e||(this.code=""),"message"in e||(this.message=""),Object.assign(this,e)}static createFrom(e={}){const n=ee;let a=typeof e=="string"?JSON.parse(e):e;return"details"in a&&(a.details=n(a.details)),new u(a)}}class y{schemaVersion;workspaceID;instanceID;generation;kind;channel;displayName;stateRoot;process;version;commit;repositories;endpoints;plugins;readiness;lastError;startedAt;constructor(e={}){"schemaVersion"in e||(this.schemaVersion=0),"workspaceID"in e||(this.workspaceID=""),"instanceID"in e||(this.instanceID=""),"generation"in e||(this.generation=""),"kind"in e||(this.kind=""),"channel"in e||(this.channel=""),"displayName"in e||(this.displayName=""),"stateRoot"in e||(this.stateRoot=""),"process"in e||(this.process=new p),"version"in e||(this.version=""),"commit"in e||(this.commit=""),"repositories"in e||(this.repositories=[]),"endpoints"in e||(this.endpoints=new l),"plugins"in e||(this.plugins=[]),"readiness"in e||(this.readiness=""),"startedAt"in e||(this.startedAt="0001-01-01T00:00:00.000Z"),Object.assign(this,e)}static createFrom(e={}){const n=te,a=ne,D=ie,m=ae,v=S;let i=typeof e=="string"?JSON.parse(e):e;return"process"in i&&(i.process=n(i.process)),"repositories"in i&&(i.repositories=a(i.repositories)),"endpoints"in i&&(i.endpoints=D(i.endpoints)),"plugins"in i&&(i.plugins=m(i.plugins)),"lastError"in i&&(i.lastError=v(i.lastError)),new y(i)}}class h{id;version;source;generation;mode;buildStatus;viteStatus;rpcStatus;controllerStatus;operationID;lastError;constructor(e={}){"id"in e||(this.id=""),"version"in e||(this.version=""),"source"in e||(this.source=""),"generation"in e||(this.generation=""),"mode"in e||(this.mode=""),"buildStatus"in e||(this.buildStatus=""),"viteStatus"in e||(this.viteStatus=""),"rpcStatus"in e||(this.rpcStatus=""),"controllerStatus"in e||(this.controllerStatus=""),Object.assign(this,e)}static createFrom(e={}){const n=S;let a=typeof e=="string"?JSON.parse(e):e;return"lastError"in a&&(a.lastError=n(a.lastError)),new h(a)}}class p{pid;startIdentity;executable;workspaceID;generation;role;source;constructor(e={}){"pid"in e||(this.pid=0),"startIdentity"in e||(this.startIdentity=""),"executable"in e||(this.executable=""),"workspaceID"in e||(this.workspaceID=""),"generation"in e||(this.generation=""),"role"in e||(this.role=""),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new p(n)}}class d{id;path;ref;commit;constructor(e={}){"id"in e||(this.id=""),"path"in e||(this.path=""),"ref"in e||(this.ref=""),"commit"in e||(this.commit=""),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new d(n)}}const ee=s.Map(s.Any,s.Any),te=p.createFrom,re=d.createFrom,ne=s.Array(re),ie=l.createFrom,se=h.createFrom,ae=s.Array(se),oe=u.createFrom,S=s.Nullable(oe);function ce(){return r.ByID(678226073).then(t=>ye(t))}function le(){return r.ByID(1706570792)}function pe(t){return r.ByID(2957909098,t).then(e=>he(e))}function fe(t){return r.ByID(473489213,t)}function ue(t,e){return r.ByID(3778694836,t,e)}const ye=y.createFrom,he=s.Array(s.Any);exports.DataClient=o.servicewrapper;exports.ExecClient=o.servicewrapper$1;exports.GraphClient=o.graphservice;exports.LogsClient=o.servicewrapper$2;exports.MetricClient=o.servicewrapper$3;exports.NetworkerClient=o.servicewrapper$4;exports.PluginManager=o.servicewrapper$5;exports.ResourceClient=o.servicewrapper$6;exports.SettingsClient=o.servicewrapper$7;exports.SettingsProvider=o.servicewrapper$8;exports.UIClient=o.servicewrapper$9;exports.DevServerManager=V;exports.DiagnosticsClient=E;exports.GetInstanceInfo=ce;exports.GetOperatingSystem=le;exports.OpenFileSelectionDialog=pe;exports.PluginLogManager=$;exports.SaveFileDialog=fe;exports.UtilsClient=b;exports.WriteFileContent=ue;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./servicewrapper-BOM6A8IG.cjs"),i=require("./index-BVi9X4oU.cjs"),c=require("./models-dzj-SsFZ.cjs"),n=require("./calls-B-HP1Icv.cjs");function v(t,e){return n.ByID(1112300727,t,e)}function T(t){return n.ByID(3545575747,t)}function b(){return n.ByID(973353934).then(t=>G(t))}function F(){return n.ByID(3274001154).then(t=>N(t))}function w(){return n.ByID(1957733758).then(t=>x(t))}function O(){return n.ByID(3570265771).then(t=>J(t))}function C(){return n.ByID(338269344).then(t=>q(t))}function _(t){return n.ByID(2544305887,t).then(e=>Z(e))}function A(t,e){return n.ByID(1042852749,t,e)}function P(){return n.ByID(3071199936)}function j(t){return n.ByID(2852029597,t)}function L(t){return n.ByID(2119350976,t)}function M(t,e,r){return n.ByID(1507504662,t,e,r)}function E(t){return n.ByID(4286704285,t)}function R(t,e){return n.ByID(323373508,t,e)}function $(t){return n.ByID(2912056327,t)}function k(t,e,r){return n.ByID(3748367702,t,e,r)}const G=c.ConfigView.createFrom,N=c.Status.createFrom,V=c.ConnectionPolicyView.createFrom,x=i.Array(V),z=c.PendingConfirmation.createFrom,J=i.Array(z),U=c.PresetView.createFrom,q=i.Array(U),W=c.ToolView.createFrom,Z=i.Array(W),H=Object.freeze(Object.defineProperty({__proto__:null,ApplyPreset:v,DeleteUserPreset:T,GetConfig:b,GetStatus:F,ListConnectionPolicies:w,ListPendingConfirmations:O,ListPresets:C,ListTools:_,ResolveConfirmation:A,RotateToken:P,SaveUserPreset:j,SetBlockConnectionsByDefault:L,SetConnectionAccess:M,SetEnabled:E,SetPluginEnabled:R,SetPort:$,SetToolOverride:k},Symbol.toStringTag,{value:"Module"}));function K(t){return n.ByID(3503478684,t)}const Q=Object.freeze(Object.defineProperty({__proto__:null,DetectLanguage:K},Symbol.toStringTag,{value:"Module"}));function X(t,e){return n.ByID(2691208406,t,e)}function Y(t,e){return n.ByID(3932965591,t,e)}function ee(t,e){return n.ByID(1686862755,t,e)}function te(t,e,r){return n.ByID(3705442919,t,e,r)}function ne(t){return n.ByID(3024854267,t)}function re(t){return n.ByID(3423289677,t)}function ie(t){return n.ByID(158417611,t)}function oe(t){return n.ByID(3413815733,t)}function se(t,e){return n.ByID(2047870999,t,e)}const ae=Object.freeze(Object.defineProperty({__proto__:null,Debug:X,Error:Y,Info:ee,Log:te,ReadLog:ne,ReportStartupReady:re,StartTail:ie,StopTail:oe,Warn:se},Symbol.toStringTag,{value:"Module"}));function ce(t){return n.ByID(584261046,t)}function ue(t){return n.ByID(3098255555,t)}function le(t){return n.ByID(903698361,t)}function pe(t,e,r){return n.ByID(1235170530,t,e,r).then(s=>ve(s))}function ye(t){return n.ByID(3199298309,t)}function fe(t){return n.ByID(2822783534,t).then(e=>d(e))}function De(){return n.ByID(914742443).then(t=>be(t))}function he(){return n.ByID(3392737293).then(t=>Fe(t))}function de(t,e,r){return n.ByID(1474486628,t,e,r)}function ge(t,e,r){return n.ByID(2366942716,t,e,r)}function Ie(t){return n.ByID(4008581935,t)}function Se(t,e,r){return n.ByID(958877691,t,e,r)}function me(t,e,r){return n.ByID(1772958861,t,e,r)}function Be(t,e,r){return n.ByID(728919203,t,e,r)}const ve=c.DropResult.createFrom,d=i.Map(i.Any,i.Any),Te=c.Info.createFrom,be=i.Array(Te),Fe=i.Map(i.Any,d),we=Object.freeze(Object.defineProperty({__proto__:null,BeginDrag:ce,CancelDrag:ue,Close:le,EndDrag:pe,Focus:ye,GetState:fe,List:De,ListStates:he,MoveDrag:de,MoveToPointer:ge,Open:Ie,ReportViewport:Se,RespondDrop:me,SaveState:Be},Symbol.toStringTag,{value:"Module"}));function Oe(t,e){return n.ByID(712656304,t,e).then(r=>$e(r))}function Ce(t){return n.ByID(4153226260,t).then(e=>u(e))}function _e(t){return n.ByID(1859413816,t)}function Ae(){return n.ByID(2707386443).then(t=>ke(t))}function Pe(t){return n.ByID(2381063937,t)}function je(t){return n.ByID(123659362,t).then(e=>u(e))}function Le(t){return n.ByID(709599671,t).then(e=>u(e))}function Me(t,e){return n.ByID(2105869281,t,e).then(r=>u(r))}function Ee(t){return n.ByID(1371062537,t)}const Re=c.LogEntry.createFrom,$e=i.Array(Re),u=c.DevServerState.createFrom,ke=i.Array(u),Ge=Object.freeze(Object.defineProperty({__proto__:null,GetDevServerLogs:Oe,GetDevServerState:Ce,IsManaged:_e,ListDevServerStates:Ae,RebuildPlugin:Pe,RestartDevServer:je,StartDevServer:Le,StartDevServerForPath:Me,StopDevServer:Ee},Symbol.toStringTag,{value:"Module"}));function Ne(t,e){return n.ByID(1867216983,t,e).then(r=>g(r))}function Ve(){return n.ByID(3418650705).then(t=>qe(t))}function xe(t,e){return n.ByID(4138610615,t,e).then(r=>g(r))}function ze(t){return n.ByID(3055914536,t)}function Je(t){return n.ByID(1502487629,t)}const Ue=c.LogEntry$1.createFrom,g=i.Array(Ue),qe=i.Array(i.Any),We=Object.freeze(Object.defineProperty({__proto__:null,GetLogs:Ne,ListStreams:Ve,SearchLogs:xe,Subscribe:ze,Unsubscribe:Je},Symbol.toStringTag,{value:"Module"}));class l{browser;vite;hmr;mcp;control;health;constructor(e={}){"browser"in e||(this.browser=null),"vite"in e||(this.vite=null),"hmr"in e||(this.hmr=null),"mcp"in e||(this.mcp=null),"control"in e||(this.control=null),"health"in e||(this.health=null),Object.assign(this,e)}static createFrom(e={}){let r=typeof e=="string"?JSON.parse(e):e;return new l(r)}}class y{code;message;details;constructor(e={}){"code"in e||(this.code=""),"message"in e||(this.message=""),Object.assign(this,e)}static createFrom(e={}){const r=Ze;let s=typeof e=="string"?JSON.parse(e):e;return"details"in s&&(s.details=r(s.details)),new y(s)}}class f{schemaVersion;workspaceID;instanceID;generation;kind;channel;displayName;stateRoot;process;version;commit;repositories;endpoints;plugins;readiness;lastError;startedAt;constructor(e={}){"schemaVersion"in e||(this.schemaVersion=0),"workspaceID"in e||(this.workspaceID=""),"instanceID"in e||(this.instanceID=""),"generation"in e||(this.generation=""),"kind"in e||(this.kind=""),"channel"in e||(this.channel=""),"displayName"in e||(this.displayName=""),"stateRoot"in e||(this.stateRoot=""),"process"in e||(this.process=new p),"version"in e||(this.version=""),"commit"in e||(this.commit=""),"repositories"in e||(this.repositories=[]),"endpoints"in e||(this.endpoints=new l),"plugins"in e||(this.plugins=[]),"readiness"in e||(this.readiness=""),"startedAt"in e||(this.startedAt="0001-01-01T00:00:00.000Z"),Object.assign(this,e)}static createFrom(e={}){const r=He,s=Qe,S=Xe,m=et,B=I;let o=typeof e=="string"?JSON.parse(e):e;return"process"in o&&(o.process=r(o.process)),"repositories"in o&&(o.repositories=s(o.repositories)),"endpoints"in o&&(o.endpoints=S(o.endpoints)),"plugins"in o&&(o.plugins=m(o.plugins)),"lastError"in o&&(o.lastError=B(o.lastError)),new f(o)}}class D{id;version;source;generation;mode;buildStatus;viteStatus;rpcStatus;controllerStatus;operationID;lastError;constructor(e={}){"id"in e||(this.id=""),"version"in e||(this.version=""),"source"in e||(this.source=""),"generation"in e||(this.generation=""),"mode"in e||(this.mode=""),"buildStatus"in e||(this.buildStatus=""),"viteStatus"in e||(this.viteStatus=""),"rpcStatus"in e||(this.rpcStatus=""),"controllerStatus"in e||(this.controllerStatus=""),Object.assign(this,e)}static createFrom(e={}){const r=I;let s=typeof e=="string"?JSON.parse(e):e;return"lastError"in s&&(s.lastError=r(s.lastError)),new D(s)}}class p{pid;startIdentity;executable;workspaceID;generation;role;source;constructor(e={}){"pid"in e||(this.pid=0),"startIdentity"in e||(this.startIdentity=""),"executable"in e||(this.executable=""),"workspaceID"in e||(this.workspaceID=""),"generation"in e||(this.generation=""),"role"in e||(this.role=""),Object.assign(this,e)}static createFrom(e={}){let r=typeof e=="string"?JSON.parse(e):e;return new p(r)}}class h{id;path;ref;commit;constructor(e={}){"id"in e||(this.id=""),"path"in e||(this.path=""),"ref"in e||(this.ref=""),"commit"in e||(this.commit=""),Object.assign(this,e)}static createFrom(e={}){let r=typeof e=="string"?JSON.parse(e):e;return new h(r)}}const Ze=i.Map(i.Any,i.Any),He=p.createFrom,Ke=h.createFrom,Qe=i.Array(Ke),Xe=l.createFrom,Ye=D.createFrom,et=i.Array(Ye),tt=y.createFrom,I=i.Nullable(tt);function nt(){return n.ByID(678226073).then(t=>at(t))}function rt(){return n.ByID(1706570792)}function it(t){return n.ByID(2957909098,t).then(e=>ct(e))}function ot(t){return n.ByID(473489213,t)}function st(t,e){return n.ByID(3778694836,t,e)}const at=f.createFrom,ct=i.Array(i.Any);exports.DataClient=a.servicewrapper;exports.ExecClient=a.exec;exports.GraphClient=a.graphClient;exports.LogsClient=a.logs;exports.MetricClient=a.metric;exports.NetworkerClient=a.networker;exports.PluginManager=a.servicewrapper$1;exports.ResourceClient=a.client;exports.SettingsClient=a.servicewrapper$2;exports.SettingsProvider=a.servicewrapper$3;exports.UIClient=a.servicewrapper$4;exports.DevServerManager=Ge;exports.DiagnosticsClient=ae;exports.GetInstanceInfo=nt;exports.GetOperatingSystem=rt;exports.McpRelayClient=H;exports.OpenFileSelectionDialog=it;exports.PluginLogManager=We;exports.SaveFileDialog=ot;exports.UtilsClient=Q;exports.WindowClient=we;exports.WriteFileContent=st;
package/dist/api.d.ts CHANGED
@@ -1,16 +1,18 @@
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';
1
+ export * as ExecClient from './exec';
2
+ export * as NetworkerClient from './networker';
3
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 GraphClient from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graphservice';
4
+ export * as ResourceClient from './resource/v2/client';
5
+ export * as GraphClient from './resource/v2/graph-client';
6
6
  export * as SettingsClient from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/settings/servicewrapper';
7
7
  export * as SettingsProvider from './bindings/github.com/omniviewdev/omniview/internal/settings/servicewrapper';
8
+ export * as McpRelayClient from './bindings/github.com/omniviewdev/omniview/internal/mcprelay/servicewrapper';
8
9
  export * as UtilsClient from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/client';
9
10
  export * as UIClient from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/servicewrapper';
10
11
  export * as DiagnosticsClient from './bindings/github.com/omniviewdev/omniview/backend/diagnostics/diagnosticsclient';
11
- export * as LogsClient from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/logs/servicewrapper';
12
- export * as MetricClient from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/servicewrapper';
12
+ export * as LogsClient from './logs';
13
+ export * as MetricClient from './metric';
13
14
  export * as DataClient from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/data/servicewrapper';
15
+ export * as WindowClient from './bindings/github.com/omniviewdev/omniview/backend/window/service';
14
16
  export * as DevServerManager from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/servicewrapper';
15
17
  export * as PluginLogManager from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/servicewrapper';
16
18
  export * from './bindings/github.com/omniviewdev/omniview/appservice';
package/dist/api.js CHANGED
@@ -1,116 +1,246 @@
1
- import { s as Ot, a as wt, g as It, b as _t, c as jt, d as Et, e as Lt, f as Ct, h as Nt, i as Mt, j as kt } from "./servicewrapper-C6SURWw1.js";
2
- import { A as a, a as c, N as b, M as D } from "./index-zyAgCXOO.js";
3
- import { B as n } from "./calls-BvZkVSse.js";
4
- import { D as F, L as T, a as O } from "./models-DU8pTcoZ.js";
5
- function w(e) {
1
+ import { s as Ce, e as _e, g as Pe, l as Ie, m as Le, n as je, a as Ee, c as Me, b as Re, d as ke, f as Ne } from "./servicewrapper-Bda7yi8z.js";
2
+ import { A as s, M as f, a, N as D } from "./index-zyAgCXOO.js";
3
+ import { C as F, S as O, a as w, P as C, b as _, T as P, D as I, I as L, c as j, L as E, d as M } from "./models-Cg1YRHQm.js";
4
+ import { B as n } from "./calls-DYGtxNJ6.js";
5
+ function R(e, t) {
6
+ return n(1112300727, e, t);
7
+ }
8
+ function k(e) {
9
+ return n(3545575747, e);
10
+ }
11
+ function N() {
12
+ return n(973353934).then((e) => Q(e));
13
+ }
14
+ function $() {
15
+ return n(3274001154).then((e) => X(e));
16
+ }
17
+ function G() {
18
+ return n(1957733758).then((e) => tt(e));
19
+ }
20
+ function A() {
21
+ return n(3570265771).then((e) => nt(e));
22
+ }
23
+ function V() {
24
+ return n(338269344).then((e) => it(e));
25
+ }
26
+ function x(e) {
27
+ return n(2544305887, e).then((t) => st(t));
28
+ }
29
+ function z(e, t) {
30
+ return n(1042852749, e, t);
31
+ }
32
+ function J() {
33
+ return n(3071199936);
34
+ }
35
+ function B(e) {
36
+ return n(2852029597, e);
37
+ }
38
+ function U(e) {
39
+ return n(2119350976, e);
40
+ }
41
+ function W(e, t, r) {
42
+ return n(1507504662, e, t, r);
43
+ }
44
+ function Z(e) {
45
+ return n(4286704285, e);
46
+ }
47
+ function q(e, t) {
48
+ return n(323373508, e, t);
49
+ }
50
+ function H(e) {
51
+ return n(2912056327, e);
52
+ }
53
+ function K(e, t, r) {
54
+ return n(3748367702, e, t, r);
55
+ }
56
+ const Q = F.createFrom, X = O.createFrom, Y = w.createFrom, tt = s(Y), et = C.createFrom, nt = s(et), rt = _.createFrom, it = s(rt), ot = P.createFrom, st = s(ot), he = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
57
+ __proto__: null,
58
+ ApplyPreset: R,
59
+ DeleteUserPreset: k,
60
+ GetConfig: N,
61
+ GetStatus: $,
62
+ ListConnectionPolicies: G,
63
+ ListPendingConfirmations: A,
64
+ ListPresets: V,
65
+ ListTools: x,
66
+ ResolveConfirmation: z,
67
+ RotateToken: J,
68
+ SaveUserPreset: B,
69
+ SetBlockConnectionsByDefault: U,
70
+ SetConnectionAccess: W,
71
+ SetEnabled: Z,
72
+ SetPluginEnabled: q,
73
+ SetPort: H,
74
+ SetToolOverride: K
75
+ }, Symbol.toStringTag, { value: "Module" }));
76
+ function at(e) {
6
77
  return n(3503478684, e);
7
78
  }
8
- const ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
79
+ const de = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9
80
  __proto__: null,
10
- DetectLanguage: w
81
+ DetectLanguage: at
11
82
  }, Symbol.toStringTag, { value: "Module" }));
12
- function I(e, t) {
83
+ function ct(e, t) {
13
84
  return n(2691208406, e, t);
14
85
  }
15
- function _(e, t) {
86
+ function ut(e, t) {
16
87
  return n(3932965591, e, t);
17
88
  }
18
- function j(e, t) {
89
+ function lt(e, t) {
19
90
  return n(1686862755, e, t);
20
91
  }
21
- function E(e, t, i) {
22
- return n(3705442919, e, t, i);
92
+ function ft(e, t, r) {
93
+ return n(3705442919, e, t, r);
23
94
  }
24
- function L(e) {
95
+ function pt(e) {
25
96
  return n(3024854267, e);
26
97
  }
27
- function C(e) {
98
+ function ht(e) {
28
99
  return n(3423289677, e);
29
100
  }
30
- function N(e) {
101
+ function dt(e) {
31
102
  return n(158417611, e);
32
103
  }
33
- function M(e) {
104
+ function gt(e) {
34
105
  return n(3413815733, e);
35
106
  }
36
- function k(e, t) {
107
+ function St(e, t) {
37
108
  return n(2047870999, e, t);
38
109
  }
39
- const dt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
110
+ const ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
40
111
  __proto__: null,
41
- Debug: I,
42
- Error: _,
43
- Info: j,
44
- Log: E,
45
- ReadLog: L,
46
- ReportStartupReady: C,
47
- StartTail: N,
48
- StopTail: M,
49
- Warn: k
112
+ Debug: ct,
113
+ Error: ut,
114
+ Info: lt,
115
+ Log: ft,
116
+ ReadLog: pt,
117
+ ReportStartupReady: ht,
118
+ StartTail: dt,
119
+ StopTail: gt,
120
+ Warn: St
50
121
  }, Symbol.toStringTag, { value: "Module" }));
51
- function P(e, t) {
52
- return n(712656304, e, t).then((i) => W(i));
122
+ function mt(e) {
123
+ return n(584261046, e);
53
124
  }
54
- function R(e) {
55
- return n(4153226260, e).then((t) => o(t));
125
+ function yt(e) {
126
+ return n(3098255555, e);
56
127
  }
57
- function x(e) {
128
+ function vt(e) {
129
+ return n(903698361, e);
130
+ }
131
+ function Tt(e, t, r) {
132
+ return n(1235170530, e, t, r).then((o) => jt(o));
133
+ }
134
+ function bt(e) {
135
+ return n(3199298309, e);
136
+ }
137
+ function Dt(e) {
138
+ return n(2822783534, e).then((t) => S(t));
139
+ }
140
+ function Ft() {
141
+ return n(914742443).then((e) => Mt(e));
142
+ }
143
+ function Ot() {
144
+ return n(3392737293).then((e) => Rt(e));
145
+ }
146
+ function wt(e, t, r) {
147
+ return n(1474486628, e, t, r);
148
+ }
149
+ function Ct(e, t, r) {
150
+ return n(2366942716, e, t, r);
151
+ }
152
+ function _t(e) {
153
+ return n(4008581935, e);
154
+ }
155
+ function Pt(e, t, r) {
156
+ return n(958877691, e, t, r);
157
+ }
158
+ function It(e, t, r) {
159
+ return n(1772958861, e, t, r);
160
+ }
161
+ function Lt(e, t, r) {
162
+ return n(728919203, e, t, r);
163
+ }
164
+ const jt = I.createFrom, S = f(a, a), Et = L.createFrom, Mt = s(Et), Rt = f(a, S), Se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
165
+ __proto__: null,
166
+ BeginDrag: mt,
167
+ CancelDrag: yt,
168
+ Close: vt,
169
+ EndDrag: Tt,
170
+ Focus: bt,
171
+ GetState: Dt,
172
+ List: Ft,
173
+ ListStates: Ot,
174
+ MoveDrag: wt,
175
+ MoveToPointer: Ct,
176
+ Open: _t,
177
+ ReportViewport: Pt,
178
+ RespondDrop: It,
179
+ SaveState: Lt
180
+ }, Symbol.toStringTag, { value: "Module" }));
181
+ function kt(e, t) {
182
+ return n(712656304, e, t).then((r) => Ut(r));
183
+ }
184
+ function Nt(e) {
185
+ return n(4153226260, e).then((t) => c(t));
186
+ }
187
+ function $t(e) {
58
188
  return n(1859413816, e);
59
189
  }
60
- function A() {
61
- return n(2707386443).then((e) => Z(e));
190
+ function Gt() {
191
+ return n(2707386443).then((e) => Wt(e));
62
192
  }
63
- function G(e) {
193
+ function At(e) {
64
194
  return n(2381063937, e);
65
195
  }
66
- function J(e) {
67
- return n(123659362, e).then((t) => o(t));
196
+ function Vt(e) {
197
+ return n(123659362, e).then((t) => c(t));
68
198
  }
69
- function z(e) {
70
- return n(709599671, e).then((t) => o(t));
199
+ function xt(e) {
200
+ return n(709599671, e).then((t) => c(t));
71
201
  }
72
- function U(e, t) {
73
- return n(2105869281, e, t).then((i) => o(i));
202
+ function zt(e, t) {
203
+ return n(2105869281, e, t).then((r) => c(r));
74
204
  }
75
- function V(e) {
205
+ function Jt(e) {
76
206
  return n(1371062537, e);
77
207
  }
78
- const B = T.createFrom, W = a(B), o = F.createFrom, Z = a(o), gt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
208
+ const Bt = E.createFrom, Ut = s(Bt), c = j.createFrom, Wt = s(c), me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
79
209
  __proto__: null,
80
- GetDevServerLogs: P,
81
- GetDevServerState: R,
82
- IsManaged: x,
83
- ListDevServerStates: A,
84
- RebuildPlugin: G,
85
- RestartDevServer: J,
86
- StartDevServer: z,
87
- StartDevServerForPath: U,
88
- StopDevServer: V
210
+ GetDevServerLogs: kt,
211
+ GetDevServerState: Nt,
212
+ IsManaged: $t,
213
+ ListDevServerStates: Gt,
214
+ RebuildPlugin: At,
215
+ RestartDevServer: Vt,
216
+ StartDevServer: xt,
217
+ StartDevServerForPath: zt,
218
+ StopDevServer: Jt
89
219
  }, Symbol.toStringTag, { value: "Module" }));
90
- function q(e, t) {
91
- return n(1867216983, e, t).then((i) => g(i));
220
+ function Zt(e, t) {
221
+ return n(1867216983, e, t).then((r) => m(r));
92
222
  }
93
- function H() {
94
- return n(3418650705).then((e) => $(e));
223
+ function qt() {
224
+ return n(3418650705).then((e) => Yt(e));
95
225
  }
96
- function K(e, t) {
97
- return n(4138610615, e, t).then((i) => g(i));
226
+ function Ht(e, t) {
227
+ return n(4138610615, e, t).then((r) => m(r));
98
228
  }
99
- function Q(e) {
229
+ function Kt(e) {
100
230
  return n(3055914536, e);
101
231
  }
102
- function X(e) {
232
+ function Qt(e) {
103
233
  return n(1502487629, e);
104
234
  }
105
- const Y = O.createFrom, g = a(Y), $ = a(c), mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
235
+ const Xt = M.createFrom, m = s(Xt), Yt = s(a), ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
106
236
  __proto__: null,
107
- GetLogs: q,
108
- ListStreams: H,
109
- SearchLogs: K,
110
- Subscribe: Q,
111
- Unsubscribe: X
237
+ GetLogs: Zt,
238
+ ListStreams: qt,
239
+ SearchLogs: Ht,
240
+ Subscribe: Kt,
241
+ Unsubscribe: Qt
112
242
  }, Symbol.toStringTag, { value: "Module" }));
113
- class l {
243
+ class u {
114
244
  browser;
115
245
  vite;
116
246
  hmr;
@@ -125,11 +255,11 @@ class l {
125
255
  * Creates a new Endpoints instance from a string or object.
126
256
  */
127
257
  static createFrom(t = {}) {
128
- let i = typeof t == "string" ? JSON.parse(t) : t;
129
- return new l(i);
258
+ let r = typeof t == "string" ? JSON.parse(t) : t;
259
+ return new u(r);
130
260
  }
131
261
  }
132
- class f {
262
+ class p {
133
263
  code;
134
264
  message;
135
265
  details;
@@ -141,12 +271,12 @@ class f {
141
271
  * Creates a new Error instance from a string or object.
142
272
  */
143
273
  static createFrom(t = {}) {
144
- const i = tt;
145
- let s = typeof t == "string" ? JSON.parse(t) : t;
146
- return "details" in s && (s.details = i(s.details)), new f(s);
274
+ const r = te;
275
+ let o = typeof t == "string" ? JSON.parse(t) : t;
276
+ return "details" in o && (o.details = r(o.details)), new p(o);
147
277
  }
148
278
  }
149
- class u {
279
+ class h {
150
280
  schemaVersion;
151
281
  workspaceID;
152
282
  instanceID;
@@ -166,18 +296,18 @@ class u {
166
296
  startedAt;
167
297
  /** Creates a new InstanceDescriptor instance. */
168
298
  constructor(t = {}) {
169
- "schemaVersion" in t || (this.schemaVersion = 0), "workspaceID" in t || (this.workspaceID = ""), "instanceID" in t || (this.instanceID = ""), "generation" in t || (this.generation = ""), "kind" in t || (this.kind = ""), "channel" in t || (this.channel = ""), "displayName" in t || (this.displayName = ""), "stateRoot" in t || (this.stateRoot = ""), "process" in t || (this.process = new p()), "version" in t || (this.version = ""), "commit" in t || (this.commit = ""), "repositories" in t || (this.repositories = []), "endpoints" in t || (this.endpoints = new l()), "plugins" in t || (this.plugins = []), "readiness" in t || (this.readiness = ""), "startedAt" in t || (this.startedAt = "0001-01-01T00:00:00.000Z"), Object.assign(this, t);
299
+ "schemaVersion" in t || (this.schemaVersion = 0), "workspaceID" in t || (this.workspaceID = ""), "instanceID" in t || (this.instanceID = ""), "generation" in t || (this.generation = ""), "kind" in t || (this.kind = ""), "channel" in t || (this.channel = ""), "displayName" in t || (this.displayName = ""), "stateRoot" in t || (this.stateRoot = ""), "process" in t || (this.process = new l()), "version" in t || (this.version = ""), "commit" in t || (this.commit = ""), "repositories" in t || (this.repositories = []), "endpoints" in t || (this.endpoints = new u()), "plugins" in t || (this.plugins = []), "readiness" in t || (this.readiness = ""), "startedAt" in t || (this.startedAt = "0001-01-01T00:00:00.000Z"), Object.assign(this, t);
170
300
  }
171
301
  /**
172
302
  * Creates a new InstanceDescriptor instance from a string or object.
173
303
  */
174
304
  static createFrom(t = {}) {
175
- const i = et, s = it, S = rt, y = at, v = m;
176
- let r = typeof t == "string" ? JSON.parse(t) : t;
177
- return "process" in r && (r.process = i(r.process)), "repositories" in r && (r.repositories = s(r.repositories)), "endpoints" in r && (r.endpoints = S(r.endpoints)), "plugins" in r && (r.plugins = y(r.plugins)), "lastError" in r && (r.lastError = v(r.lastError)), new u(r);
305
+ const r = ee, o = re, v = ie, T = se, b = y;
306
+ let i = typeof t == "string" ? JSON.parse(t) : t;
307
+ return "process" in i && (i.process = r(i.process)), "repositories" in i && (i.repositories = o(i.repositories)), "endpoints" in i && (i.endpoints = v(i.endpoints)), "plugins" in i && (i.plugins = T(i.plugins)), "lastError" in i && (i.lastError = b(i.lastError)), new h(i);
178
308
  }
179
309
  }
180
- class h {
310
+ class d {
181
311
  id;
182
312
  version;
183
313
  source;
@@ -197,12 +327,12 @@ class h {
197
327
  * Creates a new PluginState instance from a string or object.
198
328
  */
199
329
  static createFrom(t = {}) {
200
- const i = m;
201
- let s = typeof t == "string" ? JSON.parse(t) : t;
202
- return "lastError" in s && (s.lastError = i(s.lastError)), new h(s);
330
+ const r = y;
331
+ let o = typeof t == "string" ? JSON.parse(t) : t;
332
+ return "lastError" in o && (o.lastError = r(o.lastError)), new d(o);
203
333
  }
204
334
  }
205
- class p {
335
+ class l {
206
336
  pid;
207
337
  startIdentity;
208
338
  executable;
@@ -218,11 +348,11 @@ class p {
218
348
  * Creates a new ProcessIdentity instance from a string or object.
219
349
  */
220
350
  static createFrom(t = {}) {
221
- let i = typeof t == "string" ? JSON.parse(t) : t;
222
- return new p(i);
351
+ let r = typeof t == "string" ? JSON.parse(t) : t;
352
+ return new l(r);
223
353
  }
224
354
  }
225
- class d {
355
+ class g {
226
356
  id;
227
357
  path;
228
358
  ref;
@@ -235,46 +365,48 @@ class d {
235
365
  * Creates a new RepositoryResolution instance from a string or object.
236
366
  */
237
367
  static createFrom(t = {}) {
238
- let i = typeof t == "string" ? JSON.parse(t) : t;
239
- return new d(i);
368
+ let r = typeof t == "string" ? JSON.parse(t) : t;
369
+ return new g(r);
240
370
  }
241
371
  }
242
- const tt = D(c, c), et = p.createFrom, nt = d.createFrom, it = a(nt), rt = l.createFrom, st = h.createFrom, at = a(st), ot = f.createFrom, m = b(ot);
243
- function St() {
244
- return n(678226073).then((e) => ct(e));
372
+ const te = f(a, a), ee = l.createFrom, ne = g.createFrom, re = s(ne), ie = u.createFrom, oe = d.createFrom, se = s(oe), ae = p.createFrom, y = D(ae);
373
+ function ve() {
374
+ return n(678226073).then((e) => ce(e));
245
375
  }
246
- function yt() {
376
+ function Te() {
247
377
  return n(1706570792);
248
378
  }
249
- function vt(e) {
250
- return n(2957909098, e).then((t) => lt(t));
379
+ function be(e) {
380
+ return n(2957909098, e).then((t) => ue(t));
251
381
  }
252
- function bt(e) {
382
+ function De(e) {
253
383
  return n(473489213, e);
254
384
  }
255
- function Dt(e, t) {
385
+ function Fe(e, t) {
256
386
  return n(3778694836, e, t);
257
387
  }
258
- const ct = u.createFrom, lt = a(c);
388
+ const ce = h.createFrom, ue = s(a);
259
389
  export {
260
- Ot as DataClient,
261
- gt as DevServerManager,
262
- dt as DiagnosticsClient,
263
- wt as ExecClient,
264
- St as GetInstanceInfo,
265
- yt as GetOperatingSystem,
266
- It as GraphClient,
267
- _t as LogsClient,
268
- jt as MetricClient,
269
- Et as NetworkerClient,
270
- vt as OpenFileSelectionDialog,
271
- mt as PluginLogManager,
272
- Lt as PluginManager,
273
- Ct as ResourceClient,
274
- bt as SaveFileDialog,
275
- Nt as SettingsClient,
276
- Mt as SettingsProvider,
277
- kt as UIClient,
278
- ht as UtilsClient,
279
- Dt as WriteFileContent
390
+ Ce as DataClient,
391
+ me as DevServerManager,
392
+ ge as DiagnosticsClient,
393
+ _e as ExecClient,
394
+ ve as GetInstanceInfo,
395
+ Te as GetOperatingSystem,
396
+ Pe as GraphClient,
397
+ Ie as LogsClient,
398
+ he as McpRelayClient,
399
+ Le as MetricClient,
400
+ je as NetworkerClient,
401
+ be as OpenFileSelectionDialog,
402
+ ye as PluginLogManager,
403
+ Ee as PluginManager,
404
+ Me as ResourceClient,
405
+ De as SaveFileDialog,
406
+ Re as SettingsClient,
407
+ ke as SettingsProvider,
408
+ Ne as UIClient,
409
+ de as UtilsClient,
410
+ Se as WindowClient,
411
+ Fe as WriteFileContent
280
412
  };
@@ -10,6 +10,26 @@ export declare const CoreNetworkerPortforwardClosed = "core/networker/portforwar
10
10
  * Name of the custom event "core/networker/portforward/created".
11
11
  */
12
12
  export declare const CoreNetworkerPortforwardCreated = "core/networker/portforward/created";
13
+ /**
14
+ * Name of the custom event "mcp/config_changed".
15
+ */
16
+ export declare const McpConfigChanged = "mcp/config_changed";
17
+ /**
18
+ * Name of the custom event "mcp/confirmation/requested".
19
+ */
20
+ export declare const McpConfirmationRequested = "mcp/confirmation/requested";
21
+ /**
22
+ * Name of the custom event "mcp/confirmation/resolved".
23
+ */
24
+ export declare const McpConfirmationResolved = "mcp/confirmation/resolved";
25
+ /**
26
+ * Name of the custom event "mcp/status".
27
+ */
28
+ export declare const McpStatus = "mcp/status";
29
+ /**
30
+ * Name of the custom event "mcp/tools_changed".
31
+ */
32
+ export declare const McpToolsChanged = "mcp/tools_changed";
13
33
  /**
14
34
  * Name of the custom event "menu/context/drawer-tab/close".
15
35
  */
@@ -138,3 +158,31 @@ export declare const SettingsChanged = "settings/changed";
138
158
  * Name of the custom event "watch/STATE".
139
159
  */
140
160
  export declare const WatchSTATE = "watch/STATE";
161
+ /**
162
+ * Name of the custom event "windows/changed".
163
+ */
164
+ export declare const WindowsChanged = "windows/changed";
165
+ /**
166
+ * Name of the custom event "windows/closed".
167
+ */
168
+ export declare const WindowsClosed = "windows/closed";
169
+ /**
170
+ * Name of the custom event "windows/drag/begin".
171
+ */
172
+ export declare const WindowsDragBegin = "windows/drag/begin";
173
+ /**
174
+ * Name of the custom event "windows/drag/drop".
175
+ */
176
+ export declare const WindowsDragDrop = "windows/drag/drop";
177
+ /**
178
+ * Name of the custom event "windows/drag/end".
179
+ */
180
+ export declare const WindowsDragEnd = "windows/drag/end";
181
+ /**
182
+ * Name of the custom event "windows/drag/hover".
183
+ */
184
+ export declare const WindowsDragHover = "windows/drag/hover";
185
+ /**
186
+ * Name of the custom event "windows/drag/leave".
187
+ */
188
+ export declare const WindowsDragLeave = "windows/drag/leave";
@@ -0,0 +1 @@
1
+ export { Target } from './models.js';
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Target is access-route input, not canonical resource identity or a grant.
3
+ */
4
+ export declare class Target {
5
+ "Provider": string;
6
+ "Connection": string;
7
+ "ResourceType": string;
8
+ "Object": string;
9
+ "Action": string;
10
+ "Scope": {
11
+ [_ in string]?: string;
12
+ };
13
+ /** Creates a new Target instance. */
14
+ constructor($$source?: Partial<Target>);
15
+ /**
16
+ * Creates a new Target instance from a string or object.
17
+ */
18
+ static createFrom($$source?: any): Target;
19
+ }
@@ -2,7 +2,7 @@ import { CancellablePromise as $CancellablePromise } from '@wailsio/runtime';
2
2
  import * as exec$0 from "../../../../../plugin-sdk/pkg/v1/exec/models.js";
3
3
  export declare function AttachSession(sessionID: string): $CancellablePromise<[exec$0.Session | null, string]>;
4
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>;
5
+ export declare function CreateSession(plugin: string, connectionID: string, encoded: string): $CancellablePromise<exec$0.Session | null>;
6
6
  export declare function CreateTerminal(opts: exec$0.SessionOptions): $CancellablePromise<exec$0.Session | null>;
7
7
  export declare function DetachSession(sessionID: string): $CancellablePromise<exec$0.Session | null>;
8
8
  export declare function GetHandler(plugin: string, resource: string): $CancellablePromise<exec$0.Handler | null>;