fix(ci): repair main type and lint checks · openclaw/openclaw@6d22b8e
vincentkoc
·
2026-06-16
·
via Recent Commits to openclaw:main
File tree
extensions/codex/src/app-server
| Original file line number | Diff line number | Diff line change |
|---|
@@ -218,9 +218,11 @@ function resolveBoundedThreadConfig(
|
218 | 218 | params: CodexBoundedTurnParams, |
219 | 219 | workspace: { codexHome?: string }, |
220 | 220 | ): JsonObject { |
221 | | -const boundedConfig = mergeCodexThreadConfigs(CODEX_BOUNDED_THREAD_CONFIG, params.threadConfig); |
| 221 | +const boundedConfig = |
| 222 | +mergeCodexThreadConfigs(CODEX_BOUNDED_THREAD_CONFIG, params.threadConfig) ?? |
| 223 | +CODEX_BOUNDED_THREAD_CONFIG; |
222 | 224 | return workspace.codexHome |
223 | | - ? mergeCodexThreadConfigs(boundedConfig, CODEX_PRIVATE_BOUNDED_THREAD_CONFIG) |
| 225 | + ? (mergeCodexThreadConfigs(boundedConfig, CODEX_PRIVATE_BOUNDED_THREAD_CONFIG) ?? boundedConfig) |
224 | 226 | : boundedConfig; |
225 | 227 | } |
226 | 228 | |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1368,7 +1368,7 @@ describe("resolveGatewayStartupPluginIds", () => {
|
1368 | 1368 | ...registry, |
1369 | 1369 | plugins: registry.plugins.map((plugin) => |
1370 | 1370 | plugin.id === "external-env-channel-plugin" |
1371 | | - ? { ...plugin, channels: ["External-Env-Channel"] } |
| 1371 | + ? Object.assign({}, plugin, { channels: ["External-Env-Channel"] }) |
1372 | 1372 | : plugin, |
1373 | 1373 | ), |
1374 | 1374 | }); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。