@omniviewdev/runtime 0.10.0 → 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 (113) hide show
  1. package/dist/api.cjs +1 -1
  2. package/dist/api.d.ts +7 -6
  3. package/dist/api.js +205 -133
  4. package/dist/bindings/events/index.d.ts +20 -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/internal/mcprelay/index.d.ts +3 -0
  20. package/dist/bindings/github.com/omniviewdev/omniview/internal/mcprelay/models.d.ts +178 -0
  21. package/dist/bindings/github.com/omniviewdev/omniview/internal/mcprelay/servicewrapper.d.ts +30 -0
  22. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/config/models.d.ts +27 -0
  23. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/resource/v2/index.d.ts +2 -0
  24. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/resource/v2/models.d.ts +809 -0
  25. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/types/models.d.ts +94 -0
  26. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/models.d.ts +16 -6
  27. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/index.d.ts +1 -1
  28. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/models.d.ts +27 -17
  29. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/index.d.ts +1 -1
  30. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/models.d.ts +47 -24
  31. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/index.d.ts +1 -1
  32. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/models.d.ts +41 -20
  33. package/dist/bindings/github.com/omniviewdev/plugin-sdk/settings/models.d.ts +16 -4
  34. package/dist/{calls-Bg_uMVc9.cjs → calls-B-HP1Icv.cjs} +1 -1
  35. package/dist/{calls-BvZkVSse.js → calls-DYGtxNJ6.js} +1 -0
  36. package/dist/compat/types.d.ts +1 -1
  37. package/dist/context/drawer/RightDrawerContext.d.ts +8 -4
  38. package/dist/context/drawer/types.d.ts +11 -21
  39. package/dist/context/operations/OperationsContext.d.ts +5 -5
  40. package/dist/exec.d.ts +5 -0
  41. package/dist/graph-JDqyJC_i.js +10 -0
  42. package/dist/graph-wHun0Bkz.cjs +1 -0
  43. package/dist/hooks/connection/index.d.ts +2 -1
  44. package/dist/hooks/connection/useConnection.d.ts +9 -30
  45. package/dist/hooks/connection/useConnectionProfiles.d.ts +7 -0
  46. package/dist/hooks/connection/useConnectionStatus.d.ts +8 -1
  47. package/dist/hooks/connection/useConnections.d.ts +3 -2
  48. package/dist/hooks/connection/useScopeValues.d.ts +9 -0
  49. package/dist/hooks/logs/useLogSession.d.ts +4 -1
  50. package/dist/hooks/metric/useMetricStream.d.ts +6 -2
  51. package/dist/hooks/metric/useResourceMetrics.d.ts +6 -2
  52. package/dist/hooks/networker/types.d.ts +5 -2
  53. package/dist/hooks/networker/useResourcePortForwarder.d.ts +1 -1
  54. package/dist/hooks/resource/useConnectionQueryGuard.d.ts +1 -1
  55. package/dist/hooks/resource/useDependencyTree.d.ts +4 -12
  56. package/dist/hooks/resource/useEditorSchemas.d.ts +12 -7
  57. package/dist/hooks/resource/useEventBatcher.d.ts +11 -47
  58. package/dist/hooks/resource/useRelatedResources.d.ts +6 -14
  59. package/dist/hooks/resource/useResolvedResourceTarget.d.ts +162 -0
  60. package/dist/hooks/resource/useResource.d.ts +7 -58
  61. package/dist/hooks/resource/useResourceActions.d.ts +9 -58
  62. package/dist/hooks/resource/useResourceGraph.d.ts +4 -12
  63. package/dist/hooks/resource/useResourceGroups.d.ts +5 -19
  64. package/dist/hooks/resource/useResourceMutations.d.ts +5 -61
  65. package/dist/hooks/resource/useResourceSearch.d.ts +5 -34
  66. package/dist/hooks/resource/useResourceType.d.ts +6 -19
  67. package/dist/hooks/resource/useResourceTypes.d.ts +5 -20
  68. package/dist/hooks/resource/useResources.d.ts +32 -60
  69. package/dist/hooks/resource/useStreamAction.d.ts +4 -8
  70. package/dist/hooks/resource/useWatchState.d.ts +15 -22
  71. package/dist/index.cjs +4 -4
  72. package/dist/index.d.ts +6 -1
  73. package/dist/index.js +2985 -2906
  74. package/dist/logs.d.ts +14 -0
  75. package/dist/metric.d.ts +35 -0
  76. package/dist/models-Cg1YRHQm.js +583 -0
  77. package/dist/models-DSGyy8lg.cjs +1 -0
  78. package/dist/models-UwESEW2B.js +1232 -0
  79. package/dist/models-dzj-SsFZ.cjs +1 -0
  80. package/dist/models.cjs +1 -1
  81. package/dist/models.d.ts +13 -8
  82. package/dist/models.js +118 -209
  83. package/dist/networker.d.ts +31 -0
  84. package/dist/resource/v2/ancillary.d.ts +161 -0
  85. package/dist/resource/v2/client.d.ts +57 -0
  86. package/dist/resource/v2/domain.d.ts +204 -0
  87. package/dist/resource/v2/graph-client.d.ts +7 -0
  88. package/dist/resource/v2/graph.d.ts +35 -0
  89. package/dist/resource/v2/host.d.ts +129 -0
  90. package/dist/resource/v2/requestJSON.d.ts +2 -0
  91. package/dist/resource/v2/value.d.ts +9 -0
  92. package/dist/resourceQueryKeys.d.ts +8 -4
  93. package/dist/runtime.cjs +1 -1
  94. package/dist/runtime.js +1 -1
  95. package/dist/search.d.ts +9 -11
  96. package/dist/servicewrapper-BOM6A8IG.cjs +1 -0
  97. package/dist/servicewrapper-Bda7yi8z.js +684 -0
  98. package/dist/types/watch.d.ts +48 -21
  99. package/dist/utils/activeSyncAggregator.d.ts +2 -2
  100. package/package.json +1 -1
  101. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/index.d.ts +0 -2
  102. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/models.d.ts +0 -1199
  103. package/dist/compat/resource.d.ts +0 -4
  104. package/dist/hooks/connection/useConnectionNamespaces.d.ts +0 -21
  105. package/dist/legacyEnum-CKqyRmbX.js +0 -15
  106. package/dist/legacyEnum-DkV5yRdA.cjs +0 -1
  107. package/dist/models-BxypsesT.cjs +0 -1
  108. package/dist/models-C6jzDokQ.js +0 -347
  109. package/dist/models-CT4kHj47.js +0 -2444
  110. package/dist/models-DQl7tqts.cjs +0 -1
  111. package/dist/servicewrapper-C6SURWw1.js +0 -850
  112. package/dist/servicewrapper-COMjQHnY.cjs +0 -1
  113. 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"),i=require("./index-BVi9X4oU.cjs"),n=require("./calls-Bg_uMVc9.cjs"),c=require("./models-BxypsesT.cjs");function B(t){return n.ByID(3503478684,t)}const b=Object.freeze(Object.defineProperty({__proto__:null,DetectLanguage:B},Symbol.toStringTag,{value:"Module"}));function w(t,e){return n.ByID(2691208406,t,e)}function T(t,e){return n.ByID(3932965591,t,e)}function F(t,e){return n.ByID(1686862755,t,e)}function O(t,e,r){return n.ByID(3705442919,t,e,r)}function _(t){return n.ByID(3024854267,t)}function A(t){return n.ByID(3423289677,t)}function j(t){return n.ByID(158417611,t)}function C(t){return n.ByID(3413815733,t)}function M(t,e){return n.ByID(2047870999,t,e)}const E=Object.freeze(Object.defineProperty({__proto__:null,Debug:w,Error:T,Info:F,Log:O,ReadLog:_,ReportStartupReady:A,StartTail:j,StopTail:C,Warn:M},Symbol.toStringTag,{value:"Module"}));function L(t){return n.ByID(584261046,t)}function P(t){return n.ByID(3098255555,t)}function R(t){return n.ByID(903698361,t)}function N(t,e,r){return n.ByID(1235170530,t,e,r).then(a=>H(a))}function k(t){return n.ByID(3199298309,t)}function G(t){return n.ByID(2822783534,t).then(e=>g(e))}function J(){return n.ByID(914742443).then(t=>Q(t))}function x(){return n.ByID(3392737293).then(t=>X(t))}function z(t,e,r){return n.ByID(1474486628,t,e,r)}function q(t,e,r){return n.ByID(2366942716,t,e,r)}function V(t){return n.ByID(4008581935,t)}function W(t,e,r){return n.ByID(958877691,t,e,r)}function U(t,e,r){return n.ByID(1772958861,t,e,r)}function Z(t,e,r){return n.ByID(728919203,t,e,r)}const H=c.DropResult.createFrom,g=i.Map(i.Any,i.Any),K=c.Info.createFrom,Q=i.Array(K),X=i.Map(i.Any,g),Y=Object.freeze(Object.defineProperty({__proto__:null,BeginDrag:L,CancelDrag:P,Close:R,EndDrag:N,Focus:k,GetState:G,List:J,ListStates:x,MoveDrag:z,MoveToPointer:q,Open:V,ReportViewport:W,RespondDrop:U,SaveState:Z},Symbol.toStringTag,{value:"Module"}));function $(t,e){return n.ByID(712656304,t,e).then(r=>le(r))}function ee(t){return n.ByID(4153226260,t).then(e=>l(e))}function te(t){return n.ByID(1859413816,t)}function ne(){return n.ByID(2707386443).then(t=>pe(t))}function re(t){return n.ByID(2381063937,t)}function ie(t){return n.ByID(123659362,t).then(e=>l(e))}function se(t){return n.ByID(709599671,t).then(e=>l(e))}function ae(t,e){return n.ByID(2105869281,t,e).then(r=>l(r))}function oe(t){return n.ByID(1371062537,t)}const ce=c.LogEntry.createFrom,le=i.Array(ce),l=c.DevServerState.createFrom,pe=i.Array(l),ue=Object.freeze(Object.defineProperty({__proto__:null,GetDevServerLogs:$,GetDevServerState:ee,IsManaged:te,ListDevServerStates:ne,RebuildPlugin:re,RestartDevServer:ie,StartDevServer:se,StartDevServerForPath:ae,StopDevServer:oe},Symbol.toStringTag,{value:"Module"}));function fe(t,e){return n.ByID(1867216983,t,e).then(r=>D(r))}function ye(){return n.ByID(3418650705).then(t=>Se(t))}function he(t,e){return n.ByID(4138610615,t,e).then(r=>D(r))}function de(t){return n.ByID(3055914536,t)}function ge(t){return n.ByID(1502487629,t)}const De=c.LogEntry$1.createFrom,D=i.Array(De),Se=i.Array(i.Any),Ie=Object.freeze(Object.defineProperty({__proto__:null,GetLogs:fe,ListStreams:ye,SearchLogs:he,Subscribe:de,Unsubscribe:ge},Symbol.toStringTag,{value:"Module"}));class p{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 p(r)}}class f{code;message;details;constructor(e={}){"code"in e||(this.code=""),"message"in e||(this.message=""),Object.assign(this,e)}static createFrom(e={}){const r=me;let a=typeof e=="string"?JSON.parse(e):e;return"details"in a&&(a.details=r(a.details)),new f(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 u),"version"in e||(this.version=""),"commit"in e||(this.commit=""),"repositories"in e||(this.repositories=[]),"endpoints"in e||(this.endpoints=new p),"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=ve,a=be,I=we,m=Fe,v=S;let s=typeof e=="string"?JSON.parse(e):e;return"process"in s&&(s.process=r(s.process)),"repositories"in s&&(s.repositories=a(s.repositories)),"endpoints"in s&&(s.endpoints=I(s.endpoints)),"plugins"in s&&(s.plugins=m(s.plugins)),"lastError"in s&&(s.lastError=v(s.lastError)),new y(s)}}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 r=S;let a=typeof e=="string"?JSON.parse(e):e;return"lastError"in a&&(a.lastError=r(a.lastError)),new h(a)}}class u{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 u(r)}}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 r=typeof e=="string"?JSON.parse(e):e;return new d(r)}}const me=i.Map(i.Any,i.Any),ve=u.createFrom,Be=d.createFrom,be=i.Array(Be),we=p.createFrom,Te=h.createFrom,Fe=i.Array(Te),Oe=f.createFrom,S=i.Nullable(Oe);function _e(){return n.ByID(678226073).then(t=>Ee(t))}function Ae(){return n.ByID(1706570792)}function je(t){return n.ByID(2957909098,t).then(e=>Le(e))}function Ce(t){return n.ByID(473489213,t)}function Me(t,e){return n.ByID(3778694836,t,e)}const Ee=y.createFrom,Le=i.Array(i.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=ue;exports.DiagnosticsClient=E;exports.GetInstanceInfo=_e;exports.GetOperatingSystem=Ae;exports.OpenFileSelectionDialog=je;exports.PluginLogManager=Ie;exports.SaveFileDialog=Ce;exports.UtilsClient=b;exports.WindowClient=Y;exports.WriteFileContent=Me;
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,15 +1,16 @@
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';
14
15
  export * as WindowClient from './bindings/github.com/omniviewdev/omniview/backend/window/service';
15
16
  export * as DevServerManager from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/servicewrapper';
package/dist/api.js CHANGED
@@ -1,175 +1,246 @@
1
- import { s as Zt, a as qt, g as Ht, b as Kt, c as Qt, d as Xt, e as Yt, f as $t, h as te, i as ee, j as ne } from "./servicewrapper-C6SURWw1.js";
2
- import { M as f, A as a, a as o, N as T } from "./index-zyAgCXOO.js";
3
- import { B as n } from "./calls-BvZkVSse.js";
4
- import { D as F, I as O, a as w, L as I, b as _ } from "./models-C6jzDokQ.js";
5
- function j(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 Rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
79
+ const de = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9
80
  __proto__: null,
10
- DetectLanguage: j
81
+ DetectLanguage: at
11
82
  }, Symbol.toStringTag, { value: "Module" }));
12
- function C(e, t) {
83
+ function ct(e, t) {
13
84
  return n(2691208406, e, t);
14
85
  }
15
- function L(e, t) {
86
+ function ut(e, t) {
16
87
  return n(3932965591, e, t);
17
88
  }
18
- function E(e, t) {
89
+ function lt(e, t) {
19
90
  return n(1686862755, e, t);
20
91
  }
21
- function M(e, t, r) {
92
+ function ft(e, t, r) {
22
93
  return n(3705442919, e, t, r);
23
94
  }
24
- function N(e) {
95
+ function pt(e) {
25
96
  return n(3024854267, e);
26
97
  }
27
- function R(e) {
98
+ function ht(e) {
28
99
  return n(3423289677, e);
29
100
  }
30
- function P(e) {
101
+ function dt(e) {
31
102
  return n(158417611, e);
32
103
  }
33
- function k(e) {
104
+ function gt(e) {
34
105
  return n(3413815733, e);
35
106
  }
36
- function G(e, t) {
107
+ function St(e, t) {
37
108
  return n(2047870999, e, t);
38
109
  }
39
- const Pt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
110
+ const ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
40
111
  __proto__: null,
41
- Debug: C,
42
- Error: L,
43
- Info: E,
44
- Log: M,
45
- ReadLog: N,
46
- ReportStartupReady: R,
47
- StartTail: P,
48
- StopTail: k,
49
- Warn: G
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 x(e) {
122
+ function mt(e) {
52
123
  return n(584261046, e);
53
124
  }
54
- function A(e) {
125
+ function yt(e) {
55
126
  return n(3098255555, e);
56
127
  }
57
- function J(e) {
128
+ function vt(e) {
58
129
  return n(903698361, e);
59
130
  }
60
- function z(e, t, r) {
61
- return n(1235170530, e, t, r).then((s) => Y(s));
131
+ function Tt(e, t, r) {
132
+ return n(1235170530, e, t, r).then((o) => jt(o));
62
133
  }
63
- function V(e) {
134
+ function bt(e) {
64
135
  return n(3199298309, e);
65
136
  }
66
- function B(e) {
137
+ function Dt(e) {
67
138
  return n(2822783534, e).then((t) => S(t));
68
139
  }
69
- function U() {
70
- return n(914742443).then((e) => tt(e));
140
+ function Ft() {
141
+ return n(914742443).then((e) => Mt(e));
71
142
  }
72
- function W() {
73
- return n(3392737293).then((e) => et(e));
143
+ function Ot() {
144
+ return n(3392737293).then((e) => Rt(e));
74
145
  }
75
- function Z(e, t, r) {
146
+ function wt(e, t, r) {
76
147
  return n(1474486628, e, t, r);
77
148
  }
78
- function q(e, t, r) {
149
+ function Ct(e, t, r) {
79
150
  return n(2366942716, e, t, r);
80
151
  }
81
- function H(e) {
152
+ function _t(e) {
82
153
  return n(4008581935, e);
83
154
  }
84
- function K(e, t, r) {
155
+ function Pt(e, t, r) {
85
156
  return n(958877691, e, t, r);
86
157
  }
87
- function Q(e, t, r) {
158
+ function It(e, t, r) {
88
159
  return n(1772958861, e, t, r);
89
160
  }
90
- function X(e, t, r) {
161
+ function Lt(e, t, r) {
91
162
  return n(728919203, e, t, r);
92
163
  }
93
- const Y = F.createFrom, S = f(o, o), $ = O.createFrom, tt = a($), et = f(o, S), kt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
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({
94
165
  __proto__: null,
95
- BeginDrag: x,
96
- CancelDrag: A,
97
- Close: J,
98
- EndDrag: z,
99
- Focus: V,
100
- GetState: B,
101
- List: U,
102
- ListStates: W,
103
- MoveDrag: Z,
104
- MoveToPointer: q,
105
- Open: H,
106
- ReportViewport: K,
107
- RespondDrop: Q,
108
- SaveState: X
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
109
180
  }, Symbol.toStringTag, { value: "Module" }));
110
- function nt(e, t) {
111
- return n(712656304, e, t).then((r) => pt(r));
181
+ function kt(e, t) {
182
+ return n(712656304, e, t).then((r) => Ut(r));
112
183
  }
113
- function rt(e) {
184
+ function Nt(e) {
114
185
  return n(4153226260, e).then((t) => c(t));
115
186
  }
116
- function it(e) {
187
+ function $t(e) {
117
188
  return n(1859413816, e);
118
189
  }
119
- function st() {
120
- return n(2707386443).then((e) => ht(e));
190
+ function Gt() {
191
+ return n(2707386443).then((e) => Wt(e));
121
192
  }
122
- function at(e) {
193
+ function At(e) {
123
194
  return n(2381063937, e);
124
195
  }
125
- function ot(e) {
196
+ function Vt(e) {
126
197
  return n(123659362, e).then((t) => c(t));
127
198
  }
128
- function ct(e) {
199
+ function xt(e) {
129
200
  return n(709599671, e).then((t) => c(t));
130
201
  }
131
- function lt(e, t) {
202
+ function zt(e, t) {
132
203
  return n(2105869281, e, t).then((r) => c(r));
133
204
  }
134
- function ut(e) {
205
+ function Jt(e) {
135
206
  return n(1371062537, e);
136
207
  }
137
- const ft = I.createFrom, pt = a(ft), c = w.createFrom, ht = a(c), 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({
138
209
  __proto__: null,
139
- GetDevServerLogs: nt,
140
- GetDevServerState: rt,
141
- IsManaged: it,
142
- ListDevServerStates: st,
143
- RebuildPlugin: at,
144
- RestartDevServer: ot,
145
- StartDevServer: ct,
146
- StartDevServerForPath: lt,
147
- StopDevServer: ut
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
148
219
  }, Symbol.toStringTag, { value: "Module" }));
149
- function dt(e, t) {
220
+ function Zt(e, t) {
150
221
  return n(1867216983, e, t).then((r) => m(r));
151
222
  }
152
- function gt() {
153
- return n(3418650705).then((e) => bt(e));
223
+ function qt() {
224
+ return n(3418650705).then((e) => Yt(e));
154
225
  }
155
- function St(e, t) {
226
+ function Ht(e, t) {
156
227
  return n(4138610615, e, t).then((r) => m(r));
157
228
  }
158
- function mt(e) {
229
+ function Kt(e) {
159
230
  return n(3055914536, e);
160
231
  }
161
- function yt(e) {
232
+ function Qt(e) {
162
233
  return n(1502487629, e);
163
234
  }
164
- const vt = _.createFrom, m = a(vt), bt = a(o), xt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
235
+ const Xt = M.createFrom, m = s(Xt), Yt = s(a), ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
165
236
  __proto__: null,
166
- GetLogs: dt,
167
- ListStreams: gt,
168
- SearchLogs: St,
169
- Subscribe: mt,
170
- Unsubscribe: yt
237
+ GetLogs: Zt,
238
+ ListStreams: qt,
239
+ SearchLogs: Ht,
240
+ Subscribe: Kt,
241
+ Unsubscribe: Qt
171
242
  }, Symbol.toStringTag, { value: "Module" }));
172
- class l {
243
+ class u {
173
244
  browser;
174
245
  vite;
175
246
  hmr;
@@ -185,7 +256,7 @@ class l {
185
256
  */
186
257
  static createFrom(t = {}) {
187
258
  let r = typeof t == "string" ? JSON.parse(t) : t;
188
- return new l(r);
259
+ return new u(r);
189
260
  }
190
261
  }
191
262
  class p {
@@ -200,9 +271,9 @@ class p {
200
271
  * Creates a new Error instance from a string or object.
201
272
  */
202
273
  static createFrom(t = {}) {
203
- const r = Dt;
204
- let s = typeof t == "string" ? JSON.parse(t) : t;
205
- return "details" in s && (s.details = r(s.details)), new p(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);
206
277
  }
207
278
  }
208
279
  class h {
@@ -225,15 +296,15 @@ class h {
225
296
  startedAt;
226
297
  /** Creates a new InstanceDescriptor instance. */
227
298
  constructor(t = {}) {
228
- "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 u()), "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);
229
300
  }
230
301
  /**
231
302
  * Creates a new InstanceDescriptor instance from a string or object.
232
303
  */
233
304
  static createFrom(t = {}) {
234
- const r = Tt, s = Ot, v = wt, b = _t, D = y;
305
+ const r = ee, o = re, v = ie, T = se, b = y;
235
306
  let i = typeof t == "string" ? JSON.parse(t) : t;
236
- return "process" in i && (i.process = r(i.process)), "repositories" in i && (i.repositories = s(i.repositories)), "endpoints" in i && (i.endpoints = v(i.endpoints)), "plugins" in i && (i.plugins = b(i.plugins)), "lastError" in i && (i.lastError = D(i.lastError)), new h(i);
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);
237
308
  }
238
309
  }
239
310
  class d {
@@ -257,11 +328,11 @@ class d {
257
328
  */
258
329
  static createFrom(t = {}) {
259
330
  const r = y;
260
- let s = typeof t == "string" ? JSON.parse(t) : t;
261
- return "lastError" in s && (s.lastError = r(s.lastError)), new d(s);
331
+ let o = typeof t == "string" ? JSON.parse(t) : t;
332
+ return "lastError" in o && (o.lastError = r(o.lastError)), new d(o);
262
333
  }
263
334
  }
264
- class u {
335
+ class l {
265
336
  pid;
266
337
  startIdentity;
267
338
  executable;
@@ -278,7 +349,7 @@ class u {
278
349
  */
279
350
  static createFrom(t = {}) {
280
351
  let r = typeof t == "string" ? JSON.parse(t) : t;
281
- return new u(r);
352
+ return new l(r);
282
353
  }
283
354
  }
284
355
  class g {
@@ -298,43 +369,44 @@ class g {
298
369
  return new g(r);
299
370
  }
300
371
  }
301
- const Dt = f(o, o), Tt = u.createFrom, Ft = g.createFrom, Ot = a(Ft), wt = l.createFrom, It = d.createFrom, _t = a(It), jt = p.createFrom, y = T(jt);
302
- function At() {
303
- 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));
304
375
  }
305
- function Jt() {
376
+ function Te() {
306
377
  return n(1706570792);
307
378
  }
308
- function zt(e) {
309
- return n(2957909098, e).then((t) => Lt(t));
379
+ function be(e) {
380
+ return n(2957909098, e).then((t) => ue(t));
310
381
  }
311
- function Vt(e) {
382
+ function De(e) {
312
383
  return n(473489213, e);
313
384
  }
314
- function Bt(e, t) {
385
+ function Fe(e, t) {
315
386
  return n(3778694836, e, t);
316
387
  }
317
- const Ct = h.createFrom, Lt = a(o);
388
+ const ce = h.createFrom, ue = s(a);
318
389
  export {
319
- Zt as DataClient,
320
- Gt as DevServerManager,
321
- Pt as DiagnosticsClient,
322
- qt as ExecClient,
323
- At as GetInstanceInfo,
324
- Jt as GetOperatingSystem,
325
- Ht as GraphClient,
326
- Kt as LogsClient,
327
- Qt as MetricClient,
328
- Xt as NetworkerClient,
329
- zt as OpenFileSelectionDialog,
330
- xt as PluginLogManager,
331
- Yt as PluginManager,
332
- $t as ResourceClient,
333
- Vt as SaveFileDialog,
334
- te as SettingsClient,
335
- ee as SettingsProvider,
336
- ne as UIClient,
337
- Rt as UtilsClient,
338
- kt as WindowClient,
339
- Bt 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
340
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
  */
@@ -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>;
@@ -1,7 +1,7 @@
1
1
  import { CancellablePromise as $CancellablePromise } from '@wailsio/runtime';
2
2
  import * as logs$0 from "../../../../../plugin-sdk/pkg/v1/logs/models.js";
3
3
  export declare function CloseSession(sessionID: string): $CancellablePromise<void>;
4
- export declare function CreateSession(plugin: string, connectionID: string, opts: logs$0.CreateSessionOptions): $CancellablePromise<logs$0.LogSession | null>;
4
+ export declare function CreateSession(plugin: string, connectionID: string, encoded: string): $CancellablePromise<logs$0.LogSession | null>;
5
5
  export declare function GetSession(sessionID: string): $CancellablePromise<logs$0.LogSession | null>;
6
6
  export declare function GetSupportedResources(pluginID: string): $CancellablePromise<logs$0.Handler[]>;
7
7
  export declare function HasPlugin(pluginID: string): $CancellablePromise<boolean>;
@@ -1,3 +1,3 @@
1
1
  import * as ServiceWrapper from "./servicewrapper.js";
2
2
  export { ServiceWrapper };
3
- export { MetricProviderSummary, SubscribeRequest } from './models.js';
3
+ export { MetricProviderSummary } from './models.js';