@omniviewdev/runtime 0.20.0 → 0.22.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.
package/dist/api.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./service-MaHvflXn.cjs"),i=require("./index-BVi9X4oU.cjs"),n=require("./calls-B-HP1Icv.cjs"),c=require("./models-C-3HYV9E.cjs");let B=class S{running;url;source;error;constructor(e={}){"running"in e||(this.running=!1),"url"in e||(this.url=""),"source"in e||(this.source=""),"error"in e||(this.error=""),Object.assign(this,e)}static createFrom(e={}){let r=typeof e=="string"?JSON.parse(e):e;return new S(r)}};function T(){return n.ByID(3755720097).then(t=>w(t))}const w=B.createFrom,F=Object.freeze(Object.defineProperty({__proto__:null,GetStatus:T},Symbol.toStringTag,{value:"Module"}));class f{supported;enabled;engine;window;application;target;error;constructor(e={}){"supported"in e||(this.supported=!1),"enabled"in e||(this.enabled=!1),"engine"in e||(this.engine=""),"window"in e||(this.window=""),"application"in e||(this.application=""),"target"in e||(this.target=""),"error"in e||(this.error=""),Object.assign(this,e)}static createFrom(e={}){let r=typeof e=="string"?JSON.parse(e):e;return new f(r)}}function O(t){return n.ByID(2352399502,t).then(e=>_(e))}const _=f.createFrom,C=Object.freeze(Object.defineProperty({__proto__:null,GetStatus:O},Symbol.toStringTag,{value:"Module"}));function P(t,e){return n.ByID(1112300727,t,e)}function j(t){return n.ByID(3545575747,t)}function A(){return n.ByID(973353934).then(t=>H(t))}function L(){return n.ByID(3274001154).then(t=>Z(t))}function E(){return n.ByID(1957733758).then(t=>Q(t))}function M(){return n.ByID(3570265771).then(t=>Y(t))}function G(){return n.ByID(338269344).then(t=>ee(t))}function k(t){return n.ByID(2544305887,t).then(e=>ne(e))}function N(t,e){return n.ByID(1042852749,t,e)}function R(){return n.ByID(3071199936)}function J(t){return n.ByID(2852029597,t)}function z(t){return n.ByID(2119350976,t)}function V(t,e,r){return n.ByID(1507504662,t,e,r)}function x(t){return n.ByID(4286704285,t)}function U(t,e){return n.ByID(323373508,t,e)}function q(t){return n.ByID(2912056327,t)}function W(t,e,r){return n.ByID(3748367702,t,e,r)}const H=c.ConfigView.createFrom,Z=c.Status.createFrom,K=c.ConnectionPolicyView.createFrom,Q=i.Array(K),X=c.PendingConfirmation.createFrom,Y=i.Array(X),$=c.PresetView.createFrom,ee=i.Array($),te=c.ToolView.createFrom,ne=i.Array(te),re=Object.freeze(Object.defineProperty({__proto__:null,ApplyPreset:P,DeleteUserPreset:j,GetConfig:A,GetStatus:L,ListConnectionPolicies:E,ListPendingConfirmations:M,ListPresets:G,ListTools:k,ResolveConfirmation:N,RotateToken:R,SaveUserPreset:J,SetBlockConnectionsByDefault:z,SetConnectionAccess:V,SetEnabled:x,SetPluginEnabled:U,SetPort:q,SetToolOverride:W},Symbol.toStringTag,{value:"Module"}));function ie(t){return n.ByID(3503478684,t)}const oe=Object.freeze(Object.defineProperty({__proto__:null,DetectLanguage:ie},Symbol.toStringTag,{value:"Module"}));function se(t,e){return n.ByID(2691208406,t,e)}function ae(t,e){return n.ByID(3932965591,t,e)}function ce(t,e){return n.ByID(1686862755,t,e)}function le(t,e,r){return n.ByID(3705442919,t,e,r)}function ue(t){return n.ByID(3024854267,t)}function pe(t){return n.ByID(3423289677,t)}function fe(t){return n.ByID(158417611,t)}function ye(t){return n.ByID(3413815733,t)}function he(t,e){return n.ByID(2047870999,t,e)}const de=Object.freeze(Object.defineProperty({__proto__:null,Debug:se,Error:ae,Info:ce,Log:le,ReadLog:ue,ReportStartupReady:pe,StartTail:fe,StopTail:ye,Warn:he},Symbol.toStringTag,{value:"Module"}));function ge(t,e){return n.ByID(712656304,t,e).then(r=>Fe(r))}function Se(t){return n.ByID(4153226260,t).then(e=>l(e))}function De(t){return n.ByID(1859413816,t)}function me(){return n.ByID(2707386443).then(t=>Oe(t))}function Ie(t){return n.ByID(2381063937,t)}function ve(t){return n.ByID(123659362,t).then(e=>l(e))}function be(t){return n.ByID(709599671,t).then(e=>l(e))}function Be(t,e){return n.ByID(2105869281,t,e).then(r=>l(r))}function Te(t){return n.ByID(1371062537,t)}const we=c.LogEntry.createFrom,Fe=i.Array(we),l=c.DevServerState.createFrom,Oe=i.Array(l),_e=Object.freeze(Object.defineProperty({__proto__:null,GetDevServerLogs:ge,GetDevServerState:Se,IsManaged:De,ListDevServerStates:me,RebuildPlugin:Ie,RestartDevServer:ve,StartDevServer:be,StartDevServerForPath:Be,StopDevServer:Te},Symbol.toStringTag,{value:"Module"}));function Ce(t,e){return n.ByID(1867216983,t,e).then(r=>D(r))}function Pe(){return n.ByID(3418650705).then(t=>Me(t))}function je(t,e){return n.ByID(4138610615,t,e).then(r=>D(r))}function Ae(t){return n.ByID(3055914536,t)}function Le(t){return n.ByID(1502487629,t)}const Ee=c.LogEntry$1.createFrom,D=i.Array(Ee),Me=i.Array(i.Any),Ge=Object.freeze(Object.defineProperty({__proto__:null,GetLogs:Ce,ListStreams:Pe,SearchLogs:je,Subscribe:Ae,Unsubscribe:Le},Symbol.toStringTag,{value:"Module"}));class u{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 u(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=ke;let s=typeof e=="string"?JSON.parse(e):e;return"details"in s&&(s.details=r(s.details)),new y(s)}}class h{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 u),"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=Ne,s=Je,I=ze,v=xe,b=m;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=I(o.endpoints)),"plugins"in o&&(o.plugins=v(o.plugins)),"lastError"in o&&(o.lastError=b(o.lastError)),new h(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=m;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 g{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 g(r)}}const ke=i.Map(i.Any,i.Any),Ne=p.createFrom,Re=g.createFrom,Je=i.Array(Re),ze=u.createFrom,Ve=d.createFrom,xe=i.Array(Ve),Ue=y.createFrom,m=i.Nullable(Ue);function qe(){return n.ByID(678226073).then(t=>Qe(t))}function We(){return n.ByID(1706570792)}function He(t){return n.ByID(2957909098,t).then(e=>Xe(e))}function Ze(t){return n.ByID(473489213,t)}function Ke(t,e){return n.ByID(3778694836,t,e)}const Qe=h.createFrom,Xe=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.SettingsService=a.binding;exports.UIClient=a.servicewrapper$2;exports.WindowClient=a.service;exports.DevServerManager=_e;exports.DiagnosticsClient=de;exports.GetInstanceInfo=qe;exports.GetOperatingSystem=We;exports.HostProfiling=F;exports.McpRelayClient=re;exports.OpenFileSelectionDialog=He;exports.PluginLogManager=Ge;exports.SaveFileDialog=Ze;exports.UiInspection=C;exports.UtilsClient=oe;exports.WriteFileContent=Ke;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./service-MaHvflXn.cjs"),r=require("./index-BVi9X4oU.cjs"),n=require("./calls-B-HP1Icv.cjs"),l=require("./models-C-3HYV9E.cjs");let O=class w{running;url;source;error;constructor(e={}){"running"in e||(this.running=!1),"url"in e||(this.url=""),"source"in e||(this.source=""),"error"in e||(this.error=""),Object.assign(this,e)}static createFrom(e={}){let i=typeof e=="string"?JSON.parse(e):e;return new w(i)}};function _(){return n.ByID(3755720097).then(t=>j(t))}const j=O.createFrom,A=Object.freeze(Object.defineProperty({__proto__:null,GetStatus:_},Symbol.toStringTag,{value:"Module"}));class y{pid;startIdentity;executable;constructor(e={}){"pid"in e||(this.pid=0),"startIdentity"in e||(this.startIdentity=""),"executable"in e||(this.executable=""),Object.assign(this,e)}static createFrom(e={}){let i=typeof e=="string"?JSON.parse(e):e;return new y(i)}}class d{key;role;pluginID;ownership;identity;windows;windowAssociation;evidence;error;constructor(e={}){"key"in e||(this.key=""),"role"in e||(this.role=""),"pluginID"in e||(this.pluginID=""),"ownership"in e||(this.ownership=""),"identity"in e||(this.identity=null),"windows"in e||(this.windows=[]),"windowAssociation"in e||(this.windowAssociation=""),"evidence"in e||(this.evidence=""),"error"in e||(this.error=""),Object.assign(this,e)}static createFrom(e={}){const i=C,s=k;let c=typeof e=="string"?JSON.parse(e):e;return"identity"in c&&(c.identity=i(c.identity)),"windows"in c&&(c.windows=s(c.windows)),new d(c)}}class h{observedAt;processes;constructor(e={}){"observedAt"in e||(this.observedAt="0001-01-01T00:00:00.000Z"),"processes"in e||(this.processes=[]),Object.assign(this,e)}static createFrom(e={}){const i=M;let s=typeof e=="string"?JSON.parse(e):e;return"processes"in s&&(s.processes=i(s.processes)),new h(s)}}class g{name;id;nativeID;ownership;error;constructor(e={}){"name"in e||(this.name=""),"id"in e||(this.id=0),"nativeID"in e||(this.nativeID=0),"ownership"in e||(this.ownership=""),"error"in e||(this.error=""),Object.assign(this,e)}static createFrom(e={}){let i=typeof e=="string"?JSON.parse(e):e;return new g(i)}}const P=y.createFrom,C=r.Nullable(P),N=g.createFrom,k=r.Array(N),L=d.createFrom,M=r.Array(L);function E(){return n.ByID(3873589115).then(t=>G(t))}const G=h.createFrom,J=Object.freeze(Object.defineProperty({__proto__:null,GetSnapshot:E},Symbol.toStringTag,{value:"Module"}));class S{supported;enabled;engine;window;application;target;error;constructor(e={}){"supported"in e||(this.supported=!1),"enabled"in e||(this.enabled=!1),"engine"in e||(this.engine=""),"window"in e||(this.window=""),"application"in e||(this.application=""),"target"in e||(this.target=""),"error"in e||(this.error=""),Object.assign(this,e)}static createFrom(e={}){let i=typeof e=="string"?JSON.parse(e):e;return new S(i)}}function R(t){return n.ByID(2352399502,t).then(e=>x(e))}const x=S.createFrom,z=Object.freeze(Object.defineProperty({__proto__:null,GetStatus:R},Symbol.toStringTag,{value:"Module"}));function V(t,e){return n.ByID(1112300727,t,e)}function U(t){return n.ByID(3545575747,t)}function q(){return n.ByID(973353934).then(t=>oe(t))}function W(){return n.ByID(3274001154).then(t=>ae(t))}function Z(){return n.ByID(1957733758).then(t=>le(t))}function H(){return n.ByID(3570265771).then(t=>fe(t))}function K(){return n.ByID(338269344).then(t=>ye(t))}function Q(t){return n.ByID(2544305887,t).then(e=>he(e))}function X(t,e){return n.ByID(1042852749,t,e)}function Y(){return n.ByID(3071199936)}function $(t){return n.ByID(2852029597,t)}function ee(t){return n.ByID(2119350976,t)}function te(t,e,i){return n.ByID(1507504662,t,e,i)}function ne(t){return n.ByID(4286704285,t)}function ie(t,e){return n.ByID(323373508,t,e)}function re(t){return n.ByID(2912056327,t)}function se(t,e,i){return n.ByID(3748367702,t,e,i)}const oe=l.ConfigView.createFrom,ae=l.Status.createFrom,ce=l.ConnectionPolicyView.createFrom,le=r.Array(ce),pe=l.PendingConfirmation.createFrom,fe=r.Array(pe),ue=l.PresetView.createFrom,ye=r.Array(ue),de=l.ToolView.createFrom,he=r.Array(de),ge=Object.freeze(Object.defineProperty({__proto__:null,ApplyPreset:V,DeleteUserPreset:U,GetConfig:q,GetStatus:W,ListConnectionPolicies:Z,ListPendingConfirmations:H,ListPresets:K,ListTools:Q,ResolveConfirmation:X,RotateToken:Y,SaveUserPreset:$,SetBlockConnectionsByDefault:ee,SetConnectionAccess:te,SetEnabled:ne,SetPluginEnabled:ie,SetPort:re,SetToolOverride:se},Symbol.toStringTag,{value:"Module"}));function Se(t){return n.ByID(3503478684,t)}const De=Object.freeze(Object.defineProperty({__proto__:null,DetectLanguage:Se},Symbol.toStringTag,{value:"Module"}));function me(t,e){return n.ByID(2691208406,t,e)}function Ie(t,e){return n.ByID(3932965591,t,e)}function be(t,e){return n.ByID(1686862755,t,e)}function we(t,e,i){return n.ByID(3705442919,t,e,i)}function ve(t){return n.ByID(3024854267,t)}function Te(t){return n.ByID(3423289677,t)}function Be(t){return n.ByID(158417611,t)}function Fe(t){return n.ByID(3413815733,t)}function Oe(t,e){return n.ByID(2047870999,t,e)}const _e=Object.freeze(Object.defineProperty({__proto__:null,Debug:me,Error:Ie,Info:be,Log:we,ReadLog:ve,ReportStartupReady:Te,StartTail:Be,StopTail:Fe,Warn:Oe},Symbol.toStringTag,{value:"Module"}));function je(t,e){return n.ByID(712656304,t,e).then(i=>Je(i))}function Ae(t){return n.ByID(4153226260,t).then(e=>p(e))}function Pe(t){return n.ByID(1859413816,t)}function Ce(){return n.ByID(2707386443).then(t=>Re(t))}function Ne(t){return n.ByID(2381063937,t)}function ke(t){return n.ByID(123659362,t).then(e=>p(e))}function Le(t){return n.ByID(709599671,t).then(e=>p(e))}function Me(t,e){return n.ByID(2105869281,t,e).then(i=>p(i))}function Ee(t){return n.ByID(1371062537,t)}const Ge=l.LogEntry.createFrom,Je=r.Array(Ge),p=l.DevServerState.createFrom,Re=r.Array(p),xe=Object.freeze(Object.defineProperty({__proto__:null,GetDevServerLogs:je,GetDevServerState:Ae,IsManaged:Pe,ListDevServerStates:Ce,RebuildPlugin:Ne,RestartDevServer:ke,StartDevServer:Le,StartDevServerForPath:Me,StopDevServer:Ee},Symbol.toStringTag,{value:"Module"}));function ze(t,e){return n.ByID(1867216983,t,e).then(i=>v(i))}function Ve(){return n.ByID(3418650705).then(t=>He(t))}function Ue(t,e){return n.ByID(4138610615,t,e).then(i=>v(i))}function qe(t){return n.ByID(3055914536,t)}function We(t){return n.ByID(1502487629,t)}const Ze=l.LogEntry$1.createFrom,v=r.Array(Ze),He=r.Array(r.Any),Ke=Object.freeze(Object.defineProperty({__proto__:null,GetLogs:ze,ListStreams:Ve,SearchLogs:Ue,Subscribe:qe,Unsubscribe:We},Symbol.toStringTag,{value:"Module"}));class f{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 i=typeof e=="string"?JSON.parse(e):e;return new f(i)}}class D{code;message;details;constructor(e={}){"code"in e||(this.code=""),"message"in e||(this.message=""),Object.assign(this,e)}static createFrom(e={}){const i=Qe;let s=typeof e=="string"?JSON.parse(e):e;return"details"in s&&(s.details=i(s.details)),new D(s)}}class m{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 f),"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 i=Xe,s=$e,c=et,B=nt,F=T;let o=typeof e=="string"?JSON.parse(e):e;return"process"in o&&(o.process=i(o.process)),"repositories"in o&&(o.repositories=s(o.repositories)),"endpoints"in o&&(o.endpoints=c(o.endpoints)),"plugins"in o&&(o.plugins=B(o.plugins)),"lastError"in o&&(o.lastError=F(o.lastError)),new m(o)}}class I{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 i=T;let s=typeof e=="string"?JSON.parse(e):e;return"lastError"in s&&(s.lastError=i(s.lastError)),new I(s)}}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 i=typeof e=="string"?JSON.parse(e):e;return new u(i)}}class b{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 i=typeof e=="string"?JSON.parse(e):e;return new b(i)}}const Qe=r.Map(r.Any,r.Any),Xe=u.createFrom,Ye=b.createFrom,$e=r.Array(Ye),et=f.createFrom,tt=I.createFrom,nt=r.Array(tt),it=D.createFrom,T=r.Nullable(it);function rt(){return n.ByID(678226073).then(t=>lt(t))}function st(){return n.ByID(1706570792)}function ot(t){return n.ByID(2957909098,t).then(e=>pt(e))}function at(t){return n.ByID(473489213,t)}function ct(t,e){return n.ByID(3778694836,t,e)}const lt=m.createFrom,pt=r.Array(r.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.SettingsService=a.binding;exports.UIClient=a.servicewrapper$2;exports.WindowClient=a.service;exports.DevServerManager=xe;exports.DiagnosticsClient=_e;exports.GetInstanceInfo=rt;exports.GetOperatingSystem=st;exports.HostProfiling=A;exports.McpRelayClient=ge;exports.OpenFileSelectionDialog=ot;exports.PluginLogManager=Ke;exports.ProcessInventory=J;exports.SaveFileDialog=at;exports.UiInspection=z;exports.UtilsClient=De;exports.WriteFileContent=ct;
package/dist/api.d.ts CHANGED
@@ -5,6 +5,8 @@ export * as ResourceClient from './resource/v2/client';
5
5
  export * as GraphClient from './resource/v2/graph-client';
6
6
  export * as SettingsService from './bindings/github.com/omniviewdev/omniview/backend/pkg/settings/binding';
7
7
  export * as HostProfiling from './bindings/github.com/omniviewdev/omniview/internal/profiling/servicewrapper';
8
+ export * as ProcessInventory from './bindings/github.com/omniviewdev/omniview/internal/processinfo/service';
9
+ export type { Process as InventoryProcess } from './bindings/github.com/omniviewdev/omniview/internal/processinfo/models';
8
10
  export * as UiInspection from './bindings/github.com/omniviewdev/omniview/internal/uiinspection/service';
9
11
  export * as McpRelayClient from './bindings/github.com/omniviewdev/omniview/internal/mcprelay/servicewrapper';
10
12
  export * as UtilsClient from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/client';
package/dist/api.js CHANGED
@@ -1,8 +1,8 @@
1
- import { s as he, e as de, g as ge, l as Se, m as me, n as ye, a as be, c as ve, b as Te, d as Fe, f as we } from "./service-D25QhNF2.js";
2
- import { A as a, a as c, N as F, M as w } from "./index-zyAgCXOO.js";
1
+ import { s as Ie, e as _e, g as je, l as Pe, m as Ce, n as Ne, a as Le, c as Me, b as ke, d as Ee, f as Ae } from "./service-D25QhNF2.js";
2
+ import { A as a, N as v, a as l, M as _ } from "./index-zyAgCXOO.js";
3
3
  import { B as n } from "./calls-DYGtxNJ6.js";
4
- import { C as O, S as D, a as _, P, b as C, T as j, D as I, L, c as E } from "./models-BlRe-e25.js";
5
- let M = class S {
4
+ import { C as j, S as P, a as C, P as N, b as L, T as M, D as k, L as E, c as A } from "./models-BlRe-e25.js";
5
+ let G = class T {
6
6
  running;
7
7
  url;
8
8
  source;
@@ -15,18 +15,99 @@ let M = class S {
15
15
  * Creates a new Status instance from a string or object.
16
16
  */
17
17
  static createFrom(t = {}) {
18
- let r = typeof t == "string" ? JSON.parse(t) : t;
19
- return new S(r);
18
+ let i = typeof t == "string" ? JSON.parse(t) : t;
19
+ return new T(i);
20
20
  }
21
21
  };
22
- function N() {
23
- return n(3755720097).then((e) => k(e));
22
+ function J() {
23
+ return n(3755720097).then((e) => R(e));
24
24
  }
25
- const k = M.createFrom, $t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
25
+ const R = G.createFrom, fe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26
26
  __proto__: null,
27
- GetStatus: N
27
+ GetStatus: J
28
28
  }, Symbol.toStringTag, { value: "Module" }));
29
- class f {
29
+ class u {
30
+ pid;
31
+ startIdentity;
32
+ executable;
33
+ /** Creates a new ProcessObservation instance. */
34
+ constructor(t = {}) {
35
+ "pid" in t || (this.pid = 0), "startIdentity" in t || (this.startIdentity = ""), "executable" in t || (this.executable = ""), Object.assign(this, t);
36
+ }
37
+ /**
38
+ * Creates a new ProcessObservation instance from a string or object.
39
+ */
40
+ static createFrom(t = {}) {
41
+ let i = typeof t == "string" ? JSON.parse(t) : t;
42
+ return new u(i);
43
+ }
44
+ }
45
+ class h {
46
+ key;
47
+ role;
48
+ pluginID;
49
+ ownership;
50
+ identity;
51
+ windows;
52
+ windowAssociation;
53
+ evidence;
54
+ error;
55
+ /** Creates a new Process instance. */
56
+ constructor(t = {}) {
57
+ "key" in t || (this.key = ""), "role" in t || (this.role = ""), "pluginID" in t || (this.pluginID = ""), "ownership" in t || (this.ownership = ""), "identity" in t || (this.identity = null), "windows" in t || (this.windows = []), "windowAssociation" in t || (this.windowAssociation = ""), "evidence" in t || (this.evidence = ""), "error" in t || (this.error = ""), Object.assign(this, t);
58
+ }
59
+ /**
60
+ * Creates a new Process instance from a string or object.
61
+ */
62
+ static createFrom(t = {}) {
63
+ const i = z, r = U;
64
+ let o = typeof t == "string" ? JSON.parse(t) : t;
65
+ return "identity" in o && (o.identity = i(o.identity)), "windows" in o && (o.windows = r(o.windows)), new h(o);
66
+ }
67
+ }
68
+ class d {
69
+ observedAt;
70
+ processes;
71
+ /** Creates a new Snapshot instance. */
72
+ constructor(t = {}) {
73
+ "observedAt" in t || (this.observedAt = "0001-01-01T00:00:00.000Z"), "processes" in t || (this.processes = []), Object.assign(this, t);
74
+ }
75
+ /**
76
+ * Creates a new Snapshot instance from a string or object.
77
+ */
78
+ static createFrom(t = {}) {
79
+ const i = W;
80
+ let r = typeof t == "string" ? JSON.parse(t) : t;
81
+ return "processes" in r && (r.processes = i(r.processes)), new d(r);
82
+ }
83
+ }
84
+ class g {
85
+ name;
86
+ id;
87
+ nativeID;
88
+ ownership;
89
+ error;
90
+ /** Creates a new Window instance. */
91
+ constructor(t = {}) {
92
+ "name" in t || (this.name = ""), "id" in t || (this.id = 0), "nativeID" in t || (this.nativeID = 0), "ownership" in t || (this.ownership = ""), "error" in t || (this.error = ""), Object.assign(this, t);
93
+ }
94
+ /**
95
+ * Creates a new Window instance from a string or object.
96
+ */
97
+ static createFrom(t = {}) {
98
+ let i = typeof t == "string" ? JSON.parse(t) : t;
99
+ return new g(i);
100
+ }
101
+ }
102
+ const x = u.createFrom, z = v(x), V = g.createFrom, U = a(V), B = h.createFrom, W = a(B);
103
+ function Z() {
104
+ return n(3873589115).then((e) => H(e));
105
+ }
106
+ const H = d.createFrom, ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
107
+ __proto__: null,
108
+ GetSnapshot: Z
109
+ }, Symbol.toStringTag, { value: "Module" }));
110
+ class y {
30
111
  supported;
31
112
  enabled;
32
113
  engine;
@@ -42,197 +123,197 @@ class f {
42
123
  * Creates a new Status instance from a string or object.
43
124
  */
44
125
  static createFrom(t = {}) {
45
- let r = typeof t == "string" ? JSON.parse(t) : t;
46
- return new f(r);
126
+ let i = typeof t == "string" ? JSON.parse(t) : t;
127
+ return new y(i);
47
128
  }
48
129
  }
49
- function G(e) {
50
- return n(2352399502, e).then((t) => R(t));
130
+ function q(e) {
131
+ return n(2352399502, e).then((t) => K(t));
51
132
  }
52
- const R = f.createFrom, te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
133
+ const K = y.createFrom, he = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
53
134
  __proto__: null,
54
- GetStatus: G
135
+ GetStatus: q
55
136
  }, Symbol.toStringTag, { value: "Module" }));
56
- function A(e, t) {
137
+ function Q(e, t) {
57
138
  return n(1112300727, e, t);
58
139
  }
59
- function J(e) {
140
+ function X(e) {
60
141
  return n(3545575747, e);
61
142
  }
62
- function z() {
63
- return n(973353934).then((e) => et(e));
143
+ function Y() {
144
+ return n(973353934).then((e) => ht(e));
64
145
  }
65
- function V() {
66
- return n(3274001154).then((e) => nt(e));
146
+ function $() {
147
+ return n(3274001154).then((e) => dt(e));
67
148
  }
68
- function x() {
69
- return n(1957733758).then((e) => it(e));
149
+ function tt() {
150
+ return n(1957733758).then((e) => yt(e));
70
151
  }
71
- function U() {
72
- return n(3570265771).then((e) => at(e));
152
+ function et() {
153
+ return n(3570265771).then((e) => mt(e));
73
154
  }
74
- function B() {
75
- return n(338269344).then((e) => ct(e));
155
+ function nt() {
156
+ return n(338269344).then((e) => wt(e));
76
157
  }
77
- function W(e) {
78
- return n(2544305887, e).then((t) => ut(t));
158
+ function it(e) {
159
+ return n(2544305887, e).then((t) => Tt(t));
79
160
  }
80
- function H(e, t) {
161
+ function rt(e, t) {
81
162
  return n(1042852749, e, t);
82
163
  }
83
- function Z() {
164
+ function st() {
84
165
  return n(3071199936);
85
166
  }
86
- function q(e) {
167
+ function at(e) {
87
168
  return n(2852029597, e);
88
169
  }
89
- function K(e) {
170
+ function ot(e) {
90
171
  return n(2119350976, e);
91
172
  }
92
- function Q(e, t, r) {
93
- return n(1507504662, e, t, r);
173
+ function ct(e, t, i) {
174
+ return n(1507504662, e, t, i);
94
175
  }
95
- function X(e) {
176
+ function lt(e) {
96
177
  return n(4286704285, e);
97
178
  }
98
- function Y(e, t) {
179
+ function pt(e, t) {
99
180
  return n(323373508, e, t);
100
181
  }
101
- function $(e) {
182
+ function ft(e) {
102
183
  return n(2912056327, e);
103
184
  }
104
- function tt(e, t, r) {
105
- return n(3748367702, e, t, r);
185
+ function ut(e, t, i) {
186
+ return n(3748367702, e, t, i);
106
187
  }
107
- const et = O.createFrom, nt = D.createFrom, rt = _.createFrom, it = a(rt), st = P.createFrom, at = a(st), ot = C.createFrom, ct = a(ot), lt = j.createFrom, ut = a(lt), ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
188
+ const ht = j.createFrom, dt = P.createFrom, gt = C.createFrom, yt = a(gt), St = N.createFrom, mt = a(St), bt = L.createFrom, wt = a(bt), vt = M.createFrom, Tt = a(vt), de = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
108
189
  __proto__: null,
109
- ApplyPreset: A,
110
- DeleteUserPreset: J,
111
- GetConfig: z,
112
- GetStatus: V,
113
- ListConnectionPolicies: x,
114
- ListPendingConfirmations: U,
115
- ListPresets: B,
116
- ListTools: W,
117
- ResolveConfirmation: H,
118
- RotateToken: Z,
119
- SaveUserPreset: q,
120
- SetBlockConnectionsByDefault: K,
121
- SetConnectionAccess: Q,
122
- SetEnabled: X,
123
- SetPluginEnabled: Y,
124
- SetPort: $,
125
- SetToolOverride: tt
190
+ ApplyPreset: Q,
191
+ DeleteUserPreset: X,
192
+ GetConfig: Y,
193
+ GetStatus: $,
194
+ ListConnectionPolicies: tt,
195
+ ListPendingConfirmations: et,
196
+ ListPresets: nt,
197
+ ListTools: it,
198
+ ResolveConfirmation: rt,
199
+ RotateToken: st,
200
+ SaveUserPreset: at,
201
+ SetBlockConnectionsByDefault: ot,
202
+ SetConnectionAccess: ct,
203
+ SetEnabled: lt,
204
+ SetPluginEnabled: pt,
205
+ SetPort: ft,
206
+ SetToolOverride: ut
126
207
  }, Symbol.toStringTag, { value: "Module" }));
127
- function ft(e) {
208
+ function Ft(e) {
128
209
  return n(3503478684, e);
129
210
  }
130
- const ne = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
211
+ const ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
131
212
  __proto__: null,
132
- DetectLanguage: ft
213
+ DetectLanguage: Ft
133
214
  }, Symbol.toStringTag, { value: "Module" }));
134
- function pt(e, t) {
215
+ function Ot(e, t) {
135
216
  return n(2691208406, e, t);
136
217
  }
137
- function ht(e, t) {
218
+ function Dt(e, t) {
138
219
  return n(3932965591, e, t);
139
220
  }
140
- function dt(e, t) {
221
+ function It(e, t) {
141
222
  return n(1686862755, e, t);
142
223
  }
143
- function gt(e, t, r) {
144
- return n(3705442919, e, t, r);
224
+ function _t(e, t, i) {
225
+ return n(3705442919, e, t, i);
145
226
  }
146
- function St(e) {
227
+ function jt(e) {
147
228
  return n(3024854267, e);
148
229
  }
149
- function mt(e) {
230
+ function Pt(e) {
150
231
  return n(3423289677, e);
151
232
  }
152
- function yt(e) {
233
+ function Ct(e) {
153
234
  return n(158417611, e);
154
235
  }
155
- function bt(e) {
236
+ function Nt(e) {
156
237
  return n(3413815733, e);
157
238
  }
158
- function vt(e, t) {
239
+ function Lt(e, t) {
159
240
  return n(2047870999, e, t);
160
241
  }
161
- const re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
242
+ const ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
162
243
  __proto__: null,
163
- Debug: pt,
164
- Error: ht,
165
- Info: dt,
166
- Log: gt,
167
- ReadLog: St,
168
- ReportStartupReady: mt,
169
- StartTail: yt,
170
- StopTail: bt,
171
- Warn: vt
244
+ Debug: Ot,
245
+ Error: Dt,
246
+ Info: It,
247
+ Log: _t,
248
+ ReadLog: jt,
249
+ ReportStartupReady: Pt,
250
+ StartTail: Ct,
251
+ StopTail: Nt,
252
+ Warn: Lt
172
253
  }, Symbol.toStringTag, { value: "Module" }));
173
- function Tt(e, t) {
174
- return n(712656304, e, t).then((r) => Lt(r));
254
+ function Mt(e, t) {
255
+ return n(712656304, e, t).then((i) => Ut(i));
175
256
  }
176
- function Ft(e) {
177
- return n(4153226260, e).then((t) => o(t));
257
+ function kt(e) {
258
+ return n(4153226260, e).then((t) => c(t));
178
259
  }
179
- function wt(e) {
260
+ function Et(e) {
180
261
  return n(1859413816, e);
181
262
  }
182
- function Ot() {
183
- return n(2707386443).then((e) => Et(e));
263
+ function At() {
264
+ return n(2707386443).then((e) => Bt(e));
184
265
  }
185
- function Dt(e) {
266
+ function Gt(e) {
186
267
  return n(2381063937, e);
187
268
  }
188
- function _t(e) {
189
- return n(123659362, e).then((t) => o(t));
269
+ function Jt(e) {
270
+ return n(123659362, e).then((t) => c(t));
190
271
  }
191
- function Pt(e) {
192
- return n(709599671, e).then((t) => o(t));
272
+ function Rt(e) {
273
+ return n(709599671, e).then((t) => c(t));
193
274
  }
194
- function Ct(e, t) {
195
- return n(2105869281, e, t).then((r) => o(r));
275
+ function xt(e, t) {
276
+ return n(2105869281, e, t).then((i) => c(i));
196
277
  }
197
- function jt(e) {
278
+ function zt(e) {
198
279
  return n(1371062537, e);
199
280
  }
200
- const It = L.createFrom, Lt = a(It), o = I.createFrom, Et = a(o), ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
281
+ const Vt = E.createFrom, Ut = a(Vt), c = k.createFrom, Bt = a(c), Se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
201
282
  __proto__: null,
202
- GetDevServerLogs: Tt,
203
- GetDevServerState: Ft,
204
- IsManaged: wt,
205
- ListDevServerStates: Ot,
206
- RebuildPlugin: Dt,
207
- RestartDevServer: _t,
208
- StartDevServer: Pt,
209
- StartDevServerForPath: Ct,
210
- StopDevServer: jt
283
+ GetDevServerLogs: Mt,
284
+ GetDevServerState: kt,
285
+ IsManaged: Et,
286
+ ListDevServerStates: At,
287
+ RebuildPlugin: Gt,
288
+ RestartDevServer: Jt,
289
+ StartDevServer: Rt,
290
+ StartDevServerForPath: xt,
291
+ StopDevServer: zt
211
292
  }, Symbol.toStringTag, { value: "Module" }));
212
- function Mt(e, t) {
213
- return n(1867216983, e, t).then((r) => m(r));
293
+ function Wt(e, t) {
294
+ return n(1867216983, e, t).then((i) => F(i));
214
295
  }
215
- function Nt() {
216
- return n(3418650705).then((e) => Jt(e));
296
+ function Zt() {
297
+ return n(3418650705).then((e) => Xt(e));
217
298
  }
218
- function kt(e, t) {
219
- return n(4138610615, e, t).then((r) => m(r));
299
+ function Ht(e, t) {
300
+ return n(4138610615, e, t).then((i) => F(i));
220
301
  }
221
- function Gt(e) {
302
+ function qt(e) {
222
303
  return n(3055914536, e);
223
304
  }
224
- function Rt(e) {
305
+ function Kt(e) {
225
306
  return n(1502487629, e);
226
307
  }
227
- const At = E.createFrom, m = a(At), Jt = a(c), se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
308
+ const Qt = A.createFrom, F = a(Qt), Xt = a(l), me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
228
309
  __proto__: null,
229
- GetLogs: Mt,
230
- ListStreams: Nt,
231
- SearchLogs: kt,
232
- Subscribe: Gt,
233
- Unsubscribe: Rt
310
+ GetLogs: Wt,
311
+ ListStreams: Zt,
312
+ SearchLogs: Ht,
313
+ Subscribe: qt,
314
+ Unsubscribe: Kt
234
315
  }, Symbol.toStringTag, { value: "Module" }));
235
- class l {
316
+ class p {
236
317
  browser;
237
318
  vite;
238
319
  hmr;
@@ -247,11 +328,11 @@ class l {
247
328
  * Creates a new Endpoints instance from a string or object.
248
329
  */
249
330
  static createFrom(t = {}) {
250
- let r = typeof t == "string" ? JSON.parse(t) : t;
251
- return new l(r);
331
+ let i = typeof t == "string" ? JSON.parse(t) : t;
332
+ return new p(i);
252
333
  }
253
334
  }
254
- class p {
335
+ class S {
255
336
  code;
256
337
  message;
257
338
  details;
@@ -263,12 +344,12 @@ class p {
263
344
  * Creates a new Error instance from a string or object.
264
345
  */
265
346
  static createFrom(t = {}) {
266
- const r = zt;
267
- let s = typeof t == "string" ? JSON.parse(t) : t;
268
- return "details" in s && (s.details = r(s.details)), new p(s);
347
+ const i = Yt;
348
+ let r = typeof t == "string" ? JSON.parse(t) : t;
349
+ return "details" in r && (r.details = i(r.details)), new S(r);
269
350
  }
270
351
  }
271
- class h {
352
+ class m {
272
353
  schemaVersion;
273
354
  workspaceID;
274
355
  instanceID;
@@ -288,18 +369,18 @@ class h {
288
369
  startedAt;
289
370
  /** Creates a new InstanceDescriptor instance. */
290
371
  constructor(t = {}) {
291
- "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);
372
+ "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 f()), "version" in t || (this.version = ""), "commit" in t || (this.commit = ""), "repositories" in t || (this.repositories = []), "endpoints" in t || (this.endpoints = new p()), "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);
292
373
  }
293
374
  /**
294
375
  * Creates a new InstanceDescriptor instance from a string or object.
295
376
  */
296
377
  static createFrom(t = {}) {
297
- const r = Vt, s = Ut, b = Bt, v = Ht, T = y;
298
- let i = typeof t == "string" ? JSON.parse(t) : t;
299
- return "process" in i && (i.process = r(i.process)), "repositories" in i && (i.repositories = s(i.repositories)), "endpoints" in i && (i.endpoints = b(i.endpoints)), "plugins" in i && (i.plugins = v(i.plugins)), "lastError" in i && (i.lastError = T(i.lastError)), new h(i);
378
+ const i = $t, r = ee, o = ne, D = re, I = O;
379
+ let s = typeof t == "string" ? JSON.parse(t) : t;
380
+ return "process" in s && (s.process = i(s.process)), "repositories" in s && (s.repositories = r(s.repositories)), "endpoints" in s && (s.endpoints = o(s.endpoints)), "plugins" in s && (s.plugins = D(s.plugins)), "lastError" in s && (s.lastError = I(s.lastError)), new m(s);
300
381
  }
301
382
  }
302
- class d {
383
+ class b {
303
384
  id;
304
385
  version;
305
386
  source;
@@ -319,12 +400,12 @@ class d {
319
400
  * Creates a new PluginState instance from a string or object.
320
401
  */
321
402
  static createFrom(t = {}) {
322
- const r = y;
323
- let s = typeof t == "string" ? JSON.parse(t) : t;
324
- return "lastError" in s && (s.lastError = r(s.lastError)), new d(s);
403
+ const i = O;
404
+ let r = typeof t == "string" ? JSON.parse(t) : t;
405
+ return "lastError" in r && (r.lastError = i(r.lastError)), new b(r);
325
406
  }
326
407
  }
327
- class u {
408
+ class f {
328
409
  pid;
329
410
  startIdentity;
330
411
  executable;
@@ -340,11 +421,11 @@ class u {
340
421
  * Creates a new ProcessIdentity instance from a string or object.
341
422
  */
342
423
  static createFrom(t = {}) {
343
- let r = typeof t == "string" ? JSON.parse(t) : t;
344
- return new u(r);
424
+ let i = typeof t == "string" ? JSON.parse(t) : t;
425
+ return new f(i);
345
426
  }
346
427
  }
347
- class g {
428
+ class w {
348
429
  id;
349
430
  path;
350
431
  ref;
@@ -357,49 +438,50 @@ class g {
357
438
  * Creates a new RepositoryResolution instance from a string or object.
358
439
  */
359
440
  static createFrom(t = {}) {
360
- let r = typeof t == "string" ? JSON.parse(t) : t;
361
- return new g(r);
441
+ let i = typeof t == "string" ? JSON.parse(t) : t;
442
+ return new w(i);
362
443
  }
363
444
  }
364
- const zt = w(c, c), Vt = u.createFrom, xt = g.createFrom, Ut = a(xt), Bt = l.createFrom, Wt = d.createFrom, Ht = a(Wt), Zt = p.createFrom, y = F(Zt);
365
- function ae() {
366
- return n(678226073).then((e) => qt(e));
445
+ const Yt = _(l, l), $t = f.createFrom, te = w.createFrom, ee = a(te), ne = p.createFrom, ie = b.createFrom, re = a(ie), se = S.createFrom, O = v(se);
446
+ function be() {
447
+ return n(678226073).then((e) => ae(e));
367
448
  }
368
- function oe() {
449
+ function we() {
369
450
  return n(1706570792);
370
451
  }
371
- function ce(e) {
372
- return n(2957909098, e).then((t) => Kt(t));
452
+ function ve(e) {
453
+ return n(2957909098, e).then((t) => oe(t));
373
454
  }
374
- function le(e) {
455
+ function Te(e) {
375
456
  return n(473489213, e);
376
457
  }
377
- function ue(e, t) {
458
+ function Fe(e, t) {
378
459
  return n(3778694836, e, t);
379
460
  }
380
- const qt = h.createFrom, Kt = a(c);
461
+ const ae = m.createFrom, oe = a(l);
381
462
  export {
382
- he as DataClient,
383
- ie as DevServerManager,
384
- re as DiagnosticsClient,
385
- de as ExecClient,
386
- ae as GetInstanceInfo,
387
- oe as GetOperatingSystem,
388
- ge as GraphClient,
389
- $t as HostProfiling,
390
- Se as LogsClient,
391
- ee as McpRelayClient,
392
- me as MetricClient,
393
- ye as NetworkerClient,
394
- ce as OpenFileSelectionDialog,
395
- se as PluginLogManager,
396
- be as PluginManager,
397
- ve as ResourceClient,
398
- le as SaveFileDialog,
399
- Te as SettingsService,
400
- Fe as UIClient,
401
- te as UiInspection,
402
- ne as UtilsClient,
403
- we as WindowClient,
404
- ue as WriteFileContent
463
+ Ie as DataClient,
464
+ Se as DevServerManager,
465
+ ye as DiagnosticsClient,
466
+ _e as ExecClient,
467
+ be as GetInstanceInfo,
468
+ we as GetOperatingSystem,
469
+ je as GraphClient,
470
+ fe as HostProfiling,
471
+ Pe as LogsClient,
472
+ de as McpRelayClient,
473
+ Ce as MetricClient,
474
+ Ne as NetworkerClient,
475
+ ve as OpenFileSelectionDialog,
476
+ me as PluginLogManager,
477
+ Le as PluginManager,
478
+ ue as ProcessInventory,
479
+ Me as ResourceClient,
480
+ Te as SaveFileDialog,
481
+ ke as SettingsService,
482
+ Ee as UIClient,
483
+ he as UiInspection,
484
+ ge as UtilsClient,
485
+ Ae as WindowClient,
486
+ Fe as WriteFileContent
405
487
  };
@@ -1,4 +1,5 @@
1
1
  import { CancellablePromise as $CancellablePromise } from '@wailsio/runtime';
2
+ import * as nativeapps$0 from "../../../../internal/nativeapps/models.js";
2
3
  import * as exec$0 from "../../../../../plugin-sdk/pkg/v1/exec/models.js";
3
4
  export declare function AttachSession(sessionID: string): $CancellablePromise<[exec$0.Session | null, string]>;
4
5
  export declare function CloseSession(sessionID: string): $CancellablePromise<void>;
@@ -11,6 +12,10 @@ export declare function GetHandlers(): $CancellablePromise<{
11
12
  [_ in string]?: exec$0.Handler;
12
13
  };
13
14
  }>;
15
+ /**
16
+ * GetNativeTerminalApplications discovers installed applications with safe native launch adapters.
17
+ */
18
+ export declare function GetNativeTerminalApplications(): $CancellablePromise<nativeapps$0.Application[]>;
14
19
  export declare function GetNativeTerminalSupport(): $CancellablePromise<boolean>;
15
20
  export declare function GetPluginHandlers(plugin: string): $CancellablePromise<{
16
21
  [_ in string]?: exec$0.Handler;
@@ -0,0 +1 @@
1
+ export { ProcessObservation } from './models.js';
@@ -0,0 +1,15 @@
1
+ /**
2
+ * ProcessObservation identifies one sampled process lifetime. It carries no
3
+ * ownership provenance and never authorizes lifecycle operations or signaling.
4
+ */
5
+ export declare class ProcessObservation {
6
+ "pid": number;
7
+ "startIdentity": string;
8
+ "executable": string;
9
+ /** Creates a new ProcessObservation instance. */
10
+ constructor($$source?: Partial<ProcessObservation>);
11
+ /**
12
+ * Creates a new ProcessObservation instance from a string or object.
13
+ */
14
+ static createFrom($$source?: any): ProcessObservation;
15
+ }
@@ -0,0 +1 @@
1
+ export { Application } from './models.js';
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Application contains device-provided metadata for a supported terminal.
3
+ */
4
+ export declare class Application {
5
+ "id": string;
6
+ "name": string;
7
+ "bundleID": string;
8
+ "path": string;
9
+ "iconDataURL": string;
10
+ /** Creates a new Application instance. */
11
+ constructor($$source?: Partial<Application>);
12
+ /**
13
+ * Creates a new Application instance from a string or object.
14
+ */
15
+ static createFrom($$source?: any): Application;
16
+ }
@@ -0,0 +1,3 @@
1
+ import * as Service from "./service.js";
2
+ export { Service };
3
+ export { Process, Snapshot, Window } from './models.js';
@@ -0,0 +1,41 @@
1
+ import * as devsession$0 from "../devsession/models.js";
2
+ export declare class Process {
3
+ "key": string;
4
+ "role": string;
5
+ "pluginID": string;
6
+ "ownership": string;
7
+ "identity": devsession$0.ProcessObservation | null;
8
+ "windows": Window[];
9
+ "windowAssociation": string;
10
+ "evidence": string;
11
+ "error": string;
12
+ /** Creates a new Process instance. */
13
+ constructor($$source?: Partial<Process>);
14
+ /**
15
+ * Creates a new Process instance from a string or object.
16
+ */
17
+ static createFrom($$source?: any): Process;
18
+ }
19
+ export declare class Snapshot {
20
+ "observedAt": string;
21
+ "processes": Process[];
22
+ /** Creates a new Snapshot instance. */
23
+ constructor($$source?: Partial<Snapshot>);
24
+ /**
25
+ * Creates a new Snapshot instance from a string or object.
26
+ */
27
+ static createFrom($$source?: any): Snapshot;
28
+ }
29
+ export declare class Window {
30
+ "name": string;
31
+ "id": number;
32
+ "nativeID": number;
33
+ "ownership": string;
34
+ "error": string;
35
+ /** Creates a new Window instance. */
36
+ constructor($$source?: Partial<Window>);
37
+ /**
38
+ * Creates a new Window instance from a string or object.
39
+ */
40
+ static createFrom($$source?: any): Window;
41
+ }
@@ -0,0 +1,6 @@
1
+ import { CancellablePromise as $CancellablePromise } from '@wailsio/runtime';
2
+ import * as $models from "./models.js";
3
+ /**
4
+ * GetSnapshot returns observations, not a guarantee of continued process liveness.
5
+ */
6
+ export declare function GetSnapshot(): $CancellablePromise<$models.Snapshot>;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "author": "Omniview",
3
3
  "license": "AGPL-3.0-only",
4
4
  "name": "@omniviewdev/runtime",
5
- "version": "0.20.0",
5
+ "version": "0.22.0",
6
6
  "description": "Runtime shared library for Omniview",
7
7
  "sideEffects": false,
8
8
  "type": "module",