refactor(agents): hide bootstrap routing types · openclaw/openclaw@58ec07c
vincentkoc
·
2026-06-17
·
via Recent Commits to openclaw:main
File tree
src/agents/embedded-agent-runner/run
| Original file line number | Diff line number | Diff line change |
|---|
@@ -6,7 +6,7 @@ import { resolveBootstrapMode } from "../../bootstrap-mode.js";
|
6 | 6 | import { DEFAULT_BOOTSTRAP_FILENAME, type WorkspaceBootstrapFile } from "../../workspace.js"; |
7 | 7 | |
8 | 8 | /** Inputs that decide whether this attempt should inject workspace bootstrap context. */ |
9 | | -export type AttemptBootstrapRoutingInput = { |
| 9 | +type AttemptBootstrapRoutingInput = { |
10 | 10 | workspaceBootstrapPending: boolean; |
11 | 11 | bootstrapContextRunKind?: "default" | "heartbeat" | "cron"; |
12 | 12 | trigger?: string; |
@@ -19,13 +19,13 @@ export type AttemptBootstrapRoutingInput = {
|
19 | 19 | }; |
20 | 20 | |
21 | 21 | /** Bootstrap placement decision consumed by system/runtime context assembly. */ |
22 | | -export type AttemptBootstrapRouting = { |
| 22 | +type AttemptBootstrapRouting = { |
23 | 23 | bootstrapMode: BootstrapMode; |
24 | 24 | includeBootstrapInSystemContext: boolean; |
25 | 25 | includeBootstrapInRuntimeContext: boolean; |
26 | 26 | }; |
27 | 27 | |
28 | | -export type AttemptWorkspaceBootstrapRoutingInput = Omit< |
| 28 | +type AttemptWorkspaceBootstrapRoutingInput = Omit< |
29 | 29 | AttemptBootstrapRoutingInput, |
30 | 30 | "workspaceBootstrapPending" |
31 | 31 | > & { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。