refactor: trim command shape exports · openclaw/openclaw@4b8856e
steipete
·
2026-05-02
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -24,7 +24,7 @@ type GatewayInstallTokenOptions = {
|
24 | 24 | persistGeneratedToken?: boolean; |
25 | 25 | }; |
26 | 26 | |
27 | | -export type GatewayInstallTokenResolution = { |
| 27 | +type GatewayInstallTokenResolution = { |
28 | 28 | token?: string; |
29 | 29 | tokenRefConfigured: boolean; |
30 | 30 | unavailableReason?: string; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | import { readStringValue } from "../shared/string-coerce.js"; |
2 | 2 | |
3 | | -export type GatewaySelfPresence = { |
| 3 | +type GatewaySelfPresence = { |
4 | 4 | host?: string; |
5 | 5 | ip?: string; |
6 | 6 | version?: string; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -9,7 +9,7 @@ import {
|
9 | 9 | import type { DaemonInstallWarnFn } from "./daemon-install-runtime-warning.js"; |
10 | 10 | import type { NodeDaemonRuntime } from "./node-daemon-runtime.js"; |
11 | 11 | |
12 | | -export type NodeInstallPlan = { |
| 12 | +type NodeInstallPlan = { |
13 | 13 | programArguments: string[]; |
14 | 14 | workingDirectory?: string; |
15 | 15 | environment: Record<string, string | undefined>; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | import { type RuntimeEnv, writeRuntimeJson } from "../runtime.js"; |
2 | 2 | import { resolveStatusJsonOutput } from "./status-json-runtime.ts"; |
3 | 3 | |
4 | | -export type StatusJsonCommandOptions = { |
| 4 | +type StatusJsonCommandOptions = { |
5 | 5 | deep?: boolean; |
6 | 6 | usage?: boolean; |
7 | 7 | timeoutMs?: number; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。