File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ export const GATEWAY_SYSTEMD_SERVICE_NAME = "openclaw-gateway";
66export const GATEWAY_WINDOWS_TASK_NAME = "OpenClaw Gateway" ;
77export const GATEWAY_SERVICE_MARKER = "openclaw" ;
88export const GATEWAY_SERVICE_KIND = "gateway" ;
9- export const NODE_LAUNCH_AGENT_LABEL = "ai.openclaw.node" ;
10- export const NODE_SYSTEMD_SERVICE_NAME = "openclaw-node" ;
11- export const NODE_WINDOWS_TASK_NAME = "OpenClaw Node" ;
9+ const NODE_LAUNCH_AGENT_LABEL = "ai.openclaw.node" ;
10+ const NODE_SYSTEMD_SERVICE_NAME = "openclaw-node" ;
11+ const NODE_WINDOWS_TASK_NAME = "OpenClaw Node" ;
1212export const NODE_SERVICE_MARKER = "openclaw" ;
1313export const NODE_SERVICE_KIND = "node" ;
1414export const NODE_WINDOWS_TASK_SCRIPT_NAME = "node.cmd" ;
Original file line number Diff line number Diff line change 11import { formatRuntimeStatusWithDetails } from "../infra/runtime-status.ts" ;
22
3- export type ServiceRuntimeLike = {
3+ type ServiceRuntimeLike = {
44 status ?: string ;
55 state ?: string ;
66 subState ?: string ;
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ async function resolveNodeVersion(
7979 }
8080}
8181
82- export type SystemNodeInfo = {
82+ type SystemNodeInfo = {
8383 path : string ;
8484 version : string | null ;
8585 supported : boolean ;
Original file line number Diff line number Diff line change 11import { normalizeEnvVarKey } from "../infra/host-env-security.js" ;
22import type { GatewayServiceEnvironmentValueSource } from "./service-types.js" ;
33
4- export const MANAGED_SERVICE_ENV_KEYS_VAR = "OPENCLAW_SERVICE_MANAGED_ENV_KEYS" ;
4+ const MANAGED_SERVICE_ENV_KEYS_VAR = "OPENCLAW_SERVICE_MANAGED_ENV_KEYS" ;
55
66type ServiceEnvCommand = {
77 environment ?: Record < string , string | undefined > ;
@@ -24,7 +24,7 @@ export function isEnvironmentFileOnlySource(
2424 return source === "file" ;
2525}
2626
27- export function parseManagedServiceEnvKeys ( value : string | undefined ) : Set < string > {
27+ function parseManagedServiceEnvKeys ( value : string | undefined ) : Set < string > {
2828 const keys = new Set < string > ( ) ;
2929 for ( const entry of value ?. split ( "," ) ?? [ ] ) {
3030 const key = normalizeServiceEnvKey ( entry . trim ( ) ) ;
@@ -71,7 +71,7 @@ export function readManagedServiceEnvKeysFromEnvironment(
7171 return new Set ( ) ;
7272}
7373
74- export function deleteManagedServiceEnvKeys (
74+ function deleteManagedServiceEnvKeys (
7575 environment : Record < string , string | undefined > ,
7676 keys : Iterable < string > ,
7777) : void {
You can’t perform that action at this time.
0 commit comments