fix: clean production config mutation checks · openclaw/openclaw@f3327ac
steipete
·
2026-05-13
·
via Recent Commits to openclaw:main
File tree
extensions/browser/src/browser
src/gateway/server-methods
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | import fs from "node:fs"; |
2 | 2 | import path from "node:path"; |
3 | 3 | import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime"; |
4 | | -import type { BrowserProfileConfig, OpenClawConfig } from "../config/config.js"; |
| 4 | +import type { BrowserProfileConfig } from "../config/config.js"; |
5 | 5 | import { getRuntimeConfig, mutateConfigFile } from "../config/config.js"; |
6 | 6 | import { deriveDefaultBrowserCdpPortRange } from "../config/port-defaults.js"; |
7 | 7 | import { formatErrorMessage } from "../infra/errors.js"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -15,7 +15,6 @@ import { loadWorkspaceSkillEntries, type SkillEntry } from "../../agents/skills.
|
15 | 15 | import { listAgentWorkspaceDirs } from "../../agents/workspace-dirs.js"; |
16 | 16 | import { mutateConfigFileWithRetry } from "../../config/config.js"; |
17 | 17 | import { redactConfigObject, REDACTED_SENTINEL } from "../../config/redact-snapshot.js"; |
18 | | -import type { OpenClawConfig } from "../../config/types.openclaw.js"; |
19 | 18 | import { fetchClawHubSkillDetail } from "../../infra/clawhub.js"; |
20 | 19 | import { formatErrorMessage } from "../../infra/errors.js"; |
21 | 20 | import { getRemoteSkillEligibility } from "../../infra/skills-remote.js"; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。