@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
@@ -1 +0,0 @@
1
- "use strict";const o=require("./index-BVi9X4oU.cjs"),i=require("./models-DQl7tqts.cjs"),n=require("./calls-Bg_uMVc9.cjs");function Je(e){return n.ByID(93318075,e).then(t=>(t[0]=$(t[0]),t[1]=o.ByteSlice(t[1]),t))}function Qe(e){return n.ByID(1353297556,e)}function C(e,t,r){return n.ByID(608251756,e,t,r).then(c=>$(c))}function ke(e){return n.ByID(4182196712,e).then(t=>$(t))}function xe(e){return n.ByID(3993344525,e).then(t=>$(t))}function Ke(e,t){return n.ByID(1779192716,e,t).then(r=>it(r))}function Xe(){return n.ByID(4033362541).then(e=>ut(e))}function Ye(e){return n.ByID(2619212338,e).then(t=>v(t))}function Ze(e){return n.ByID(1371268636,e).then(t=>$(t))}function et(e){return n.ByID(3881019319,e)}function tt(){return n.ByID(3006426324).then(e=>st(e))}function nt(){return n.ByID(265791345).then(e=>at(e))}function rt(e,t,r){return n.ByID(1492965384,e,t,r)}function ot(e,t){return n.ByID(486465741,e,t)}const ct=i.Session.createFrom,$=o.Nullable(ct),R=i.Handler.createFrom,it=o.Nullable(R),v=o.Map(o.Any,R),ut=o.Map(o.Any,v),st=o.Array(o.Any),at=o.Array($),yt=Object.freeze(Object.defineProperty({__proto__:null,AttachSession:Je,CloseSession:Qe,CreateSession:C,CreateTerminal:ke,DetachSession:xe,GetHandler:Ke,GetHandlers:Xe,GetPluginHandlers:Ye,GetSession:Ze,HasPlugin:et,ListPlugins:tt,ListSessions:nt,ResizeSession:rt,WriteSession:ot},Symbol.toStringTag,{value:"Module"}));function _(e){return n.ByID(182596922,e).then(t=>f(t))}function w(e,t,r){return n.ByID(981100722,e,t,r).then(c=>T(c))}function lt(e){return n.ByID(2157304970,e).then(t=>f(t))}function $t(e){return n.ByID(650882,e).then(t=>M(t))}function pt(e){return n.ByID(3624690437,e)}function O(){return n.ByID(2195697754).then(e=>T(e))}function ft(){return n.ByID(167463150).then(e=>M(e))}function ht(e,t){return n.ByID(2090415403,e,t).then(r=>T(r))}function L(e,t,r){return n.ByID(780445954,e,t,r).then(c=>f(c))}const Dt=i.PortForwardSession.createFrom,f=o.Nullable(Dt),T=o.Array(f),M=o.Array(o.Any),It=Object.freeze(Object.defineProperty({__proto__:null,ClosePortForwardSession:_,FindPortForwardSessions:w,GetPortForwardSession:lt,GetSupportedPortForwardTargets:$t,HasPlugin:pt,ListAllPortForwardSessions:O,ListPlugins:ft,ListPortForwardSessions:ht,StartResourcePortForwardingSession:L},Symbol.toStringTag,{value:"Module"}));function Bt(e){return n.ByID(3150413499,e).then(t=>y(t))}function Tt(e){return n.ByID(1152913314,e).then(t=>jt(t))}function N(e){return n.ByID(111194374,e).then(t=>d(t))}function dt(e){return n.ByID(3945933305,e)}function St(e){return n.ByID(2859775056,e).then(t=>H(t))}function gt(e,t){return n.ByID(2209599792,e,t).then(r=>zt(r))}function mt(e){return n.ByID(3963363730,e).then(t=>H(t))}function Ft(e){return n.ByID(1357029266,e).then(t=>y(t))}function At(){return n.ByID(2477486666).then(e=>h(e))}function bt(){return n.ByID(976517756).then(e=>h(e))}function Gt(e){return n.ByID(1020548995,e).then(t=>h(t))}function Pt(e,t){return n.ByID(2004740384,e,t).then(r=>h(r))}function Ct(){return n.ByID(873697101).then(e=>V(e))}function Rt(){return n.ByID(637134283).then(e=>Wt(e))}function vt(){return n.ByID(550607756).then(e=>Et(e))}function _t(e,t){return n.ByID(288660195,e,t).then(r=>y(r))}function wt(e){return n.ByID(1771013494,e).then(t=>y(t))}function j(e){return n.ByID(2433379724,e).then(t=>y(t))}function Ot(e,t,r){return n.ByID(2783597264,e,t,r).then(c=>V(c))}function Lt(e){return n.ByID(1369550929,e).then(t=>y(t))}function Mt(e){return n.ByID(3828800061,e).then(t=>y(t))}const y=i.PluginInfo.createFrom,Nt=i.DownloadStats.createFrom,jt=o.Nullable(Nt),d=i.PluginMeta.createFrom,Ht=i.VersionInfo.createFrom,H=o.Array(Ht),Vt=i.Review.createFrom,zt=o.Array(Vt),h=o.Nullable(d),Ut=i.AvailablePlugin.createFrom,V=o.Array(Ut),Wt=o.Array(d),Et=o.Array(y),qt=Object.freeze(Object.defineProperty({__proto__:null,GetPlugin:Bt,GetPluginDownloadStats:Tt,GetPluginMeta:N,GetPluginReadme:dt,GetPluginReleaseHistory:St,GetPluginReviews:gt,GetPluginVersions:mt,InstallDevPluginFromPath:Ft,InstallFromPathPrompt:At,InstallInDevMode:bt,InstallPluginFromPath:Gt,InstallPluginVersion:Pt,ListAvailablePlugins:Ct,ListPluginMetas:Rt,ListPlugins:vt,LoadPlugin:_t,ReloadPlugin:wt,RetryFailedPlugin:j,SearchPlugins:Ot,UninstallPlugin:Lt,UnlinkDevPlugin:Mt},Symbol.toStringTag,{value:"Module"}));class S{type;label;target;constructor(t={}){"type"in t||(this.type=""),"label"in t||(this.label=""),Object.assign(this,t)}static createFrom(t={}){let r=typeof t=="string"?JSON.parse(t):t;return new S(r)}}class g{type;title;status;detail;instance;suggestions;actions;code;requestId;recovery;location;constructor(t={}){"type"in t||(this.type=""),"title"in t||(this.title=""),"status"in t||(this.status=0),"detail"in t||(this.detail=""),Object.assign(this,t)}static createFrom(t={}){const r=Jt,c=kt,u=Kt;let s=typeof t=="string"?JSON.parse(t):t;return"suggestions"in s&&(s.suggestions=r(s.suggestions)),"actions"in s&&(s.actions=c(s.actions)),"location"in s&&(s.location=u(s.location)),new g(s)}}class m{start;end;unit;constructor(t={}){"start"in t||(this.start=0),"end"in t||(this.end=0),"unit"in t||(this.unit=""),Object.assign(this,t)}static createFrom(t={}){let r=typeof t=="string"?JSON.parse(t):t;return new m(r)}}const Jt=o.Array(o.Any),Qt=S.createFrom,kt=o.Array(Qt),xt=m.createFrom,Kt=o.Nullable(xt);class D{type;data;error;constructor(t={}){"type"in t||(this.type=""),Object.assign(this,t)}static createFrom(t={}){const r=Xt,c=Zt;let u=typeof t=="string"?JSON.parse(t):t;return"data"in u&&(u.data=r(u.data)),"error"in u&&(u.error=c(u.error)),new D(u)}}class F{sequence;event;terminal;constructor(t={}){"sequence"in t||(this.sequence=0),"event"in t||(this.event=new D),"terminal"in t||(this.terminal=!1),Object.assign(this,t)}static createFrom(t={}){const r=en;let c=typeof t=="string"?JSON.parse(t):t;return"event"in c&&(c.event=r(c.event)),new F(c)}}class A{connection;started;resources;resourceCounts;totalResources;syncedCount;errorCount;lastSyncTime;constructor(t={}){"connection"in t||(this.connection=new i.Connection),"started"in t||(this.started=!1),"resources"in t||(this.resources={}),"resourceCounts"in t||(this.resourceCounts={}),"totalResources"in t||(this.totalResources=0),"syncedCount"in t||(this.syncedCount=0),"errorCount"in t||(this.errorCount=0),Object.assign(this,t)}static createFrom(t={}){const r=tn,c=nn,u=rn;let s=typeof t=="string"?JSON.parse(t):t;return"connection"in s&&(s.connection=r(s.connection)),"resources"in s&&(s.resources=c(s.resources)),"resourceCounts"in s&&(s.resourceCounts=u(s.resourceCounts)),new A(s)}}const Xt=o.Map(o.Any,o.Any),Yt=g.createFrom,Zt=o.Nullable(Yt),en=D.createFrom,tn=i.Connection.createFrom,nn=o.Map(o.Any,o.Any),rn=o.Map(o.Any,o.Any);function on(e,t){return n.ByID(4065522324,e,t)}function z(e){return n.ByID(2393377246,e).then(t=>Fn(t))}function U(e){return n.ByID(1090099505,e)}function W(e,t){return n.ByID(1688967279,e,t).then(r=>De(r))}function E(e,t,r,c){return n.ByID(1613386605,e,t,r,c).then(u=>bn(u))}function q(e,t,r,c){return n.ByID(1477526970,e,t,r,c).then(u=>Pn(u))}function cn(e,t,r){return n.ByID(1338477906,e,t,r)}function J(e,t,r,c,u){return n.ByID(1844283666,e,t,r,c,u).then(s=>Rn(s))}function un(e,t,r,c){return n.ByID(4148812394,e,t,r,c).then(u=>_n(u))}function Q(e,t,r,c){return n.ByID(194970279,e,t,r,c).then(u=>On(u))}function k(e,t,r){return n.ByID(419011114,e,t,r).then(c=>Mn(c))}function x(){return n.ByID(4153677080).then(e=>Hn(e))}function K(e,t){return n.ByID(950535743,e,t).then(r=>I(r))}function X(e,t){return n.ByID(537508515,e,t).then(r=>Ie(r))}function Y(e,t){return n.ByID(1394342402,e,t).then(r=>zn(r))}function sn(e,t,r){return n.ByID(1947262600,e,t,r).then(c=>Wn(c))}function an(e,t,r,c){return n.ByID(1644192689,e,t,r,c).then(u=>qn(u))}function yn(e,t){return n.ByID(2699561690,e,t).then(r=>Qn(r))}function ln(e,t){return n.ByID(1474609809,e,t).then(r=>xn(r))}function $n(e,t){return n.ByID(4077050094,e,t).then(r=>Kn(r))}function pn(e,t,r,c,u,s){return n.ByID(3171791798,e,t,r,c,u,s).then(a=>Yn(a))}function fn(e,t){return n.ByID(114848330,e,t).then(r=>Be(r))}function Z(e,t){return n.ByID(4290498491,e,t).then(r=>Zn(r))}function hn(e,t,r){return n.ByID(137675652,e,t,r)}function ee(e,t){return n.ByID(2078766795,e,t).then(r=>er(r))}function te(e,t){return n.ByID(3311395752,e,t).then(r=>tr(r))}function ne(e,t){return n.ByID(42345827,e,t).then(r=>rr(r))}function Dn(e){return n.ByID(854008408,e)}function In(e,t){return n.ByID(3547410887,e,t)}function Bn(e,t,r){return n.ByID(3516169863,e,t,r)}function re(e,t,r,c){return n.ByID(3093409425,e,t,r,c).then(u=>cr(u))}function oe(){return n.ByID(1598984489).then(e=>ir(e))}function ce(e){return n.ByID(1775572154,e).then(t=>b(t))}function Tn(){return n.ByID(3217612415).then(e=>Ie(e))}function dn(e){return n.ByID(2037329938,e).then(t=>b(t))}function ie(e,t){return n.ByID(421198049,e,t)}function Sn(e,t,r,c,u){return n.ByID(3987850310,e,t,r,c,u).then(s=>sr(s))}function gn(e,t,r){return n.ByID(555702059,e,t,r)}function ue(e,t){return n.ByID(3276991559,e,t).then(r=>De(r))}function se(e,t){return n.ByID(3389223006,e,t)}function ae(e,t){return n.ByID(794258089,e,t).then(r=>I(r))}function ye(e,t){return n.ByID(1661153284,e,t)}function mn(e,t,r){return n.ByID(3981374696,e,t,r)}function le(e,t,r,c,u){return n.ByID(2990116431,e,t,r,c,u)}function $e(e,t,r){return n.ByID(2856546527,e,t,r)}function pe(e,t,r){return n.ByID(3710015102,e,t,r)}function fe(e,t,r,c){return n.ByID(2408192164,e,t,r,c).then(u=>yr(u))}function he(e,t){return n.ByID(2131988692,e,t).then(r=>I(r))}const Fn=F.createFrom,De=i.ConnectionStatus.createFrom,An=i.CreateResult.createFrom,bn=o.Nullable(An),Gn=i.DeleteResult.createFrom,Pn=o.Nullable(Gn),Cn=i.ActionResult.createFrom,Rn=o.Nullable(Cn),vn=i.FindResult.createFrom,_n=o.Nullable(vn),wn=i.GetResult.createFrom,On=o.Nullable(wn),Ln=i.ActionDescriptor.createFrom,Mn=o.Array(Ln),Nn=A.createFrom,jn=o.Array(Nn),Hn=o.Map(o.Any,jn),I=i.Connection.createFrom,Ie=o.Array(o.Any),Vn=i.EditorSchema.createFrom,zn=o.Array(Vn),Un=i.FilterField.createFrom,Wn=o.Array(Un),En=i.ResourceHealth.createFrom,qn=o.Nullable(En),Jn=i.RelationshipDescriptor.createFrom,Qn=o.Array(Jn),kn=i.ResourceCapabilities.createFrom,xn=o.Nullable(kn),Kn=i.ResourceDefinition.createFrom,Xn=i.ResourceEvent.createFrom,Yn=o.Array(Xn),Be=i.ResourceGroup.createFrom,Zn=o.Map(o.Any,Be),Te=i.ResourceMeta.createFrom,er=o.Nullable(Te),tr=o.Map(o.Any,Te),nr=i.WatchConnectionSummary.createFrom,rr=o.Nullable(nr),or=i.ListResult.createFrom,cr=o.Nullable(or),b=o.Array(I),ir=o.Map(o.Any,b),ur=i.ResolvedRelationship.createFrom,sr=o.Array(ur),ar=i.UpdateResult.createFrom,yr=o.Nullable(ar),lr=Object.freeze(Object.defineProperty({__proto__:null,AddConnection:on,AttachStreamAction:z,CancelStreamAction:U,CheckConnection:W,Create:E,Delete:q,EnsureResourceWatch:cn,ExecuteAction:J,Find:un,Get:Q,GetActions:k,GetAllConnectionStates:x,GetConnection:K,GetConnectionNamespaces:X,GetEditorSchemas:Y,GetFilterFields:sn,GetHealth:an,GetRelationships:yn,GetResourceCapabilities:ln,GetResourceDefinition:$n,GetResourceEvents:pn,GetResourceGroup:fn,GetResourceGroups:Z,GetResourceSchema:hn,GetResourceType:ee,GetResourceTypes:te,GetWatchState:ne,HasPlugin:Dn,HasResourceType:In,IsResourceWatchRunning:Bn,List:re,ListAllConnections:oe,ListConnections:ce,ListPlugins:Tn,LoadConnections:dn,RemoveConnection:ie,ResolveRelationships:Sn,RestartResourceWatch:gn,StartConnection:ue,StartConnectionWatch:se,StopConnection:ae,StopConnectionWatch:ye,StopResourceWatch:mn,StreamAction:le,SubscribeResource:$e,UnsubscribeResource:pe,Update:fe,UpdateConnection:he},Symbol.toStringTag,{value:"Module"}));function de(e,t,r,c,u,s){return n.ByID(3749557463,e,t,r,c,u,s).then(a=>fr(a))}function Se(e,t,r,c,u,s,a){return n.ByID(3912521777,e,t,r,c,u,s,a).then(l=>me(l))}function $r(e,t,r,c,u,s,a){return n.ByID(1916045973,e,t,r,c,u,s,a).then(l=>Dr(l))}function ge(e,t,r,c,u,s,a){return n.ByID(210990208,e,t,r,c,u,s,a).then(l=>Br(l))}const pr=i.DependencyTree.createFrom,fr=o.Nullable(pr),hr=i.GraphEdge.createFrom,me=o.Array(hr),Dr=o.Array(me),Ir=i.Subgraph.createFrom,Br=o.Nullable(Ir),Tr=Object.freeze(Object.defineProperty({__proto__:null,GetDependencyTree:de,GetRelated:Se,GetRelationshipChain:$r,GetSubgraph:ge},Symbol.toStringTag,{value:"Module"}));function dr(e,t){return n.ByID(3867104420,e,t).then(r=>Ae(r))}function Sr(e){return n.ByID(3795411887,e)}function gr(){return n.ByID(1053995964).then(e=>Pr(e))}function mr(e){return n.ByID(3231741321,e).then(t=>Cr(t))}function Fe(e){return n.ByID(2597562645,e).then(t=>be(t))}function Fr(e,t,r){return n.ByID(1481837168,e,t,r)}function Ar(e,t){return n.ByID(230212281,e,t)}function br(e,t,r){return n.ByID(1534017462,e,t,r).then(c=>Rr(c))}function Gr(){return n.ByID(2408440370).then(e=>be(e))}const Ae=i.Setting.createFrom,Pr=o.Array(o.Any),Cr=o.Map(o.Any,Ae),be=o.Map(o.Any,o.Any),Rr=i.ValidationResult.createFrom,vr=Object.freeze(Object.defineProperty({__proto__:null,GetSetting:dr,HasPlugin:Sr,ListPlugins:gr,ListSettings:mr,PluginValues:Fe,SetSetting:Fr,SetSettings:Ar,ValidateSetting:br,Values:Gr},Symbol.toStringTag,{value:"Module"}));function _r(e){return n.ByID(122243240,e)}function wr(){return n.ByID(269082212).then(e=>xr(e))}function Or(e){return n.ByID(1421156656,e).then(t=>G(t))}function Lr(e){return n.ByID(3143996982,e).then(t=>Pe(t))}function Mr(e){return n.ByID(1695819138,e)}function Nr(e){return n.ByID(1827194808,e).then(t=>Kr(t))}function jr(e){return n.ByID(72059321,e)}function Hr(e){return n.ByID(62418781,e).then(t=>Xr(t))}function Vr(e){return n.ByID(2222012564,e).then(t=>Yr(t))}function zr(e){return n.ByID(2753368941,e)}function Ur(e){return n.ByID(3825211425,e)}function Wr(e){return n.ByID(2121298005,e).then(t=>Zr(t))}function Er(){return n.ByID(3038957305).then(e=>p(e))}function qr(){return n.ByID(3369612893)}function Jr(e,t){return n.ByID(252556992,e,t)}function Qr(e){return n.ByID(1704369097,e)}function kr(e,t){return n.ByID(1399113254,e,t).then(r=>to(r))}function Ge(){return n.ByID(2936263106).then(e=>Pe(e))}const G=i.Category.createFrom,xr=o.Array(G),Pe=o.Map(o.Any,o.Any),Kr=o.Array(o.Any),Xr=o.Array(o.Any),Yr=i.Setting.createFrom,Zr=o.Array(o.Any);var p=function e(...t){return p===e&&(p=eo),p(...t)};const eo=o.Map(o.Any,G),to=i.ValidationResult.createFrom,no=Object.freeze(Object.defineProperty({__proto__:null,GetBool:_r,GetCategories:wr,GetCategory:Or,GetCategoryValues:Lr,GetFloat:Mr,GetFloatSlice:Nr,GetInt:jr,GetIntSlice:Hr,GetSetting:Vr,GetSettingValue:zr,GetString:Ur,GetStringSlice:Wr,ListSettings:Er,LoadSettings:qr,SetSetting:Jr,SetSettings:Qr,ValidateSetting:kr,Values:Ge},Symbol.toStringTag,{value:"Module"}));function ro(e){return n.ByID(2106300110,e).then(t=>co(t))}function Ce(e){return n.ByID(765209827,e).then(t=>io(t))}function oo(e){return n.ByID(2355436169,e).then(t=>ve(t))}const Re=i.ResourceComponent.createFrom,ve=o.Array(Re),co=o.Map(o.Any,ve),io=o.Nullable(Re),uo=Object.freeze(Object.defineProperty({__proto__:null,GetPluginComponents:ro,GetResourceAreaComponent:Ce,GetResourceComponents:oo},Symbol.toStringTag,{value:"Module"}));function _e(e){return n.ByID(2776241946,e)}function we(e,t,r){return n.ByID(1762441314,e,t,r).then(c=>B(c))}function so(e){return n.ByID(1474987050,e).then(t=>B(t))}function ao(e){return n.ByID(3156347865,e).then(t=>Io(t))}function yo(e){return n.ByID(1444002509,e)}function lo(){return n.ByID(3104582886).then(e=>Bo(e))}function $o(){return n.ByID(2249742267).then(e=>To(e))}function po(e,t){return n.ByID(1212190993,e,t)}function fo(e,t){return n.ByID(2177127885,e,t).then(r=>B(r))}const ho=i.LogSession.createFrom,B=o.Nullable(ho),Do=i.Handler$1.createFrom,Io=o.Array(Do),Bo=o.Array(o.Any),To=o.Array(B),So=Object.freeze(Object.defineProperty({__proto__:null,CloseSession:_e,CreateSession:we,GetSession:so,GetSupportedResources:ao,HasPlugin:yo,ListPlugins:lo,ListSessions:$o,SendCommand:po,UpdateSessionOptions:fo},Symbol.toStringTag,{value:"Module"}));class P{plugin_id;provider_id;name;icon;description;handlers;constructor(t={}){"plugin_id"in t||(this.plugin_id=""),"provider_id"in t||(this.provider_id=""),"name"in t||(this.name=""),"icon"in t||(this.icon=""),"description"in t||(this.description=""),"handlers"in t||(this.handlers=[]),Object.assign(this,t)}static createFrom(t={}){const r=mo;let c=typeof t=="string"?JSON.parse(t):t;return"handlers"in c&&(c.handlers=r(c.handlers)),new P(c)}}const go=i.Handler$2.createFrom,mo=o.Array(go);function Oe(){return n.ByID(3919346639).then(e=>He(e))}function Le(e){return n.ByID(3953821778,e).then(t=>He(t))}function Fo(e){return n.ByID(1815388456,e)}function Ao(){return n.ByID(2730149903).then(e=>Po(e))}function bo(e,t,r){return n.ByID(3947209283,e,t,r).then(c=>Ve(c))}function Me(e,t,r,c,u,s,a,l,We,Ee){return n.ByID(2480040278,e,t,r,c,u,s,a,l,We,Ee).then(qe=>Ro(qe))}function Ne(e,t,r){return n.ByID(3738888803,e,t,r)}function je(e){return n.ByID(3994236150,e)}const Go=P.createFrom,He=o.Array(Go),Po=o.Array(o.Any),Co=i.QueryResponse.createFrom,Ve=o.Nullable(Co),Ro=o.Map(o.Any,Ve),vo=Object.freeze(Object.defineProperty({__proto__:null,GetProviders:Oe,GetProvidersForResource:Le,HasPlugin:Fo,ListPlugins:Ao,Query:bo,QueryAll:Me,Subscribe:Ne,Unsubscribe:je},Symbol.toStringTag,{value:"Module"}));function _o(e,t){return n.ByID(3653639550,e,t)}function ze(e,t){return n.ByID(851823419,e,t)}function wo(e){return n.ByID(2991415449,e).then(t=>Oo(t))}function Ue(e,t,r){return n.ByID(2695679023,e,t,r)}const Oo=o.Array(o.Any),Lo=Object.freeze(Object.defineProperty({__proto__:null,Delete:_o,Get:ze,Keys:wo,Set:Ue},Symbol.toStringTag,{value:"Module"}));exports.AttachStreamAction=z;exports.CancelStreamAction=U;exports.CheckConnection=W;exports.ClosePortForwardSession=_;exports.CloseSession=_e;exports.Create=E;exports.CreateSession=C;exports.CreateSession$1=we;exports.Delete=q;exports.ExecuteAction=J;exports.FindPortForwardSessions=w;exports.Get=ze;exports.Get$1=Q;exports.GetActions=k;exports.GetAllConnectionStates=x;exports.GetConnection=K;exports.GetConnectionNamespaces=X;exports.GetDependencyTree=de;exports.GetEditorSchemas=Y;exports.GetPluginMeta=N;exports.GetProviders=Oe;exports.GetProvidersForResource=Le;exports.GetRelated=Se;exports.GetResourceAreaComponent=Ce;exports.GetResourceGroups=Z;exports.GetResourceType=ee;exports.GetResourceTypes=te;exports.GetSubgraph=ge;exports.GetWatchState=ne;exports.List=re;exports.ListAllConnections=oe;exports.ListAllPortForwardSessions=O;exports.ListConnections=ce;exports.PluginValues=Fe;exports.QueryAll=Me;exports.RemoveConnection=ie;exports.RetryFailedPlugin=j;exports.Set=Ue;exports.StartConnection=ue;exports.StartConnectionWatch=se;exports.StartResourcePortForwardingSession=L;exports.StopConnection=ae;exports.StopConnectionWatch=ye;exports.StreamAction=le;exports.Subscribe=Ne;exports.SubscribeResource=$e;exports.Unsubscribe=je;exports.UnsubscribeResource=pe;exports.Update=fe;exports.UpdateConnection=he;exports.Values=Ge;exports.graphservice=Tr;exports.servicewrapper=Lo;exports.servicewrapper$1=yt;exports.servicewrapper$2=So;exports.servicewrapper$3=vo;exports.servicewrapper$4=It;exports.servicewrapper$5=qt;exports.servicewrapper$6=lr;exports.servicewrapper$7=vr;exports.servicewrapper$8=no;exports.servicewrapper$9=uo;
@@ -1,12 +0,0 @@
1
- /**
2
- * Pure utility functions for parsing and formatting resource keys.
3
- * Resource keys follow the SDK format "group::version::Kind" (e.g. "core::v1::Pod").
4
- */
5
- /** Parse a resource key like "core::v1::Pod" into { group, version, kind } */
6
- export declare const parseResourceKey: (key: string) => {
7
- group: string;
8
- version: string;
9
- kind: string;
10
- };
11
- /** Pretty-print group name: "core" -> "Core", "apps" -> "Apps" */
12
- export declare const formatGroup: (group: string) => string;