openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
57 lines • 1.95 kB
TypeScript
import { r as WorkerSlotSummary, t as RuntimeTargetIssue } from "./environments-DPYdVpOD.js";
import { n as NodePluginToolDescriptor } from "./nodes-Bibk7CGC.js";
import { o as ComputerUseCapabilityDescriptor } from "./computer-use-contract-BQmcSq4v.js";
import { t as NodeHostStats } from "./node-host-stats-Pu9TCih-.js";
//#region src/shared/node-list-types.d.ts
type NodeWorkerBundleStatus = {
status: "installed";
version: string;
} | {
status: "missing";
};
/** Node record returned by gateway node-list endpoints. */
type NodeListNode = {
nodeId: string;
displayName?: string;
platform?: string;
version?: string;
coreVersion?: string;
uiVersion?: string;
clientId?: string;
clientMode?: string;
/** This node host runs from the Gateway's own canonical node-host installation. */
gatewayLocal?: boolean;
remoteIp?: string;
deviceFamily?: string;
modelIdentifier?: string;
pathEnv?: string;
caps?: string[];
commands?: string[];
computerUse?: ComputerUseCapabilityDescriptor;
/** Node has explicitly enabled session hosting; live slots own current capacity. */
sessionHost?: boolean;
workerSlots?: WorkerSlotSummary;
hostStats?: NodeHostStats;
workerBundle?: NodeWorkerBundleStatus;
issues?: readonly RuntimeTargetIssue[];
nodePluginTools?: NodePluginToolDescriptor[];
permissions?: Record<string, boolean>;
approvalState?: "approved" | "pending-approval" | "pending-reapproval" | "unapproved";
pendingRequestId?: string;
pendingDeclaredCaps?: string[];
pendingDeclaredCommands?: string[];
pendingDeclaredPermissions?: Record<string, boolean>;
paired?: boolean;
connected?: boolean;
connectedAtMs?: number;
lastConnectedAtMs?: number;
lastDisconnectedAtMs?: number;
lastActiveAtMs?: number;
presenceUpdatedAtMs?: number;
active?: boolean;
lastSeenAtMs?: number;
lastSeenReason?: string;
approvedAtMs?: number;
};
//#endregion
export { NodeListNode as t };