refactor: trim exec node local exports · openclaw/openclaw@ccd4342
steipete
·
2026-05-02
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -23,7 +23,7 @@ import type { ExecToolDetails } from "./bash-tools.exec-types.js";
|
23 | 23 | import { callGatewayTool } from "./tools/gateway.js"; |
24 | 24 | import { listNodes, resolveNodeIdFromList } from "./tools/nodes-utils.js"; |
25 | 25 | |
26 | | -export type NodeExecutionTarget = { |
| 26 | +type NodeExecutionTarget = { |
27 | 27 | nodeId: string; |
28 | 28 | platform?: string | null; |
29 | 29 | argv: string[]; |
@@ -33,7 +33,7 @@ export type NodeExecutionTarget = {
|
33 | 33 | supportsSystemRunPrepare: boolean; |
34 | 34 | }; |
35 | 35 | |
36 | | -export type PreparedNodeRun = { |
| 36 | +type PreparedNodeRun = { |
37 | 37 | plan: SystemRunApprovalPlan; |
38 | 38 | argv: string[]; |
39 | 39 | rawCommand: string; |
@@ -42,7 +42,7 @@ export type PreparedNodeRun = {
|
42 | 42 | sessionKey: string | undefined; |
43 | 43 | }; |
44 | 44 | |
45 | | -export type NodeApprovalAnalysis = { |
| 45 | +type NodeApprovalAnalysis = { |
46 | 46 | analysisOk: boolean; |
47 | 47 | allowlistSatisfied: boolean; |
48 | 48 | durableApprovalSatisfied: boolean; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。