@omniviewdev/runtime 0.18.0 → 0.19.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.
@@ -1,5 +1,5 @@
1
1
  import { M as N, a as r, A as D } from "./index-zyAgCXOO.js";
2
- import { aj as P } from "./models-BlxGoC2X.js";
2
+ import { aj as P } from "./models-DNQykdGx.js";
3
3
  class s {
4
4
  Provider;
5
5
  Connection;
@@ -1 +1 @@
1
- "use strict";const s=require("./index-BVi9X4oU.cjs"),N=require("./models-BJZVpONm.cjs");class r{Provider;Connection;ResourceType;Object;Action;Scope;constructor(i={}){"Provider"in i||(this.Provider=""),"Connection"in i||(this.Connection=""),"ResourceType"in i||(this.ResourceType=""),"Object"in i||(this.Object=""),"Action"in i||(this.Action=""),"Scope"in i||(this.Scope={}),Object.assign(this,i)}static createFrom(i={}){const t=P;let n=typeof i=="string"?JSON.parse(i):i;return"Scope"in n&&(n.Scope=t(n.Scope)),new r(n)}}const P=s.Map(s.Any,s.Any);class l{enabled;port;endpoint;token;blockConnectionsByDefault;globalPreset;userPresets;constructor(i={}){"enabled"in i||(this.enabled=!1),"port"in i||(this.port=0),"endpoint"in i||(this.endpoint=""),"token"in i||(this.token=""),"blockConnectionsByDefault"in i||(this.blockConnectionsByDefault=!1),"globalPreset"in i||(this.globalPreset=""),"userPresets"in i||(this.userPresets=[]),Object.assign(this,i)}static createFrom(i={}){const t=j;let n=typeof i=="string"?JSON.parse(i):i;return"userPresets"in n&&(n.userPresets=t(n.userPresets)),new l(n)}}class S{id;approved;reason;constructor(i={}){"id"in i||(this.id=""),"approved"in i||(this.approved=!1),"reason"in i||(this.reason=""),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new S(t)}}class o{pluginID;pluginName;connectionID;connectionName;access;effectiveAccess;preset;effectivePreset;constructor(i={}){"pluginID"in i||(this.pluginID=""),"pluginName"in i||(this.pluginName=""),"connectionID"in i||(this.connectionID=""),"connectionName"in i||(this.connectionName=""),"access"in i||(this.access=""),"effectiveAccess"in i||(this.effectiveAccess=!1),"preset"in i||(this.preset=""),"effectivePreset"in i||(this.effectivePreset=""),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new o(t)}}class f{id;mcpName;pluginID;pluginName;connectionID;connectionName;argumentsJSON;requestedAt;origin;credentialID;sessionID;invocationID;target;policyRevision;catalogRevision;constructor(i={}){"id"in i||(this.id=""),"mcpName"in i||(this.mcpName=""),"pluginID"in i||(this.pluginID=""),"pluginName"in i||(this.pluginName=""),"connectionID"in i||(this.connectionID=""),"connectionName"in i||(this.connectionName=""),"argumentsJSON"in i||(this.argumentsJSON=""),"requestedAt"in i||(this.requestedAt="0001-01-01T00:00:00.000Z"),"origin"in i||(this.origin=""),"credentialID"in i||(this.credentialID=""),"sessionID"in i||(this.sessionID=""),"invocationID"in i||(this.invocationID=""),"target"in i||(this.target=new r),"policyRevision"in i||(this.policyRevision=0),"catalogRevision"in i||(this.catalogRevision=0),Object.assign(this,i)}static createFrom(i={}){const t=F;let n=typeof i=="string"?JSON.parse(i):i;return"target"in n&&(n.target=t(n.target)),new f(n)}}class p{name;builtIn;toolCount;constructor(i={}){"name"in i||(this.name=""),"builtIn"in i||(this.builtIn=!1),"toolCount"in i||(this.toolCount=0),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new p(t)}}class b{pluginID;connectionID;constructor(i={}){"pluginID"in i||(this.pluginID=""),"connectionID"in i||(this.connectionID=""),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new b(t)}}class c{enabled;running;endpoint;error;constructor(i={}){"enabled"in i||(this.enabled=!1),"running"in i||(this.running=!1),"endpoint"in i||(this.endpoint=""),"error"in i||(this.error=""),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new c(t)}}class v{enabled;confirm;constructor(i={}){Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new v(t)}}class d{mcpName;pluginID;connectionID;pluginName;name;title;description;scope;status;builtIn;readOnly;listed;ready;destructive;enabled;enabledSource;confirm;confirmSource;overrideEnabled;overrideConfirm;constructor(i={}){"mcpName"in i||(this.mcpName=""),"pluginID"in i||(this.pluginID=""),"connectionID"in i||(this.connectionID=""),"pluginName"in i||(this.pluginName=""),"name"in i||(this.name=""),"title"in i||(this.title=""),"description"in i||(this.description=""),"scope"in i||(this.scope=""),"status"in i||(this.status=""),"builtIn"in i||(this.builtIn=!1),"readOnly"in i||(this.readOnly=!1),"listed"in i||(this.listed=!1),"ready"in i||(this.ready=!1),"destructive"in i||(this.destructive=!1),"enabled"in i||(this.enabled=!1),"enabledSource"in i||(this.enabledSource=""),"confirm"in i||(this.confirm=!1),"confirmSource"in i||(this.confirmSource=""),"overrideEnabled"in i||(this.overrideEnabled=null),"overrideConfirm"in i||(this.overrideConfirm=null),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new d(t)}}const j=s.Array(s.Any),F=r.createFrom,w=Object.freeze(Object.defineProperty({__proto__:null,ConfigView:l,ConfirmationResolved:S,ConnectionPolicyView:o,PendingConfirmation:f,PresetView:p,Scope:b,Status:c,ToolOverride:v,ToolView:d},Symbol.toStringTag,{value:"Module"}));class a{file;line;column;message;constructor(i={}){"file"in i||(this.file=""),"line"in i||(this.line=0),"column"in i||(this.column=0),"message"in i||(this.message=""),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new a(t)}}var D=(e=>(e.$zero="",e.DevProcessStatusIdle="idle",e.DevProcessStatusStarting="starting",e.DevProcessStatusBuilding="building",e.DevProcessStatusRunning="running",e.DevProcessStatusReady="ready",e.DevProcessStatusError="error",e.DevProcessStatusStopped="stopped",e.DevProcessStatusNotApplicable="n/a",e))(D||{});class g{pluginID;errors;constructor(i={}){"pluginID"in i||(this.pluginID=""),"errors"in i||(this.errors=[]),Object.assign(this,i)}static createFrom(i={}){const t=J;let n=typeof i=="string"?JSON.parse(i):i;return"errors"in n&&(n.errors=t(n.errors)),new g(n)}}var y=(e=>(e.$zero="",e.DevServerModeIdle="idle",e.DevServerModeManaged="managed",e))(y||{});class h{pluginID;mode;devPath;vitePort;viteURL;viteStatus;goStatus;lastBuildDuration;lastBuildTime;lastError;grpcConnected;generation;hmrURL;buildStatus;rpcStatus;controllerStatus;ready;constructor(i={}){"pluginID"in i||(this.pluginID=""),"mode"in i||(this.mode=""),"devPath"in i||(this.devPath=""),"vitePort"in i||(this.vitePort=0),"viteURL"in i||(this.viteURL=""),"viteStatus"in i||(this.viteStatus=""),"goStatus"in i||(this.goStatus=""),"lastBuildDuration"in i||(this.lastBuildDuration=N.Duration.$zero),"lastBuildTime"in i||(this.lastBuildTime=""),"lastError"in i||(this.lastError=""),"grpcConnected"in i||(this.grpcConnected=!1),"generation"in i||(this.generation=""),"hmrURL"in i||(this.hmrURL=""),"buildStatus"in i||(this.buildStatus=""),"rpcStatus"in i||(this.rpcStatus=""),"controllerStatus"in i||(this.controllerStatus=""),"ready"in i||(this.ready=!1),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new h(t)}}var I=(e=>(e.$zero="",e.StagePending="pending",e.StageBuilding="building",e.StageReady="ready",e.StageError="error",e.StageStopped="stopped",e.StageNotApplicable="n/a",e))(I||{});let u=class O{timestamp;source;level;message;pluginID;constructor(i={}){"timestamp"in i||(this.timestamp=""),"source"in i||(this.source=""),"level"in i||(this.level=""),"message"in i||(this.message=""),"pluginID"in i||(this.pluginID=""),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new O(t)}};const C=a.createFrom,J=s.Array(C),R=Object.freeze(Object.defineProperty({__proto__:null,BuildError:a,DevProcessStatus:D,DevServerErrorPayload:g,DevServerMode:y,DevServerState:h,LifecycleStage:I,LogEntry:u},Symbol.toStringTag,{value:"Module"}));class m{timestamp;pluginID;source;level;message;constructor(i={}){"timestamp"in i||(this.timestamp=""),"pluginID"in i||(this.pluginID=""),"source"in i||(this.source=""),"level"in i||(this.level=""),"message"in i||(this.message=""),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new m(t)}}const A=Object.freeze(Object.defineProperty({__proto__:null,LogEntry:m},Symbol.toStringTag,{value:"Module"}));exports.BuildError=a;exports.ConfigView=l;exports.ConnectionPolicyView=o;exports.DevProcessStatus=D;exports.DevServerErrorPayload=g;exports.DevServerMode=y;exports.DevServerState=h;exports.LifecycleStage=I;exports.LogEntry=u;exports.LogEntry$1=m;exports.PendingConfirmation=f;exports.PresetView=p;exports.Status=c;exports.ToolView=d;exports.models=R;exports.models$1=w;exports.models$2=A;
1
+ "use strict";const s=require("./index-BVi9X4oU.cjs"),N=require("./models-D5pkScnE.cjs");class r{Provider;Connection;ResourceType;Object;Action;Scope;constructor(i={}){"Provider"in i||(this.Provider=""),"Connection"in i||(this.Connection=""),"ResourceType"in i||(this.ResourceType=""),"Object"in i||(this.Object=""),"Action"in i||(this.Action=""),"Scope"in i||(this.Scope={}),Object.assign(this,i)}static createFrom(i={}){const t=P;let n=typeof i=="string"?JSON.parse(i):i;return"Scope"in n&&(n.Scope=t(n.Scope)),new r(n)}}const P=s.Map(s.Any,s.Any);class l{enabled;port;endpoint;token;blockConnectionsByDefault;globalPreset;userPresets;constructor(i={}){"enabled"in i||(this.enabled=!1),"port"in i||(this.port=0),"endpoint"in i||(this.endpoint=""),"token"in i||(this.token=""),"blockConnectionsByDefault"in i||(this.blockConnectionsByDefault=!1),"globalPreset"in i||(this.globalPreset=""),"userPresets"in i||(this.userPresets=[]),Object.assign(this,i)}static createFrom(i={}){const t=j;let n=typeof i=="string"?JSON.parse(i):i;return"userPresets"in n&&(n.userPresets=t(n.userPresets)),new l(n)}}class S{id;approved;reason;constructor(i={}){"id"in i||(this.id=""),"approved"in i||(this.approved=!1),"reason"in i||(this.reason=""),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new S(t)}}class o{pluginID;pluginName;connectionID;connectionName;access;effectiveAccess;preset;effectivePreset;constructor(i={}){"pluginID"in i||(this.pluginID=""),"pluginName"in i||(this.pluginName=""),"connectionID"in i||(this.connectionID=""),"connectionName"in i||(this.connectionName=""),"access"in i||(this.access=""),"effectiveAccess"in i||(this.effectiveAccess=!1),"preset"in i||(this.preset=""),"effectivePreset"in i||(this.effectivePreset=""),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new o(t)}}class f{id;mcpName;pluginID;pluginName;connectionID;connectionName;argumentsJSON;requestedAt;origin;credentialID;sessionID;invocationID;target;policyRevision;catalogRevision;constructor(i={}){"id"in i||(this.id=""),"mcpName"in i||(this.mcpName=""),"pluginID"in i||(this.pluginID=""),"pluginName"in i||(this.pluginName=""),"connectionID"in i||(this.connectionID=""),"connectionName"in i||(this.connectionName=""),"argumentsJSON"in i||(this.argumentsJSON=""),"requestedAt"in i||(this.requestedAt="0001-01-01T00:00:00.000Z"),"origin"in i||(this.origin=""),"credentialID"in i||(this.credentialID=""),"sessionID"in i||(this.sessionID=""),"invocationID"in i||(this.invocationID=""),"target"in i||(this.target=new r),"policyRevision"in i||(this.policyRevision=0),"catalogRevision"in i||(this.catalogRevision=0),Object.assign(this,i)}static createFrom(i={}){const t=F;let n=typeof i=="string"?JSON.parse(i):i;return"target"in n&&(n.target=t(n.target)),new f(n)}}class p{name;builtIn;toolCount;constructor(i={}){"name"in i||(this.name=""),"builtIn"in i||(this.builtIn=!1),"toolCount"in i||(this.toolCount=0),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new p(t)}}class b{pluginID;connectionID;constructor(i={}){"pluginID"in i||(this.pluginID=""),"connectionID"in i||(this.connectionID=""),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new b(t)}}class c{enabled;running;endpoint;error;constructor(i={}){"enabled"in i||(this.enabled=!1),"running"in i||(this.running=!1),"endpoint"in i||(this.endpoint=""),"error"in i||(this.error=""),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new c(t)}}class v{enabled;confirm;constructor(i={}){Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new v(t)}}class d{mcpName;pluginID;connectionID;pluginName;name;title;description;scope;status;builtIn;readOnly;listed;ready;destructive;enabled;enabledSource;confirm;confirmSource;overrideEnabled;overrideConfirm;constructor(i={}){"mcpName"in i||(this.mcpName=""),"pluginID"in i||(this.pluginID=""),"connectionID"in i||(this.connectionID=""),"pluginName"in i||(this.pluginName=""),"name"in i||(this.name=""),"title"in i||(this.title=""),"description"in i||(this.description=""),"scope"in i||(this.scope=""),"status"in i||(this.status=""),"builtIn"in i||(this.builtIn=!1),"readOnly"in i||(this.readOnly=!1),"listed"in i||(this.listed=!1),"ready"in i||(this.ready=!1),"destructive"in i||(this.destructive=!1),"enabled"in i||(this.enabled=!1),"enabledSource"in i||(this.enabledSource=""),"confirm"in i||(this.confirm=!1),"confirmSource"in i||(this.confirmSource=""),"overrideEnabled"in i||(this.overrideEnabled=null),"overrideConfirm"in i||(this.overrideConfirm=null),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new d(t)}}const j=s.Array(s.Any),F=r.createFrom,w=Object.freeze(Object.defineProperty({__proto__:null,ConfigView:l,ConfirmationResolved:S,ConnectionPolicyView:o,PendingConfirmation:f,PresetView:p,Scope:b,Status:c,ToolOverride:v,ToolView:d},Symbol.toStringTag,{value:"Module"}));class a{file;line;column;message;constructor(i={}){"file"in i||(this.file=""),"line"in i||(this.line=0),"column"in i||(this.column=0),"message"in i||(this.message=""),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new a(t)}}var D=(e=>(e.$zero="",e.DevProcessStatusIdle="idle",e.DevProcessStatusStarting="starting",e.DevProcessStatusBuilding="building",e.DevProcessStatusRunning="running",e.DevProcessStatusReady="ready",e.DevProcessStatusError="error",e.DevProcessStatusStopped="stopped",e.DevProcessStatusNotApplicable="n/a",e))(D||{});class g{pluginID;errors;constructor(i={}){"pluginID"in i||(this.pluginID=""),"errors"in i||(this.errors=[]),Object.assign(this,i)}static createFrom(i={}){const t=J;let n=typeof i=="string"?JSON.parse(i):i;return"errors"in n&&(n.errors=t(n.errors)),new g(n)}}var y=(e=>(e.$zero="",e.DevServerModeIdle="idle",e.DevServerModeManaged="managed",e))(y||{});class h{pluginID;mode;devPath;vitePort;viteURL;viteStatus;goStatus;lastBuildDuration;lastBuildTime;lastError;grpcConnected;generation;hmrURL;buildStatus;rpcStatus;controllerStatus;ready;constructor(i={}){"pluginID"in i||(this.pluginID=""),"mode"in i||(this.mode=""),"devPath"in i||(this.devPath=""),"vitePort"in i||(this.vitePort=0),"viteURL"in i||(this.viteURL=""),"viteStatus"in i||(this.viteStatus=""),"goStatus"in i||(this.goStatus=""),"lastBuildDuration"in i||(this.lastBuildDuration=N.Duration.$zero),"lastBuildTime"in i||(this.lastBuildTime=""),"lastError"in i||(this.lastError=""),"grpcConnected"in i||(this.grpcConnected=!1),"generation"in i||(this.generation=""),"hmrURL"in i||(this.hmrURL=""),"buildStatus"in i||(this.buildStatus=""),"rpcStatus"in i||(this.rpcStatus=""),"controllerStatus"in i||(this.controllerStatus=""),"ready"in i||(this.ready=!1),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new h(t)}}var I=(e=>(e.$zero="",e.StagePending="pending",e.StageBuilding="building",e.StageReady="ready",e.StageError="error",e.StageStopped="stopped",e.StageNotApplicable="n/a",e))(I||{});let u=class O{timestamp;source;level;message;pluginID;constructor(i={}){"timestamp"in i||(this.timestamp=""),"source"in i||(this.source=""),"level"in i||(this.level=""),"message"in i||(this.message=""),"pluginID"in i||(this.pluginID=""),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new O(t)}};const C=a.createFrom,J=s.Array(C),R=Object.freeze(Object.defineProperty({__proto__:null,BuildError:a,DevProcessStatus:D,DevServerErrorPayload:g,DevServerMode:y,DevServerState:h,LifecycleStage:I,LogEntry:u},Symbol.toStringTag,{value:"Module"}));class m{timestamp;pluginID;source;level;message;constructor(i={}){"timestamp"in i||(this.timestamp=""),"pluginID"in i||(this.pluginID=""),"source"in i||(this.source=""),"level"in i||(this.level=""),"message"in i||(this.message=""),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new m(t)}}const A=Object.freeze(Object.defineProperty({__proto__:null,LogEntry:m},Symbol.toStringTag,{value:"Module"}));exports.BuildError=a;exports.ConfigView=l;exports.ConnectionPolicyView=o;exports.DevProcessStatus=D;exports.DevServerErrorPayload=g;exports.DevServerMode=y;exports.DevServerState=h;exports.LifecycleStage=I;exports.LogEntry=u;exports.LogEntry$1=m;exports.PendingConfirmation=f;exports.PresetView=p;exports.Status=c;exports.ToolView=d;exports.models=R;exports.models$1=w;exports.models$2=A;
@@ -0,0 +1 @@
1
+ "use strict";const a=require("./index-BVi9X4oU.cjs");class ot{connection;constructor(t={}){"connection"in t||(this.connection=""),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new ot(n)}}class ct{address;incarnation;constructor(t={}){"address"in t||(this.address=null),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new ct(n)}}let z=class Ct{label;label_selector;paths;selectors;constructor(t={}){"label"in t||(this.label=""),"label_selector"in t||(this.label_selector=""),"paths"in t||(this.paths=[]),"selectors"in t||(this.selectors={}),Object.assign(this,t)}static createFrom(t={}){const n=W,i=g;let s=typeof t=="string"?JSON.parse(t):t;return"paths"in s&&(s.paths=n(s.paths)),"selectors"in s&&(s.selectors=i(s.selectors)),new Ct(s)}},Et=class Rt{plugin;resource;target_builder;default_command;supports_native_command;constructor(t={}){"plugin"in t||(this.plugin=""),"resource"in t||(this.resource=""),"target_builder"in t||(this.target_builder=new z),"default_command"in t||(this.default_command=[]),"supports_native_command"in t||(this.supports_native_command=!1),Object.assign(this,t)}static createFrom(t={}){const n=Lt,i=W;let s=typeof t=="string"?JSON.parse(t):t;return"target_builder"in s&&(s.target_builder=n(s.target_builder)),"default_command"in s&&(s.default_command=i(s.default_command)),new Rt(s)}};class x{created_at;labels;params;id;command;attached;constructor(t={}){"created_at"in t||(this.created_at="0001-01-01T00:00:00.000Z"),"labels"in t||(this.labels={}),"params"in t||(this.params={}),"id"in t||(this.id=""),"command"in t||(this.command=[]),"attached"in t||(this.attached=!1),Object.assign(this,t)}static createFrom(t={}){const n=g,i=g,s=W;let r=typeof t=="string"?JSON.parse(t):t;return"labels"in r&&(r.labels=n(r.labels)),"params"in r&&(r.params=i(r.params)),"command"in r&&(r.command=s(r.command)),new x(r)}}class B{params;labels;id;resource_plugin;resource_key;resource_data;reference;route;command;tty;constructor(t={}){"params"in t||(this.params={}),"labels"in t||(this.labels={}),"id"in t||(this.id=""),"resource_plugin"in t||(this.resource_plugin=""),"resource_key"in t||(this.resource_key=""),"command"in t||(this.command=[]),"tty"in t||(this.tty=!1),Object.assign(this,t)}static createFrom(t={}){const n=g,i=g,s=Vt,r=Xt,lt=W;let o=typeof t=="string"?JSON.parse(t):t;return"params"in o&&(o.params=n(o.params)),"labels"in o&&(o.labels=i(o.labels)),"reference"in o&&(o.reference=s(o.reference)),"route"in o&&(o.route=r(o.route)),"command"in o&&(o.command=lt(o.command)),new B(o)}}const W=a.Array(a.Any),g=a.Map(a.Any,a.Any),Lt=z.createFrom,Mt=ct.createFrom,Vt=a.Nullable(Mt),Yt=ot.createFrom,Xt=a.Nullable(Yt),Kt=Object.freeze(Object.defineProperty({__proto__:null,ActionTargetBuilder:z,Handler:Et,Session:x,SessionOptions:B},Symbol.toStringTag,{value:"Module"}));class U{resource_id;connection_id;constructor(t={}){"resource_id"in t||(this.resource_id=""),"connection_id"in t||(this.connection_id=""),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new U(n)}}var dt=(e=>(e.$zero="",e.PortForwardConnectionTypeResource="RESOURCE",e.PortForwardConnectionTypeStatic="STATIC",e))(dt||{}),pt=(e=>(e.$zero="",e.PortForwardProtocolTCP="TCP",e.PortForwardProtocolUDP="UDP",e))(pt||{});class D{created_at;updated_at;connection;labels;id;protocol;state;connection_type;encryption;local_port;remote_port;constructor(t={}){"created_at"in t||(this.created_at="0001-01-01T00:00:00.000Z"),"updated_at"in t||(this.updated_at="0001-01-01T00:00:00.000Z"),"connection"in t||(this.connection=null),"labels"in t||(this.labels={}),"id"in t||(this.id=""),"protocol"in t||(this.protocol=""),"state"in t||(this.state=""),"connection_type"in t||(this.connection_type=""),"encryption"in t||(this.encryption=new c),"local_port"in t||(this.local_port=0),"remote_port"in t||(this.remote_port=0),Object.assign(this,t)}static createFrom(t={}){const n=Qt,i=$t;let s=typeof t=="string"?JSON.parse(t):t;return"labels"in s&&(s.labels=n(s.labels)),"encryption"in s&&(s.encryption=i(s.encryption)),new D(s)}}class c{algorithm;key;enabled;constructor(t={}){"algorithm"in t||(this.algorithm=""),"key"in t||(this.key=""),"enabled"in t||(this.enabled=!1),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new c(n)}}var ft=(e=>(e.$zero="",e.SessionStateActive="ACTIVE",e.SessionStatePaused="PAUSED",e.SessionStateStopped="STOPPED",e.SessionStateFailed="FAILED",e))(ft||{});const Qt=a.Map(a.Any,a.Any),$t=c.createFrom,te=Object.freeze(Object.defineProperty({__proto__:null,FindPortForwardSessionRequest:U,PortForwardConnectionType:dt,PortForwardProtocol:pt,PortForwardSession:D,PortForwardSessionEncryption:c,SessionState:ft},Symbol.toStringTag,{value:"Module"}));class H{id;name;description;icon_url;category;tags;license;official;featured;download_count;average_rating;review_count;repository;url;publisher_name;installed;installed_version;latest_version;update_available;constructor(t={}){"id"in t||(this.id=""),"name"in t||(this.name=""),"description"in t||(this.description=""),"icon_url"in t||(this.icon_url=""),"category"in t||(this.category=""),"tags"in t||(this.tags=[]),"license"in t||(this.license=""),"official"in t||(this.official=!1),"featured"in t||(this.featured=!1),"download_count"in t||(this.download_count=0),"average_rating"in t||(this.average_rating=0),"review_count"in t||(this.review_count=0),"repository"in t||(this.repository=""),"url"in t||(this.url=""),"publisher_name"in t||(this.publisher_name=""),"installed"in t||(this.installed=!1),"installed_version"in t||(this.installed_version=""),"latest_version"in t||(this.latest_version=""),"update_available"in t||(this.update_available=!1),Object.assign(this,t)}static createFrom(t={}){const n=kt;let i=typeof t=="string"?JSON.parse(t):t;return"tags"in i&&(i.tags=n(i.tags)),new H(i)}}class q{date;count;constructor(t={}){"date"in t||(this.date=""),"count"in t||(this.count=0),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new q(n)}}class G{total;last_month;last_week;daily_stats;constructor(t={}){"total"in t||(this.total=0),"last_month"in t||(this.last_month=0),"last_week"in t||(this.last_week=0),"daily_stats"in t||(this.daily_stats=[]),Object.assign(this,t)}static createFrom(t={}){const n=ie;let i=typeof t=="string"?JSON.parse(t):t;return"daily_stats"in i&&(i.daily_stats=n(i.daily_stats)),new G(i)}}class Z{id;user_id;rating;title;body;created_at;constructor(t={}){"id"in t||(this.id=""),"user_id"in t||(this.user_id=0),"rating"in t||(this.rating=0),"title"in t||(this.title=""),"body"in t||(this.body=""),"created_at"in t||(this.created_at=""),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new Z(n)}}class L{version;description;changelog;min_ide_version;max_ide_version;capabilities;created_at;constructor(t={}){"version"in t||(this.version=""),"description"in t||(this.description=""),"changelog"in t||(this.changelog=""),"min_ide_version"in t||(this.min_ide_version=""),"max_ide_version"in t||(this.max_ide_version=""),"capabilities"in t||(this.capabilities=[]),"created_at"in t||(this.created_at=""),Object.assign(this,t)}static createFrom(t={}){const n=kt;let i=typeof t=="string"?JSON.parse(t):t;return"capabilities"in i&&(i.capabilities=n(i.capabilities)),new L(i)}}const kt=a.Array(a.Any),ee=q.createFrom,ie=a.Array(ee),ne=Object.freeze(Object.defineProperty({__proto__:null,AvailablePlugin:H,DailyStat:q,DownloadStats:G,Review:Z,VersionInfo:L},Symbol.toStringTag,{value:"Module"}));class _{name;email;url;constructor(t={}){"name"in t||(this.name=""),"email"in t||(this.email=""),"url"in t||(this.url=""),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new _(n)}}var ht=(e=>(e.$zero="",e.PluginComponentAreaEditor="EDITOR",e.PluginComponentAreaSidebar="SIDEBAR",e))(ht||{});class d{resource;constructor(t={}){"resource"in t||(this.resource=[]),Object.assign(this,t)}static createFrom(t={}){const n=ae;let i=typeof t=="string"?JSON.parse(t):t;return"resource"in i&&(i.resource=n(i.resource)),new d(i)}}class y{name;email;constructor(t={}){"name"in t||(this.name=""),"email"in t||(this.email=""),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new y(n)}}class p{id;version;name;icon;icon_url;description;repository;website;category;license;author;maintainers;tags;dependencies;capabilities;theme;components;schema_version;sdk_protocol_version;state_isolation;constructor(t={}){"id"in t||(this.id=""),"version"in t||(this.version=""),"name"in t||(this.name=""),"icon"in t||(this.icon=""),"icon_url"in t||(this.icon_url=""),"description"in t||(this.description=""),"repository"in t||(this.repository=""),"website"in t||(this.website=""),"category"in t||(this.category=""),"license"in t||(this.license=""),"maintainers"in t||(this.maintainers=[]),"tags"in t||(this.tags=[]),"dependencies"in t||(this.dependencies=[]),"capabilities"in t||(this.capabilities=[]),"theme"in t||(this.theme=new f),"components"in t||(this.components=new d),"schema_version"in t||(this.schema_version=0),"sdk_protocol_version"in t||(this.sdk_protocol_version=0),Object.assign(this,t)}static createFrom(t={}){const n=le,i=ce,s=k,r=k,lt=k,o=de,Gt=pe,Zt=he;let l=typeof t=="string"?JSON.parse(t):t;return"author"in l&&(l.author=n(l.author)),"maintainers"in l&&(l.maintainers=i(l.maintainers)),"tags"in l&&(l.tags=s(l.tags)),"dependencies"in l&&(l.dependencies=r(l.dependencies)),"capabilities"in l&&(l.capabilities=lt(l.capabilities)),"theme"in l&&(l.theme=o(l.theme)),"components"in l&&(l.components=Gt(l.components)),"state_isolation"in l&&(l.state_isolation=Zt(l.state_isolation)),new p(l)}}class b{name;plugin;area;resources;extension;constructor(t={}){"name"in t||(this.name=""),"plugin"in t||(this.plugin=""),"area"in t||(this.area=""),"resources"in t||(this.resources=[]),"extension"in t||(this.extension=""),Object.assign(this,t)}static createFrom(t={}){const n=k;let i=typeof t=="string"?JSON.parse(t):t;return"resources"in i&&(i.resources=n(i.resources)),new b(i)}}class f{colors;constructor(t={}){"colors"in t||(this.colors=new h),Object.assign(this,t)}static createFrom(t={}){const n=me;let i=typeof t=="string"?JSON.parse(t):t;return"colors"in i&&(i.colors=n(i.colors)),new f(i)}}class h{primary;secondary;tertiary;constructor(t={}){"primary"in t||(this.primary=""),"secondary"in t||(this.secondary=""),"tertiary"in t||(this.tertiary=""),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new h(n)}}class S{schema_version;capability;sdk_module;sdk_revision;sdk_source_sha256;binary_sha256;constructor(t={}){"schema_version"in t||(this.schema_version=0),"capability"in t||(this.capability=""),"sdk_module"in t||(this.sdk_module=""),"sdk_revision"in t||(this.sdk_revision=""),"binary_sha256"in t||(this.binary_sha256=""),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new S(n)}}const se=b.createFrom,ae=a.Array(se),re=_.createFrom,le=a.Nullable(re),oe=y.createFrom,ce=a.Array(oe),k=a.Array(a.Any),de=f.createFrom,pe=d.createFrom,fe=S.createFrom,he=a.Nullable(fe),me=h.createFrom,ge=Object.freeze(Object.defineProperty({__proto__:null,PluginAuthor:_,PluginComponentArea:ht,PluginComponents:d,PluginMaintainer:y,PluginMeta:p,PluginResourceComponent:b,PluginTheme:f,PluginThemeColors:h,StateIsolationProvenance:S},Symbol.toStringTag,{value:"Module"}));var F=(e=>(e[e.$zero=0]="$zero",e[e.minDuration=-9223372036854776e3]="minDuration",e[e.maxDuration=9223372036854776e3]="maxDuration",e[e.Nanosecond=1]="Nanosecond",e[e.Microsecond=1e3]="Microsecond",e[e.Millisecond=1e6]="Millisecond",e[e.Second=1e9]="Second",e[e.Minute=6e10]="Minute",e[e.Hour=36e11]="Hour",e))(F||{});const _e=Object.freeze(Object.defineProperty({__proto__:null,Duration:F},Symbol.toStringTag,{value:"Module"}));var zt=(e=>(e.$zero="",e.CapabilityResource="resource",e.CapabilityExec="exec",e.CapabilityNetworker="networker",e.CapabilityLog="log",e.CapabilityMetric="metric",e.CapabilitySettings="settings",e.CapabilityTools="tools",e.CapabilityUI="ui",e))(zt||{});class M{last_refresh;data;labels;lifecycle;id;uid;name;description;avatar;expiry_time;Client;constructor(t={}){"last_refresh"in t||(this.last_refresh="0001-01-01T00:00:00.000Z"),"data"in t||(this.data={}),"labels"in t||(this.labels={}),"lifecycle"in t||(this.lifecycle=new O),"id"in t||(this.id=""),"uid"in t||(this.uid=""),"name"in t||(this.name=""),"description"in t||(this.description=""),"avatar"in t||(this.avatar=""),"expiry_time"in t||(this.expiry_time=F.$zero),"Client"in t||(this.Client=null),Object.assign(this,t)}static createFrom(t={}){const n=It,i=It,s=ye;let r=typeof t=="string"?JSON.parse(t):t;return"data"in r&&(r.data=n(r.data)),"labels"in r&&(r.labels=i(r.labels)),"lifecycle"in r&&(r.lifecycle=s(r.lifecycle)),new M(r)}}class V{enabled;triggers;retry;constructor(t={}){"enabled"in t||(this.enabled=!1),"triggers"in t||(this.triggers=[]),"retry"in t||(this.retry=""),Object.assign(this,t)}static createFrom(t={}){const n=be;let i=typeof t=="string"?JSON.parse(t):t;return"triggers"in i&&(i.triggers=n(i.triggers)),new V(i)}}var xt=(e=>(e.$zero="",e.ConnectionAutoConnectRetryNone="NONE",e.ConnectionAutoConnectRetryOnChange="ON_CHANGE",e))(xt||{}),Bt=(e=>(e.$zero="",e.ConnectionAutoConnectTriggerPluginStart="PLUGIN_START",e.ConnectionAutoConnectTriggerConnectionDiscovered="CONNECTION_DISCOVERED",e))(Bt||{});class O{auto_connect;constructor(t={}){Object.assign(this,t)}static createFrom(t={}){const n=Fe;let i=typeof t=="string"?JSON.parse(t):t;return"auto_connect"in i&&(i.auto_connect=n(i.auto_connect)),new O(i)}}class mt{connection;status;error;details;constructor(t={}){"connection"in t||(this.connection=null),"status"in t||(this.status=""),"error"in t||(this.error=""),"details"in t||(this.details=""),Object.assign(this,t)}static createFrom(t={}){const n=ue;let i=typeof t=="string"?JSON.parse(t):t;return"connection"in i&&(i.connection=n(i.connection)),new mt(i)}}var Wt=(e=>(e.$zero="",e.ConnectionStatusUnknown="UNKNOWN",e.ConnectionStatusConnected="CONNECTED",e.ConnectionStatusDisconnected="DISCONNECTED",e.ConnectionStatusPending="PENDING",e.ConnectionStatusFailed="FAILED",e.ConnectionStatusError="ERROR",e.ConnectionStatusUnauthorized="UNAUTHORIZED",e.ConnectionStatusForbidden="FORBIDDEN",e.ConnectionStatusBadRequest="BAD_REQUEST",e.ConnectionStatusNotFound="NOT_FOUND",e.ConnectionStatusTimeout="TIMEOUT",e.ConnectionStatusUnavailable="UNAVAILABLE",e.ConnectionStatusRequestEntityTooLarge="REQUEST_ENTITY_TOO_LARGE",e))(Wt||{});class gt{id;metadata;phase;enabled;devMode;devPath;capabilities;lastError;constructor(t={}){"id"in t||(this.id=""),"metadata"in t||(this.metadata=new p),"phase"in t||(this.phase=""),"enabled"in t||(this.enabled=!1),"devMode"in t||(this.devMode=!1),"capabilities"in t||(this.capabilities=[]),Object.assign(this,t)}static createFrom(t={}){const n=we,i=ve;let s=typeof t=="string"?JSON.parse(t):t;return"metadata"in s&&(s.metadata=n(s.metadata)),"capabilities"in s&&(s.capabilities=i(s.capabilities)),new gt(s)}}const It=a.Map(a.Any,a.Any),ye=O.createFrom,be=a.Array(a.Any),Se=V.createFrom,Fe=a.Nullable(Se),Oe=M.createFrom,ue=a.Nullable(Oe),we=p.createFrom,ve=a.Array(a.Any);class Y{settings;id;label;description;icon;constructor(t={}){"settings"in t||(this.settings={}),"id"in t||(this.id=""),"label"in t||(this.label=""),"description"in t||(this.description=""),"icon"in t||(this.icon=""),Object.assign(this,t)}static createFrom(t={}){const n=Ne;let i=typeof t=="string"?JSON.parse(t):t;return"settings"in i&&(i.settings=n(i.settings)),new Y(i)}}class u{id;label;description;type;value;default;options;fileSelection;sensitive;devOnly;requiresRestart;pendingRestart;constructor(t={}){"id"in t||(this.id=""),"label"in t||(this.label=""),"description"in t||(this.description=""),"type"in t||(this.type=""),"value"in t||(this.value=null),"default"in t||(this.default=null),"options"in t||(this.options=[]),"fileSelection"in t||(this.fileSelection=null),"sensitive"in t||(this.sensitive=!1),"devOnly"in t||(this.devOnly=!1),"requiresRestart"in t||(this.requiresRestart=!1),"pendingRestart"in t||(this.pendingRestart=!1),Object.assign(this,t)}static createFrom(t={}){const n=Ae,i=Pe;let s=typeof t=="string"?JSON.parse(t):t;return"options"in s&&(s.options=n(s.options)),"fileSelection"in s&&(s.fileSelection=i(s.fileSelection)),new u(s)}}class w{enabled;allowFolders;extensions;multiple;relative;defaultPath;constructor(t={}){"enabled"in t||(this.enabled=!1),"allowFolders"in t||(this.allowFolders=!1),"extensions"in t||(this.extensions=[]),"multiple"in t||(this.multiple=!1),"relative"in t||(this.relative=!1),"defaultPath"in t||(this.defaultPath=""),Object.assign(this,t)}static createFrom(t={}){const n=Ie;let i=typeof t=="string"?JSON.parse(t):t;return"extensions"in i&&(i.extensions=n(i.extensions)),new w(i)}}class v{label;description;value;constructor(t={}){"label"in t||(this.label=""),"description"in t||(this.description=""),"value"in t||(this.value=null),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new v(n)}}var _t=(e=>(e.$zero="",e.Text="text",e.Select="select",e.MultiSelect="multiselect",e.Integer="integer",e.Float="float",e.Toggle="toggle",e.Color="color",e.DateTime="datetime",e.Password="password",e))(_t||{});class X{valid;code;message;constructor(t={}){"valid"in t||(this.valid=!1),"code"in t||(this.code=""),"message"in t||(this.message=""),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new X(n)}}const Te=u.createFrom,Ne=a.Map(a.Any,Te),je=v.createFrom,Ae=a.Array(je),Je=w.createFrom,Pe=a.Nullable(Je),Ie=a.Array(a.Any),Ce=Object.freeze(Object.defineProperty({__proto__:null,Category:Y,Setting:u,SettingFileSelection:w,SettingOption:v,SettingType:_t,ValidationResult:X},Symbol.toStringTag,{value:"Module"}));class K{plugin;constructor(t={}){"plugin"in t||(this.plugin=""),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new K(n)}}class Q{plugin;resource;area;constructor(t={}){"plugin"in t||(this.plugin=""),"resource"in t||(this.resource=""),"area"in t||(this.area=""),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new Q(n)}}class ${plugin;resource;constructor(t={}){"plugin"in t||(this.plugin=""),"resource"in t||(this.resource=""),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new $(n)}}class tt{owner;name;plugin;resource;area;extension;constructor(t={}){"owner"in t||(this.owner=""),"name"in t||(this.name=""),"plugin"in t||(this.plugin=""),"resource"in t||(this.resource=""),"area"in t||(this.area=""),"extension"in t||(this.extension=""),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new tt(n)}}var yt=(e=>(e.$zero="",e.ResourceComponentAreaSidebar="SIDEBAR",e.ResourceComponentAreaTable="TABLE",e))(yt||{});const Ee=Object.freeze(Object.defineProperty({__proto__:null,GetPluginComponentsInput:K,GetResourceAreaComponentInput:Q,GetResourceComponentsInput:$,ResourceComponent:tt,ResourceComponentArea:yt},Symbol.toStringTag,{value:"Module"}));class T{label;label_selector;paths;selectors;constructor(t={}){"label"in t||(this.label=""),"label_selector"in t||(this.label_selector=""),"paths"in t||(this.paths=[]),"selectors"in t||(this.selectors={}),Object.assign(this,t)}static createFrom(t={}){const n=Re,i=Ft;let s=typeof t=="string"?JSON.parse(t):t;return"paths"in s&&(s.paths=n(s.paths)),"selectors"in s&&(s.selectors=i(s.selectors)),new T(s)}}let Ut=class Dt{plugin;resource;target_builder;constructor(t={}){"plugin"in t||(this.plugin=""),"resource"in t||(this.resource=""),"target_builder"in t||(this.target_builder=new T),Object.assign(this,t)}static createFrom(t={}){const n=ke;let i=typeof t=="string"?JSON.parse(t):t;return"target_builder"in i&&(i.target_builder=n(i.target_builder)),new Dt(i)}};class et{id;plugin_id;connection_id;resource_key;resource_id;options;status;active_sources;created_at;constructor(t={}){"id"in t||(this.id=""),"plugin_id"in t||(this.plugin_id=""),"connection_id"in t||(this.connection_id=""),"resource_key"in t||(this.resource_key=""),"resource_id"in t||(this.resource_id=""),"options"in t||(this.options=new m),"status"in t||(this.status=0),"active_sources"in t||(this.active_sources=[]),"created_at"in t||(this.created_at="0001-01-01T00:00:00.000Z"),Object.assign(this,t)}static createFrom(t={}){const n=ze,i=Be;let s=typeof t=="string"?JSON.parse(t):t;return"options"in s&&(s.options=n(s.options)),"active_sources"in s&&(s.active_sources=i(s.active_sources)),new et(s)}}class m{target;follow;include_previous;include_timestamps;tail_lines;since_seconds;since_time;limit_bytes;include_source_events;params;constructor(t={}){"target"in t||(this.target=""),"follow"in t||(this.follow=!1),"include_previous"in t||(this.include_previous=!1),"include_timestamps"in t||(this.include_timestamps=!1),"tail_lines"in t||(this.tail_lines=0),"since_seconds"in t||(this.since_seconds=0),"limit_bytes"in t||(this.limit_bytes=0),"include_source_events"in t||(this.include_source_events=!1),"params"in t||(this.params={}),Object.assign(this,t)}static createFrom(t={}){const n=Ft;let i=typeof t=="string"?JSON.parse(t):t;return"params"in i&&(i.params=n(i.params)),new m(i)}}var bt=(e=>(e[e.$zero=0]="$zero",e[e.LogSessionStatusActive=0]="LogSessionStatusActive",e[e.LogSessionStatusPaused=1]="LogSessionStatusPaused",e[e.LogSessionStatusClosed=2]="LogSessionStatusClosed",e[e.LogSessionStatusError=3]="LogSessionStatusError",e[e.LogSessionStatusConnecting=4]="LogSessionStatusConnecting",e[e.LogSessionStatusInitializing=5]="LogSessionStatusInitializing",e))(bt||{});class N{id;labels;constructor(t={}){"id"in t||(this.id=""),"labels"in t||(this.labels={}),Object.assign(this,t)}static createFrom(t={}){const n=Ft;let i=typeof t=="string"?JSON.parse(t):t;return"labels"in i&&(i.labels=n(i.labels)),new N(i)}}var St=(e=>(e[e.$zero=0]="$zero",e[e.StreamCommandPause=0]="StreamCommandPause",e[e.StreamCommandResume=1]="StreamCommandResume",e[e.StreamCommandClose=2]="StreamCommandClose",e))(St||{});const Re=a.Array(a.Any),Ft=a.Map(a.Any,a.Any),ke=T.createFrom,ze=m.createFrom,xe=N.createFrom,Be=a.Array(xe),We=Object.freeze(Object.defineProperty({__proto__:null,ActionTargetBuilder:T,Handler:Ut,LogSession:et,LogSessionOptions:m,LogSessionStatus:bt,LogSource:N,LogStreamCommand:St},Symbol.toStringTag,{value:"Module"}));class j{metric_id;min;max;avg;sum;p50;p90;p99;count;window;labels;constructor(t={}){"metric_id"in t||(this.metric_id=""),"min"in t||(this.min=0),"max"in t||(this.max=0),"avg"in t||(this.avg=0),"sum"in t||(this.sum=0),"p50"in t||(this.p50=0),"p90"in t||(this.p90=0),"p99"in t||(this.p99=0),"count"in t||(this.count=0),"window"in t||(this.window=F.$zero),"labels"in t||(this.labels={}),Object.assign(this,t)}static createFrom(t={}){const n=st;let i=typeof t=="string"?JSON.parse(t):t;return"labels"in i&&(i.labels=n(i.labels)),new j(i)}}class A{min;max;color;constructor(t={}){"min"in t||(this.min=0),"max"in t||(this.max=0),"color"in t||(this.color=""),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new A(n)}}class J{metric_id;value;timestamp;labels;constructor(t={}){"metric_id"in t||(this.metric_id=""),"value"in t||(this.value=0),"timestamp"in t||(this.timestamp="0001-01-01T00:00:00.000Z"),"labels"in t||(this.labels={}),Object.assign(this,t)}static createFrom(t={}){const n=st;let i=typeof t=="string"?JSON.parse(t):t;return"labels"in i&&(i.labels=n(i.labels)),new J(i)}}class P{timestamp;value;labels;constructor(t={}){"timestamp"in t||(this.timestamp="0001-01-01T00:00:00.000Z"),"value"in t||(this.value=0),"labels"in t||(this.labels={}),Object.assign(this,t)}static createFrom(t={}){const n=st;let i=typeof t=="string"?JSON.parse(t):t;return"labels"in i&&(i.labels=n(i.labels)),new P(i)}}class it{resource;metrics;constructor(t={}){"resource"in t||(this.resource=""),"metrics"in t||(this.metrics=[]),Object.assign(this,t)}static createFrom(t={}){const n=De;let i=typeof t=="string"?JSON.parse(t):t;return"metrics"in i&&(i.metrics=n(i.metrics)),new it(i)}}class I{id;name;unit;icon;color_ranges;format_string;supported_shapes;chart_group;constructor(t={}){"id"in t||(this.id=""),"name"in t||(this.name=""),"unit"in t||(this.unit=0),"icon"in t||(this.icon=""),"color_ranges"in t||(this.color_ranges=[]),"format_string"in t||(this.format_string=""),"supported_shapes"in t||(this.supported_shapes=[]),"chart_group"in t||(this.chart_group=""),Object.assign(this,t)}static createFrom(t={}){const n=qe,i=Ge;let s=typeof t=="string"?JSON.parse(t):t;return"color_ranges"in s&&(s.color_ranges=n(s.color_ranges)),"supported_shapes"in s&&(s.supported_shapes=i(s.supported_shapes)),new I(s)}}class C{time_series;current_value;aggregate_value;constructor(t={}){Object.assign(this,t)}static createFrom(t={}){const n=Le,i=Ve,s=Xe;let r=typeof t=="string"?JSON.parse(t):t;return"time_series"in r&&(r.time_series=n(r.time_series)),"current_value"in r&&(r.current_value=i(r.current_value)),"aggregate_value"in r&&(r.aggregate_value=s(r.aggregate_value)),new C(r)}}var Ot=(e=>(e[e.$zero=0]="$zero",e[e.ShapeCurrent=0]="ShapeCurrent",e[e.ShapeTimeseries=1]="ShapeTimeseries",e[e.ShapeAggregate=2]="ShapeAggregate",e))(Ot||{}),ut=(e=>(e[e.$zero=0]="$zero",e[e.UnitNone=0]="UnitNone",e[e.UnitBytes=1]="UnitBytes",e[e.UnitKB=2]="UnitKB",e[e.UnitMB=3]="UnitMB",e[e.UnitGB=4]="UnitGB",e[e.UnitPercentage=5]="UnitPercentage",e[e.UnitMillis=6]="UnitMillis",e[e.UnitSeconds=7]="UnitSeconds",e[e.UnitCount=8]="UnitCount",e[e.UnitOpsPerSec=9]="UnitOpsPerSec",e[e.UnitBytesPerSec=10]="UnitBytesPerSec",e[e.UnitMillicores=11]="UnitMillicores",e[e.UnitCores=12]="UnitCores",e))(ut||{});class nt{success;results;error;constructor(t={}){"success"in t||(this.success=!1),"results"in t||(this.results=[]),"error"in t||(this.error=""),Object.assign(this,t)}static createFrom(t={}){const n=Qe;let i=typeof t=="string"?JSON.parse(t):t;return"results"in i&&(i.results=n(i.results)),new nt(i)}}class E{metric_id;data_points;labels;constructor(t={}){"metric_id"in t||(this.metric_id=""),"data_points"in t||(this.data_points=[]),"labels"in t||(this.labels={}),Object.assign(this,t)}static createFrom(t={}){const n=ti,i=st;let s=typeof t=="string"?JSON.parse(t):t;return"data_points"in s&&(s.data_points=n(s.data_points)),"labels"in s&&(s.labels=i(s.labels)),new E(s)}}const st=a.Map(a.Any,a.Any),Ue=I.createFrom,De=a.Array(Ue),He=A.createFrom,qe=a.Array(He),Ge=a.Array(a.Any),Ze=E.createFrom,Le=a.Nullable(Ze),Me=J.createFrom,Ve=a.Nullable(Me),Ye=j.createFrom,Xe=a.Nullable(Ye),Ke=C.createFrom,Qe=a.Array(Ke),$e=P.createFrom,ti=a.Array($e),ei=Object.freeze(Object.defineProperty({__proto__:null,AggregateValue:j,ColorRange:A,CurrentValue:J,DataPoint:P,Handler:it,MetricDescriptor:I,MetricResult:C,MetricShape:Ot,MetricUnit:ut,QueryResponse:nt,TimeSeries:E},Symbol.toStringTag,{value:"Module"}));class wt{sessionId;sourceWindow;dragType;payload;constructor(t={}){"sessionId"in t||(this.sessionId=""),"sourceWindow"in t||(this.sourceWindow=""),"dragType"in t||(this.dragType=""),"payload"in t||(this.payload=""),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new wt(n)}}class vt{sessionId;sourceWindow;dragType;constructor(t={}){"sessionId"in t||(this.sessionId=""),"sourceWindow"in t||(this.sourceWindow=""),"dragType"in t||(this.dragType=""),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new vt(n)}}class Tt{sessionId;constructor(t={}){"sessionId"in t||(this.sessionId=""),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new Tt(n)}}class Nt{sessionId;targetWindow;constructor(t={}){"sessionId"in t||(this.sessionId=""),"targetWindow"in t||(this.targetWindow=""),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new Nt(n)}}class jt{sessionId;targetWindow;payload;clientX;clientY;constructor(t={}){"sessionId"in t||(this.sessionId=""),"targetWindow"in t||(this.targetWindow=""),"payload"in t||(this.payload=""),"clientX"in t||(this.clientX=0),"clientY"in t||(this.clientY=0),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new jt(n)}}class at{accepted;targetWindow;targetInstanceId;constructor(t={}){"accepted"in t||(this.accepted=!1),"targetWindow"in t||(this.targetWindow=""),"targetInstanceId"in t||(this.targetInstanceId=""),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new at(n)}}class R{name;kind;focused;constructor(t={}){"name"in t||(this.name=""),"kind"in t||(this.kind=""),"focused"in t||(this.focused=!1),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new R(n)}}var Ht=(e=>(e.$zero="",e.KindWorkspace="workspace",e.KindPanel="panel",e.KindSettings="settings",e))(Ht||{});class At{kind;initialState;anchorWindow;clientX;clientY;hasPosition;width;height;constructor(t={}){"kind"in t||(this.kind=""),"initialState"in t||(this.initialState={}),"anchorWindow"in t||(this.anchorWindow=""),"clientX"in t||(this.clientX=0),"clientY"in t||(this.clientY=0),"hasPosition"in t||(this.hasPosition=!1),"width"in t||(this.width=0),"height"in t||(this.height=0),Object.assign(this,t)}static createFrom(t={}){const n=qt;let i=typeof t=="string"?JSON.parse(t):t;return"initialState"in i&&(i.initialState=n(i.initialState)),new At(i)}}class rt{requestId;target;visible;constructor(t={}){"requestId"in t||(this.requestId=0),"target"in t||(this.target=""),"visible"in t||(this.visible=!1),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new rt(n)}}class Jt{name;kind;states;constructor(t={}){"name"in t||(this.name=""),"kind"in t||(this.kind=""),"states"in t||(this.states={}),Object.assign(this,t)}static createFrom(t={}){const n=qt;let i=typeof t=="string"?JSON.parse(t):t;return"states"in i&&(i.states=n(i.states)),new Jt(i)}}class Pt{windows;constructor(t={}){"windows"in t||(this.windows=[]),Object.assign(this,t)}static createFrom(t={}){const n=ni;let i=typeof t=="string"?JSON.parse(t):t;return"windows"in i&&(i.windows=n(i.windows)),new Pt(i)}}const qt=a.Map(a.Any,a.Any),ii=R.createFrom,ni=a.Array(ii),si=Object.freeze(Object.defineProperty({__proto__:null,DragBegin:wt,DragBeginEvent:vt,DragEndEvent:Tt,DragLeaveEvent:Nt,DragPointerEvent:jt,DropResult:at,Info:R,Kind:Ht,OpenRequest:At,SettingsState:rt,WindowClosedEvent:Jt,WindowsChangedEvent:Pt},Symbol.toStringTag,{value:"Module"}));exports.ActionTargetBuilder=z;exports.AggregateValue=j;exports.AvailablePlugin=H;exports.Capability=zt;exports.Category=Y;exports.ColorRange=A;exports.Connection=M;exports.ConnectionAutoConnect=V;exports.ConnectionAutoConnectRetry=xt;exports.ConnectionAutoConnectTrigger=Bt;exports.ConnectionLifecycle=O;exports.ConnectionStatus=mt;exports.ConnectionStatusCode=Wt;exports.CurrentValue=J;exports.DataPoint=P;exports.DownloadStats=G;exports.DropResult=at;exports.Duration=F;exports.FindPortForwardSessionRequest=U;exports.GetPluginComponentsInput=K;exports.GetResourceAreaComponentInput=Q;exports.GetResourceComponentsInput=$;exports.Handler=Et;exports.Handler$1=Ut;exports.Handler$2=it;exports.Info=R;exports.LogSession=et;exports.LogSessionOptions=m;exports.LogSessionStatus=bt;exports.LogSource=N;exports.LogStreamCommand=St;exports.MetricDescriptor=I;exports.MetricResult=C;exports.MetricShape=Ot;exports.MetricUnit=ut;exports.PluginAuthor=_;exports.PluginComponentArea=ht;exports.PluginComponents=d;exports.PluginInfo=gt;exports.PluginMaintainer=y;exports.PluginMeta=p;exports.PluginResourceComponent=b;exports.PluginTheme=f;exports.PluginThemeColors=h;exports.PortForwardConnectionType=dt;exports.PortForwardProtocol=pt;exports.PortForwardSession=D;exports.PortForwardSessionEncryption=c;exports.QueryResponse=nt;exports.ResourceComponent=tt;exports.ResourceComponentArea=yt;exports.Review=Z;exports.Session=x;exports.SessionOptions=B;exports.SessionState=ft;exports.Setting=u;exports.SettingFileSelection=w;exports.SettingOption=v;exports.SettingType=_t;exports.SettingsState=rt;exports.StateIsolationProvenance=S;exports.TimeSeries=E;exports.ValidationResult=X;exports.VersionInfo=L;exports.models=ge;exports.models$1=Kt;exports.models$2=We;exports.models$3=ei;exports.models$4=te;exports.models$5=ne;exports.models$6=Ce;exports.models$7=_e;exports.models$8=Ee;exports.models$9=si;
@@ -50,9 +50,14 @@ let Y = class vt {
50
50
  resource;
51
51
  target_builder;
52
52
  default_command;
53
+ /**
54
+ * SupportsNativeCommand advertises planning support in remote metadata.
55
+ * Local support is determined by NativeCommandHandler, not this flag.
56
+ */
57
+ supports_native_command;
53
58
  /** Creates a new Handler instance. */
54
59
  constructor(t = {}) {
55
- "plugin" in t || (this.plugin = ""), "resource" in t || (this.resource = ""), "target_builder" in t || (this.target_builder = new Y()), "default_command" in t || (this.default_command = []), Object.assign(this, t);
60
+ "plugin" in t || (this.plugin = ""), "resource" in t || (this.resource = ""), "target_builder" in t || (this.target_builder = new Y()), "default_command" in t || (this.default_command = []), "supports_native_command" in t || (this.supports_native_command = !1), Object.assign(this, t);
56
61
  }
57
62
  /**
58
63
  * Creates a new Handler instance from a string or object.
package/dist/models.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./index-BVi9X4oU.cjs"),e=require("./models-BJZVpONm.cjs"),s=require("./graph-wHun0Bkz.cjs"),n=require("./models-B8VGD21U.cjs");class a{defaultDirectory;defaultFilename;title;filters;showHiddenFiles;canCreateDirectories;resolvesAliases;treatPackagesAsDirectories;constructor(t={}){"defaultDirectory"in t||(this.defaultDirectory=""),"defaultFilename"in t||(this.defaultFilename=""),"title"in t||(this.title=""),"filters"in t||(this.filters=[]),"showHiddenFiles"in t||(this.showHiddenFiles=!1),"canCreateDirectories"in t||(this.canCreateDirectories=!1),"resolvesAliases"in t||(this.resolvesAliases=!1),"treatPackagesAsDirectories"in t||(this.treatPackagesAsDirectories=!1),Object.assign(this,t)}static createFrom(t={}){const o=d;let i=typeof t=="string"?JSON.parse(t):t;return"filters"in i&&(i.filters=o(i.filters)),new a(i)}}class r{displayName;pattern;constructor(t={}){"displayName"in t||(this.displayName=""),"pattern"in t||(this.pattern=""),Object.assign(this,t)}static createFrom(t={}){let o=typeof t=="string"?JSON.parse(t):t;return new r(o)}}const S=r.createFrom,d=C.Array(S);function p(c,t){const o={...c};for(const[i,g]of Object.entries(c)){if(i==="$zero"||!i.startsWith(t))continue;const u=i.slice(t.length).replace(/([a-z0-9])([A-Z])/g,"$1_$2").toUpperCase();u&&(o[u]=g)}return o}const m=p(e.ConnectionStatusCode,"ConnectionStatus"),y=Object.freeze(Object.defineProperty({__proto__:null,Connection:e.Connection,ConnectionAutoConnect:e.ConnectionAutoConnect,ConnectionAutoConnectRetry:e.ConnectionAutoConnectRetry,ConnectionAutoConnectTrigger:e.ConnectionAutoConnectTrigger,ConnectionLifecycle:e.ConnectionLifecycle,ConnectionStatus:e.ConnectionStatus,ConnectionStatusCode:m,PluginCapability:e.Capability,PluginInfo:e.PluginInfo},Symbol.toStringTag,{value:"Module"}));class l{filename;contents;constructor(t={}){"filename"in t||(this.filename=""),"contents"in t||(this.contents=""),Object.assign(this,t)}static createFrom(t={}){let o=typeof t=="string"?JSON.parse(t):t;return new l(o)}}const f=Object.freeze(Object.defineProperty({__proto__:null,GetLanguageInput:l},Symbol.toStringTag,{value:"Module"}));exports.ActionTargetBuilder=e.ActionTargetBuilder;exports.AggregateValue=e.AggregateValue;exports.Category=e.Category;exports.ColorRange=e.ColorRange;exports.Connection=e.Connection;exports.ConnectionAutoConnect=e.ConnectionAutoConnect;exports.ConnectionAutoConnectRetry=e.ConnectionAutoConnectRetry;exports.ConnectionAutoConnectTrigger=e.ConnectionAutoConnectTrigger;exports.ConnectionLifecycle=e.ConnectionLifecycle;exports.ConnectionStatus=e.ConnectionStatus;exports.ConnectionStatusCode=e.ConnectionStatusCode;exports.CurrentValue=e.CurrentValue;exports.DataPoint=e.DataPoint;exports.FindPortForwardSessionRequest=e.FindPortForwardSessionRequest;exports.GetPluginComponentsInput=e.GetPluginComponentsInput;exports.GetResourceAreaComponentInput=e.GetResourceAreaComponentInput;exports.GetResourceComponentsInput=e.GetResourceComponentsInput;exports.Handler=e.Handler;exports.LogSession=e.LogSession;exports.LogSessionOptions=e.LogSessionOptions;exports.LogSessionStatus=e.LogSessionStatus;exports.LogSource=e.LogSource;exports.LogStreamCommand=e.LogStreamCommand;exports.MetricDescriptor=e.MetricDescriptor;exports.MetricResult=e.MetricResult;exports.MetricShape=e.MetricShape;exports.MetricUnit=e.MetricUnit;exports.PluginAuthor=e.PluginAuthor;exports.PluginCapability=e.Capability;exports.PluginComponentArea=e.PluginComponentArea;exports.PluginComponents=e.PluginComponents;exports.PluginInfo=e.PluginInfo;exports.PluginMaintainer=e.PluginMaintainer;exports.PluginMeta=e.PluginMeta;exports.PluginResourceComponent=e.PluginResourceComponent;exports.PluginTheme=e.PluginTheme;exports.PluginThemeColors=e.PluginThemeColors;exports.PortForwardConnectionType=e.PortForwardConnectionType;exports.PortForwardProtocol=e.PortForwardProtocol;exports.PortForwardSession=e.PortForwardSession;exports.PortForwardSessionEncryption=e.PortForwardSessionEncryption;exports.QueryResponse=e.QueryResponse;exports.ResourceComponent=e.ResourceComponent;exports.ResourceComponentArea=e.ResourceComponentArea;exports.Session=e.Session;exports.SessionOptions=e.SessionOptions;exports.SessionState=e.SessionState;exports.Setting=e.Setting;exports.SettingFileSelection=e.SettingFileSelection;exports.SettingOption=e.SettingOption;exports.SettingType=e.SettingType;exports.StateIsolationProvenance=e.StateIsolationProvenance;exports.TimeSeries=e.TimeSeries;exports.ValidationResult=e.ValidationResult;exports.config=e.models;exports.exec=e.models$1;exports.logs=e.models$2;exports.metric=e.models$3;exports.networker=e.models$4;exports.registry=e.models$5;exports.settings=e.models$6;exports.time=e.models$7;exports.ui=e.models$8;exports.window=e.models$9;exports.SyncPolicy=s.SyncPolicy;exports.WatchState=s.WatchState;exports.sameGraphNode=s.sameGraphNode;exports.BuildError=n.BuildError;exports.DevProcessStatus=n.DevProcessStatus;exports.DevServerErrorPayload=n.DevServerErrorPayload;exports.DevServerLogEntry=n.LogEntry;exports.DevServerMode=n.DevServerMode;exports.DevServerState=n.DevServerState;exports.LifecycleStage=n.LifecycleStage;exports.PluginLogEntry=n.LogEntry$1;exports.devserver=n.models;exports.mcprelay=n.models$1;exports.pluginlog=n.models$2;exports.FileDialogOptions=a;exports.FileFilter=r;exports.types=y;exports.utils=f;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./index-BVi9X4oU.cjs"),e=require("./models-D5pkScnE.cjs"),s=require("./graph-wHun0Bkz.cjs"),n=require("./models-C-3HYV9E.cjs");class a{defaultDirectory;defaultFilename;title;filters;showHiddenFiles;canCreateDirectories;resolvesAliases;treatPackagesAsDirectories;constructor(t={}){"defaultDirectory"in t||(this.defaultDirectory=""),"defaultFilename"in t||(this.defaultFilename=""),"title"in t||(this.title=""),"filters"in t||(this.filters=[]),"showHiddenFiles"in t||(this.showHiddenFiles=!1),"canCreateDirectories"in t||(this.canCreateDirectories=!1),"resolvesAliases"in t||(this.resolvesAliases=!1),"treatPackagesAsDirectories"in t||(this.treatPackagesAsDirectories=!1),Object.assign(this,t)}static createFrom(t={}){const o=d;let i=typeof t=="string"?JSON.parse(t):t;return"filters"in i&&(i.filters=o(i.filters)),new a(i)}}class r{displayName;pattern;constructor(t={}){"displayName"in t||(this.displayName=""),"pattern"in t||(this.pattern=""),Object.assign(this,t)}static createFrom(t={}){let o=typeof t=="string"?JSON.parse(t):t;return new r(o)}}const S=r.createFrom,d=C.Array(S);function p(c,t){const o={...c};for(const[i,g]of Object.entries(c)){if(i==="$zero"||!i.startsWith(t))continue;const u=i.slice(t.length).replace(/([a-z0-9])([A-Z])/g,"$1_$2").toUpperCase();u&&(o[u]=g)}return o}const m=p(e.ConnectionStatusCode,"ConnectionStatus"),y=Object.freeze(Object.defineProperty({__proto__:null,Connection:e.Connection,ConnectionAutoConnect:e.ConnectionAutoConnect,ConnectionAutoConnectRetry:e.ConnectionAutoConnectRetry,ConnectionAutoConnectTrigger:e.ConnectionAutoConnectTrigger,ConnectionLifecycle:e.ConnectionLifecycle,ConnectionStatus:e.ConnectionStatus,ConnectionStatusCode:m,PluginCapability:e.Capability,PluginInfo:e.PluginInfo},Symbol.toStringTag,{value:"Module"}));class l{filename;contents;constructor(t={}){"filename"in t||(this.filename=""),"contents"in t||(this.contents=""),Object.assign(this,t)}static createFrom(t={}){let o=typeof t=="string"?JSON.parse(t):t;return new l(o)}}const f=Object.freeze(Object.defineProperty({__proto__:null,GetLanguageInput:l},Symbol.toStringTag,{value:"Module"}));exports.ActionTargetBuilder=e.ActionTargetBuilder;exports.AggregateValue=e.AggregateValue;exports.Category=e.Category;exports.ColorRange=e.ColorRange;exports.Connection=e.Connection;exports.ConnectionAutoConnect=e.ConnectionAutoConnect;exports.ConnectionAutoConnectRetry=e.ConnectionAutoConnectRetry;exports.ConnectionAutoConnectTrigger=e.ConnectionAutoConnectTrigger;exports.ConnectionLifecycle=e.ConnectionLifecycle;exports.ConnectionStatus=e.ConnectionStatus;exports.ConnectionStatusCode=e.ConnectionStatusCode;exports.CurrentValue=e.CurrentValue;exports.DataPoint=e.DataPoint;exports.FindPortForwardSessionRequest=e.FindPortForwardSessionRequest;exports.GetPluginComponentsInput=e.GetPluginComponentsInput;exports.GetResourceAreaComponentInput=e.GetResourceAreaComponentInput;exports.GetResourceComponentsInput=e.GetResourceComponentsInput;exports.Handler=e.Handler;exports.LogSession=e.LogSession;exports.LogSessionOptions=e.LogSessionOptions;exports.LogSessionStatus=e.LogSessionStatus;exports.LogSource=e.LogSource;exports.LogStreamCommand=e.LogStreamCommand;exports.MetricDescriptor=e.MetricDescriptor;exports.MetricResult=e.MetricResult;exports.MetricShape=e.MetricShape;exports.MetricUnit=e.MetricUnit;exports.PluginAuthor=e.PluginAuthor;exports.PluginCapability=e.Capability;exports.PluginComponentArea=e.PluginComponentArea;exports.PluginComponents=e.PluginComponents;exports.PluginInfo=e.PluginInfo;exports.PluginMaintainer=e.PluginMaintainer;exports.PluginMeta=e.PluginMeta;exports.PluginResourceComponent=e.PluginResourceComponent;exports.PluginTheme=e.PluginTheme;exports.PluginThemeColors=e.PluginThemeColors;exports.PortForwardConnectionType=e.PortForwardConnectionType;exports.PortForwardProtocol=e.PortForwardProtocol;exports.PortForwardSession=e.PortForwardSession;exports.PortForwardSessionEncryption=e.PortForwardSessionEncryption;exports.QueryResponse=e.QueryResponse;exports.ResourceComponent=e.ResourceComponent;exports.ResourceComponentArea=e.ResourceComponentArea;exports.Session=e.Session;exports.SessionOptions=e.SessionOptions;exports.SessionState=e.SessionState;exports.Setting=e.Setting;exports.SettingFileSelection=e.SettingFileSelection;exports.SettingOption=e.SettingOption;exports.SettingType=e.SettingType;exports.StateIsolationProvenance=e.StateIsolationProvenance;exports.TimeSeries=e.TimeSeries;exports.ValidationResult=e.ValidationResult;exports.config=e.models;exports.exec=e.models$1;exports.logs=e.models$2;exports.metric=e.models$3;exports.networker=e.models$4;exports.registry=e.models$5;exports.settings=e.models$6;exports.time=e.models$7;exports.ui=e.models$8;exports.window=e.models$9;exports.SyncPolicy=s.SyncPolicy;exports.WatchState=s.WatchState;exports.sameGraphNode=s.sameGraphNode;exports.BuildError=n.BuildError;exports.DevProcessStatus=n.DevProcessStatus;exports.DevServerErrorPayload=n.DevServerErrorPayload;exports.DevServerLogEntry=n.LogEntry;exports.DevServerMode=n.DevServerMode;exports.DevServerState=n.DevServerState;exports.LifecycleStage=n.LifecycleStage;exports.PluginLogEntry=n.LogEntry$1;exports.devserver=n.models;exports.mcprelay=n.models$1;exports.pluginlog=n.models$2;exports.FileDialogOptions=a;exports.FileFilter=r;exports.types=y;exports.utils=f;
package/dist/models.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { A as c } from "./index-zyAgCXOO.js";
2
- import { l as g, d as p, m as f, n as u, o as S, p as d, C as m, q as y, c as C } from "./models-BlxGoC2X.js";
3
- import { r as T, s as R, e as M, t as N, u as j, v as _, F as E, G as x, w as z, x as G, H, L as I, y as k, z as B, B as J, E as W, M as U, J as V, K as q, N as Q, O as Z, T as K, U as X, W as Y, P as $, X as ee, Y as te, Z as ae, _ as se, $ as ie, b as ne, a0 as oe, Q as re, g as le, a1 as ce, a as ge, S as pe, a2 as fe, a3 as ue, a4 as Se, a5 as de, a6 as me, a7 as ye, a8 as Ce, f as Pe, a9 as he, aa as ve, ab as Fe, ac as Ae, ad as De, ae as we, af as be, ag as Oe, ah as Le, ai as Te } from "./models-BlxGoC2X.js";
2
+ import { l as g, d as p, m as f, n as u, o as S, p as d, C as m, q as y, c as C } from "./models-DNQykdGx.js";
3
+ import { r as T, s as R, e as M, t as N, u as j, v as _, F as E, G as x, w as z, x as G, H, L as I, y as k, z as B, B as J, E as W, M as U, J as V, K as q, N as Q, O as Z, T as K, U as X, W as Y, P as $, X as ee, Y as te, Z as ae, _ as se, $ as ie, b as ne, a0 as oe, Q as re, g as le, a1 as ce, a as ge, S as pe, a2 as fe, a3 as ue, a4 as Se, a5 as de, a6 as me, a7 as ye, a8 as Ce, f as Pe, a9 as he, aa as ve, ab as Fe, ac as Ae, ad as De, ae as we, af as be, ag as Oe, ah as Le, ai as Te } from "./models-DNQykdGx.js";
4
4
  import { S as Me, W as Ne, s as je } from "./graph-JDqyJC_i.js";
5
- import { B as Ee, d as xe, e as ze, L as Ge, f as He, D as Ie, g as ke, c as Be, m as Je, h as We, i as Ue } from "./models-ddVn9pLv.js";
5
+ import { B as Ee, d as xe, e as ze, L as Ge, f as He, D as Ie, g as ke, c as Be, m as Je, h as We, i as Ue } from "./models-BlRe-e25.js";
6
6
  class r {
7
7
  defaultDirectory;
8
8
  defaultFilename;
@@ -0,0 +1 @@
1
+ "use strict";const o=require("./index-BVi9X4oU.cjs"),u=require("./models-D5pkScnE.cjs"),n=require("./calls-B-HP1Icv.cjs");function p(e,t=[]){let l=0;for(const s of t){if(s.length>65536)throw new RangeError("Request routing byte limit");l+=new TextEncoder().encode(JSON.stringify(s)).length+1}if(l>57344)throw new RangeError("Request routing byte limit");let _=0,N=2,rt=0,M=0;const L=[],f=s=>{for(let y=0;y<s.length;y++){const a=s.charCodeAt(y);let h=a<128?1:a<2048?2:3;if(a>=55296&&a<=56319){const g=s.charCodeAt(++y);if(!(g>=56320&&g<=57343))throw new TypeError("Invalid Unicode");h=4}else if(a>=56320&&a<=57343)throw new TypeError("Invalid Unicode");if(_+=h,N+=a===34||a===92?2:h,_>33554432||N>67043328)throw new RangeError("Request JSON byte limit")}L.push(s)},j=s=>{if(s.length>33554432)throw new RangeError("Request JSON byte limit");for(let y=0;y<s.length;y++){const a=s.charCodeAt(y);if(a>=55296&&a<=56319){const h=s.charCodeAt(++y);if(!(h>=56320&&h<=57343))throw new TypeError("Invalid Unicode")}else if(a>=56320&&a<=57343)throw new TypeError("Invalid Unicode")}f(JSON.stringify(s))},b=(s,y)=>{if(++rt>262144||y>64)throw new RangeError("Request JSON structural limit");if(s===null){f("null");return}if(typeof s=="string"){j(s);return}if(typeof s=="boolean"){f(s?"true":"false");return}if(typeof s=="number"){if(!Number.isFinite(s))throw new TypeError("Request numbers must be finite");f(Object.is(s,-0)?"-0":JSON.stringify(s));return}if(Array.isArray(s)){f("[");for(let a=0;a<s.length;a++){if(++M>1048576)throw new RangeError("Request JSON field limit");a&&f(","),b(s[a],y+1)}f("]");return}if(typeof s=="object"){f("{");let a=!0;for(const[h,g]of Object.entries(s))if(g!==void 0){if(++M>1048576)throw new RangeError("Request JSON field limit");a||f(","),a=!1,j(h),f(":"),b(g,y+1)}f("}");return}throw new TypeError("Unsupported request JSON value")};return b(e,0),L.join("")}function ot(e){return n.ByID(93318075,e).then(t=>(t[0]=d(t[0]),t[1]=o.ByteSlice(t[1]),t))}function it(e){return n.ByID(1353297556,e)}function ct(e){return n.ByID(4182196712,e).then(t=>d(t))}function st(e){return n.ByID(3993344525,e).then(t=>d(t))}function k(e,t){return n.ByID(1779192716,e,t).then(r=>dt(r))}function ut(){return n.ByID(4033362541).then(e=>$t(e))}function E(){return n.ByID(3434119522)}function at(e){return n.ByID(2619212338,e).then(t=>H(t))}function lt(e){return n.ByID(1371268636,e).then(t=>d(t))}function yt(e){return n.ByID(3881019319,e)}function pt(){return n.ByID(3006426324).then(e=>mt(e))}function ft(){return n.ByID(265791345).then(e=>Bt(e))}function ht(e,t,r){return n.ByID(1492965384,e,t,r)}function St(e,t){return n.ByID(486465741,e,t)}const gt=u.Session.createFrom,d=o.Nullable(gt),W=u.Handler.createFrom,dt=o.Nullable(W),H=o.Map(o.Any,W),$t=o.Map(o.Any,H),mt=o.Array(o.Any),Bt=o.Array(d);function J(e,t,r){return n.ByName("github.com/omniviewdev/omniview/backend/pkg/plugin/exec.ServiceWrapper.CreateSession",e,t,p(r,[e,t])).then(c=>c===null?null:u.Session.createFrom(c))}function q(e,t,r){return n.ByName("github.com/omniviewdev/omniview/backend/pkg/plugin/exec.ServiceWrapper.OpenNativeSession",e,t,p(r,[e,t]))}const Dt=Object.freeze(Object.defineProperty({__proto__:null,AttachSession:ot,CloseSession:it,CreateSession:J,CreateTerminal:ct,DetachSession:st,GetHandler:k,GetHandlers:ut,GetNativeTerminalSupport:E,GetPluginHandlers:at,GetSession:lt,HasPlugin:yt,ListPlugins:pt,ListSessions:ft,OpenNativeSession:q,ResizeSession:ht,WriteSession:St},Symbol.toStringTag,{value:"Module"}));function z(e){return n.ByID(182596922,e).then(t=>P(t))}function U(e,t,r){return n.ByID(981100722,e,t,r).then(c=>R(c))}function It(e){return n.ByID(2157304970,e).then(t=>P(t))}function bt(e){return n.ByID(650882,e).then(t=>V(t))}function Pt(e){return n.ByID(3624690437,e)}function x(){return n.ByID(2195697754).then(e=>R(e))}function Rt(){return n.ByID(167463150).then(e=>V(e))}function Tt(e,t){return n.ByID(2090415403,e,t).then(r=>R(r))}const Ct=u.PortForwardSession.createFrom,P=o.Nullable(Ct),R=o.Array(P),V=o.Array(o.Any);function Q(e,t,r){return n.ByName("github.com/omniviewdev/omniview/backend/pkg/plugin/networker.ServiceWrapper.StartResourcePortForwardingSession",e,t,p(r,[e,t]))}const Gt=Object.freeze(Object.defineProperty({__proto__:null,ClosePortForwardSession:z,FindPortForwardSessions:U,GetPortForwardSession:It,GetSupportedPortForwardTargets:bt,HasPlugin:Pt,ListAllPortForwardSessions:x,ListPlugins:Rt,ListPortForwardSessions:Tt,StartResourcePortForwardingSession:Q},Symbol.toStringTag,{value:"Module"}));class T{pluginID;running;url;error;supported;pid;constructor(t={}){"pluginID"in t||(this.pluginID=""),"running"in t||(this.running=!1),"url"in t||(this.url=""),"error"in t||(this.error=""),"supported"in t||(this.supported=!1),"pid"in t||(this.pid=0),Object.assign(this,t)}static createFrom(t={}){let r=typeof t=="string"?JSON.parse(t):t;return new T(r)}}function vt(e){return n.ByID(3150413499,e).then(t=>S(t))}function wt(e){return n.ByID(1152913314,e).then(t=>Kt(t))}function K(e){return n.ByID(111194374,e).then(t=>C(t))}function At(){return n.ByID(1083754477).then(e=>Yt(e))}function Ft(e){return n.ByID(3945933305,e)}function Ot(e){return n.ByID(2859775056,e).then(t=>Y(t))}function _t(e,t){return n.ByID(2209599792,e,t).then(r=>tn(r))}function Nt(e){return n.ByID(3963363730,e).then(t=>Y(t))}function Mt(e){return n.ByID(1357029266,e).then(t=>S(t))}function Lt(){return n.ByID(2477486666).then(e=>B(e))}function jt(){return n.ByID(976517756).then(e=>B(e))}function kt(e){return n.ByID(1020548995,e).then(t=>B(t))}function Et(e,t){return n.ByID(2004740384,e,t).then(r=>B(r))}function Wt(){return n.ByID(873697101).then(e=>Z(e))}function Ht(){return n.ByID(637134283).then(e=>rn(e))}function Jt(){return n.ByID(550607756).then(e=>on(e))}function qt(e,t){return n.ByID(288660195,e,t).then(r=>S(r))}function zt(e){return n.ByID(1771013494,e).then(t=>S(t))}function X(e){return n.ByID(2433379724,e).then(t=>S(t))}function Ut(e,t,r){return n.ByID(2783597264,e,t,r).then(c=>Z(c))}function xt(e){return n.ByID(1369550929,e).then(t=>S(t))}function Vt(e){return n.ByID(3828800061,e).then(t=>S(t))}const S=u.PluginInfo.createFrom,Qt=u.DownloadStats.createFrom,Kt=o.Nullable(Qt),C=u.PluginMeta.createFrom,Xt=T.createFrom,Yt=o.Array(Xt),Zt=u.VersionInfo.createFrom,Y=o.Array(Zt),en=u.Review.createFrom,tn=o.Array(en),B=o.Nullable(C),nn=u.AvailablePlugin.createFrom,Z=o.Array(nn),rn=o.Array(C),on=o.Array(S),cn=Object.freeze(Object.defineProperty({__proto__:null,GetPlugin:vt,GetPluginDownloadStats:wt,GetPluginMeta:K,GetPluginProfilingStatuses:At,GetPluginReadme:Ft,GetPluginReleaseHistory:Ot,GetPluginReviews:_t,GetPluginVersions:Nt,InstallDevPluginFromPath:Mt,InstallFromPathPrompt:Lt,InstallInDevMode:jt,InstallPluginFromPath:kt,InstallPluginVersion:Et,ListAvailablePlugins:Wt,ListPluginMetas:Ht,ListPlugins:Jt,LoadPlugin:qt,ReloadPlugin:zt,RetryFailedPlugin:X,SearchPlugins:Ut,UninstallPlugin:xt,UnlinkDevPlugin:Vt},Symbol.toStringTag,{value:"Module"}));function ee(e,t){return n.ByID(1688967279,e,t).then(r=>ce(r))}function te(e,t){return n.ByID(950535743,e,t).then(r=>G(r))}function sn(e){return n.ByID(854008408,e)}function ne(){return n.ByID(1598984489).then(e=>ln(e))}function re(e){return n.ByID(1775572154,e).then(t=>v(t))}function un(){return n.ByID(3217612415).then(e=>yn(e))}function an(e){return n.ByID(2037329938,e).then(t=>v(t))}function oe(e,t){return n.ByID(3276991559,e,t).then(r=>ce(r))}function ie(e,t){return n.ByID(794258089,e,t).then(r=>G(r))}const ce=u.ConnectionStatus.createFrom,G=u.Connection.createFrom,v=o.Array(G),ln=o.Map(o.Any,v),yn=o.Array(o.Any),pn="github.com/omniviewdev/omniview/backend/pkg/plugin/resource.ServiceWrapper";function i(e,...t){return n.ByName(`${pn}.${e}`,...t)}const fn=e=>i("Features",e),se=(e,t)=>i("GetConnectionMetadata",e,t),ue=(e,t)=>i("RefreshConnectionMetadata",e,t),ae=(e,t)=>i("Catalog",e,t),le=(e,t)=>i("Get",e,t),ye=(e,t)=>i("Enumerate",e,t),pe=(e,t)=>i("NativeQuery",e,p(t,[e])),fe=(e,t)=>i("Mutate",e,p(t,[e])),he=(e,t)=>i("Action",e,p(t,[e])),Se=(e,t)=>i("ResolveTarget",e,t),hn=(e,t)=>i("ResolveReference",e,t),ge=(e,t,r)=>i("GetSchemaDocument",e,t,r),de=()=>i("GetAllConnectionStates"),$e=e=>i("ListConnectionProfiles",e),me=(e,t)=>i("SaveConnectionProfile",e,t),Be=(e,t)=>i("ImportConnectionProfile",e,t),De=(e,t)=>i("ResetConnectionProfile",e,t),Ie=(e,t)=>i("RemoveConnection",e,t),be=(e,t)=>i("GetResourceGroups",e,t),Sn=(e,t,r)=>i("GetResourceDefinition",e,t,r),Pe=(e,t)=>i("GetEditorSchemas",e,t),gn=(e,t,r)=>i("GetRelationships",e,t,r),dn=(e,t)=>i("ResolveRelationships",e,t),$n=(e,t,r)=>i("GetHealth",e,p({request:t,body:r},[e])),mn=(e,t,r)=>i("GetResourceEvents",e,t,r),Re=(e,t,r)=>i("GetActions",e,t,r),Te=(e,t)=>i("StreamAction",e,p(t,[e])),Ce=e=>i("AttachStreamAction",e),Ge=e=>i("CancelStreamAction",e),ve=(e,t)=>i("StartConnectionWatch",e,t),we=(e,t)=>i("StopConnectionWatch",e,t),Ae=(e,t)=>i("GetWatchState",e,t),Fe=(e,t)=>i("EnsureResourceWatch",e,t),Bn=(e,t,r)=>i("StopResourceWatch",e,t,r),Dn=(e,t)=>i("RestartResourceWatch",e,t),In=(e,t,r)=>i("IsResourceWatchRunning",e,t,r),Oe=(e,t)=>i("SubscribeResource",e,t),_e=(e,t)=>i("UnsubscribeResource",e,t),Ne=(e,t,r)=>i("ScopeValues",e,t,r),bn=Object.freeze(Object.defineProperty({__proto__:null,Action:he,AttachStreamAction:Ce,CancelStreamAction:Ge,Catalog:ae,CheckConnection:ee,EnsureResourceWatch:Fe,Enumerate:ye,Features:fn,Get:le,GetActions:Re,GetAllConnectionStates:de,GetConnection:te,GetConnectionMetadata:se,GetEditorSchemas:Pe,GetHealth:$n,GetRelationships:gn,GetResourceDefinition:Sn,GetResourceEvents:mn,GetResourceGroups:be,GetSchemaDocument:ge,GetWatchState:Ae,HasPlugin:sn,ImportConnectionProfile:Be,IsResourceWatchRunning:In,ListAllConnections:ne,ListConnectionProfiles:$e,ListConnections:re,ListPlugins:un,LoadConnections:an,Mutate:fe,NativeQuery:pe,RefreshConnectionMetadata:ue,RemoveConnection:Ie,ResetConnectionProfile:De,ResolveReference:hn,ResolveRelationships:dn,ResolveTarget:Se,RestartResourceWatch:Dn,SaveConnectionProfile:me,ScopeValues:Ne,StartConnection:oe,StartConnectionWatch:ve,StopConnection:ie,StopConnectionWatch:we,StopResourceWatch:Bn,StreamAction:Te,SubscribeResource:Oe,UnsubscribeResource:_e},Symbol.toStringTag,{value:"Module"})),D="github.com/omniviewdev/omniview/backend/pkg/plugin/resource.GraphService";function Me(e,t,r,c,l){return n.ByName(`${D}.GetRelated`,e,t,r,c,l)}function Pn(e,t,r,c,l){return n.ByName(`${D}.GetRelationshipChain`,e,t,r,c,l)}function Le(e,t,r,c){return n.ByName(`${D}.GetDependencyTree`,e,t,r,c)}function je(e,t,r,c,l){return n.ByName(`${D}.GetSubgraph`,e,t,r,c,l)}const Rn=Object.freeze(Object.defineProperty({__proto__:null,GetDependencyTree:Le,GetRelated:Me,GetRelationshipChain:Pn,GetSubgraph:je},Symbol.toStringTag,{value:"Module"}));class w{snapshot;applied;uncertain;message;constructor(t={}){"snapshot"in t||(this.snapshot=new $),"applied"in t||(this.applied=!1),"uncertain"in t||(this.uncertain=!1),"message"in t||(this.message=""),Object.assign(this,t)}static createFrom(t={}){const r=Tn;let c=typeof t=="string"?JSON.parse(t):t;return"snapshot"in c&&(c.snapshot=r(c.snapshot)),new w(c)}}class I{kind;pluginId;constructor(t={}){"kind"in t||(this.kind=""),Object.assign(this,t)}static createFrom(t={}){let r=typeof t=="string"?JSON.parse(t):t;return new I(r)}}class ${scope;categories;constructor(t={}){"scope"in t||(this.scope=new I),"categories"in t||(this.categories={}),Object.assign(this,t)}static createFrom(t={}){const r=Cn,c=m;let l=typeof t=="string"?JSON.parse(t):t;return"scope"in l&&(l.scope=r(l.scope)),"categories"in l&&(l.categories=c(l.categories)),new $(l)}}const Tn=$.createFrom,Cn=I.createFrom;var m=function e(...t){return m===e&&(m=vn),m(...t)};const Gn=u.Category.createFrom,vn=o.Map(o.Any,Gn);function ke(e,t){return n.ByID(1766083910,e,t).then(r=>wn(r))}function Ee(e){return n.ByID(3969198041,e).then(t=>An(t))}function We(e,t,r){return n.ByID(3964153809,e,t,r).then(c=>Fn(c))}const wn=w.createFrom,An=$.createFrom,Fn=u.ValidationResult.createFrom,On=Object.freeze(Object.defineProperty({__proto__:null,Commit:ke,GetSnapshot:Ee,Validate:We},Symbol.toStringTag,{value:"Module"}));function _n(e){return n.ByID(2106300110,e).then(t=>Mn(t))}function He(e){return n.ByID(765209827,e).then(t=>Ln(t))}function Nn(e){return n.ByID(2355436169,e).then(t=>qe(t))}const Je=u.ResourceComponent.createFrom,qe=o.Array(Je),Mn=o.Map(o.Any,qe),Ln=o.Nullable(Je),jn=Object.freeze(Object.defineProperty({__proto__:null,GetPluginComponents:_n,GetResourceAreaComponent:He,GetResourceComponents:Nn},Symbol.toStringTag,{value:"Module"}));function ze(e){return n.ByID(2776241946,e)}function kn(e){return n.ByID(1474987050,e).then(t=>A(t))}function En(e){return n.ByID(3156347865,e).then(t=>Vn(t))}function Wn(e){return n.ByID(1444002509,e)}function Hn(){return n.ByID(3104582886).then(e=>Qn(e))}function Jn(){return n.ByID(2249742267).then(e=>Kn(e))}function qn(e,t){return n.ByID(1212190993,e,t)}function zn(e,t){return n.ByID(2177127885,e,t).then(r=>A(r))}const Un=u.LogSession.createFrom,A=o.Nullable(Un),xn=u.Handler$1.createFrom,Vn=o.Array(xn),Qn=o.Array(o.Any),Kn=o.Array(A);function Ue(e,t,r){return n.ByName("github.com/omniviewdev/omniview/backend/pkg/plugin/logs.ServiceWrapper.CreateSession",e,t,p(r,[e,t]))}const Xn=Object.freeze(Object.defineProperty({__proto__:null,CloseSession:ze,CreateSession:Ue,GetSession:kn,GetSupportedResources:En,HasPlugin:Wn,ListPlugins:Hn,ListSessions:Jn,SendCommand:qn,UpdateSessionOptions:zn},Symbol.toStringTag,{value:"Module"}));class F{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=Zn;let c=typeof t=="string"?JSON.parse(t):t;return"handlers"in c&&(c.handlers=r(c.handlers)),new F(c)}}const Yn=u.Handler$2.createFrom,Zn=o.Array(Yn);function xe(){return n.ByID(3919346639).then(e=>Ke(e))}function Ve(e){return n.ByID(3953821778,e).then(t=>Ke(t))}function er(e){return n.ByID(1815388456,e)}function tr(){return n.ByID(2730149903).then(e=>rr(e))}function Qe(e){return n.ByID(3994236150,e)}const nr=F.createFrom,Ke=o.Array(nr),rr=o.Array(o.Any);u.QueryResponse.createFrom;const O="github.com/omniviewdev/omniview/backend/pkg/plugin/metric.ServiceWrapper";function or(e,t,r){return n.ByName(`${O}.Query`,e,t,p(r,[e,t]))}function Xe(e,t){return n.ByName(`${O}.QueryAll`,e,p(t,[e]))}function Ye(e,t,r){return n.ByName(`${O}.Subscribe`,e,t,p(r,[e,t]))}const ir=Object.freeze(Object.defineProperty({__proto__:null,GetProviders:xe,GetProvidersForResource:Ve,HasPlugin:er,ListPlugins:tr,Query:or,QueryAll:Xe,Subscribe:Ye,Unsubscribe:Qe},Symbol.toStringTag,{value:"Module"}));function cr(e,t){return n.ByID(3653639550,e,t)}function Ze(e,t){return n.ByID(851823419,e,t)}function sr(e){return n.ByID(2991415449,e).then(t=>ur(t))}function et(e,t,r){return n.ByID(2695679023,e,t,r)}const ur=o.Array(o.Any),ar=Object.freeze(Object.defineProperty({__proto__:null,Delete:cr,Get:Ze,Keys:sr,Set:et},Symbol.toStringTag,{value:"Module"}));function lr(e){return n.ByID(584261046,e)}function yr(e){return n.ByID(3098255555,e)}function pr(e){return n.ByID(903698361,e)}function fr(e,t,r){return n.ByID(1235170530,e,t,r).then(c=>Cr(c))}function hr(e){return n.ByID(3199298309,e)}function Sr(){return n.ByID(2119827301).then(e=>Gr(e))}function gr(e){return n.ByID(2822783534,e).then(t=>nt(t))}function dr(){return n.ByID(1563865534)}function $r(){return n.ByID(914742443).then(e=>wr(e))}function mr(){return n.ByID(3392737293).then(e=>Ar(e))}function Br(e,t,r){return n.ByID(1474486628,e,t,r)}function Dr(e,t,r){return n.ByID(2366942716,e,t,r)}function Ir(e){return n.ByID(4008581935,e)}function tt(e){return n.ByID(520255202,e)}function br(e,t,r){return n.ByID(958877691,e,t,r)}function Pr(e,t,r){return n.ByID(1772958861,e,t,r)}function Rr(e,t,r){return n.ByID(728919203,e,t,r)}function Tr(e,t){return n.ByID(1547965995,e,t)}const Cr=u.DropResult.createFrom,Gr=u.SettingsState.createFrom,nt=o.Map(o.Any,o.Any),vr=u.Info.createFrom,wr=o.Array(vr),Ar=o.Map(o.Any,nt),Fr=Object.freeze(Object.defineProperty({__proto__:null,BeginDrag:lr,CancelDrag:yr,Close:pr,EndDrag:fr,Focus:hr,GetSettingsState:Sr,GetState:gr,HideSettings:dr,List:$r,ListStates:mr,MoveDrag:Br,MoveToPointer:Dr,Open:Ir,OpenSettings:tt,ReportViewport:br,RespondDrop:Pr,SaveState:Rr,SetSettingsLocation:Tr},Symbol.toStringTag,{value:"Module"}));exports.Action=he;exports.AttachStreamAction=Ce;exports.CancelStreamAction=Ge;exports.Catalog=ae;exports.CheckConnection=ee;exports.ClosePortForwardSession=z;exports.CloseSession=ze;exports.Commit=ke;exports.CreateSession=J;exports.CreateSession$1=Ue;exports.EnsureResourceWatch=Fe;exports.Enumerate=ye;exports.FindPortForwardSessions=U;exports.Get=Ze;exports.Get$1=le;exports.GetActions=Re;exports.GetAllConnectionStates=de;exports.GetConnection=te;exports.GetConnectionMetadata=se;exports.GetDependencyTree=Le;exports.GetEditorSchemas=Pe;exports.GetHandler=k;exports.GetNativeTerminalSupport=E;exports.GetPluginMeta=K;exports.GetProviders=xe;exports.GetProvidersForResource=Ve;exports.GetRelated=Me;exports.GetResourceAreaComponent=He;exports.GetResourceGroups=be;exports.GetSchemaDocument=ge;exports.GetSnapshot=Ee;exports.GetSubgraph=je;exports.GetWatchState=Ae;exports.ImportConnectionProfile=Be;exports.ListAllConnections=ne;exports.ListAllPortForwardSessions=x;exports.ListConnectionProfiles=$e;exports.ListConnections=re;exports.Mutate=fe;exports.NativeQuery=pe;exports.OpenNativeSession=q;exports.OpenSettings=tt;exports.QueryAll=Xe;exports.RefreshConnectionMetadata=ue;exports.RemoveConnection=Ie;exports.ResetConnectionProfile=De;exports.ResolveTarget=Se;exports.RetryFailedPlugin=X;exports.SaveConnectionProfile=me;exports.ScopeValues=Ne;exports.Set=et;exports.StartConnection=oe;exports.StartConnectionWatch=ve;exports.StartResourcePortForwardingSession=Q;exports.StopConnection=ie;exports.StopConnectionWatch=we;exports.StreamAction=Te;exports.Subscribe=Ye;exports.SubscribeResource=Oe;exports.Unsubscribe=Qe;exports.UnsubscribeResource=_e;exports.Validate=We;exports.binding=On;exports.client=bn;exports.exec=Dt;exports.graphClient=Rn;exports.logs=Xn;exports.metric=ir;exports.networker=Gt;exports.service=Fr;exports.servicewrapper=ar;exports.servicewrapper$1=cn;exports.servicewrapper$2=jn;