Skip to content

Commit 69cfecc

Browse files
[AI-assisted] chore(branch): drop unrelated formatting churn
ClawSweeper re-review flagged that nine files in the branch differ from upstream/main only by auto-formatter line-wrap output (function signatures and call sites expanded to multi-line; no behavior change). The churn predates the current proof/cleanup work — likely an oxfmt --write pass during initial branch construction — and is unrelated to the gateway handshake-timeout fix this PR is meant to land. Reset these files to upstream/main so the PR diff stays scoped to the timeout fix and the drift-diagnostic change: - extensions/codex/src/app-server/config.test.ts - extensions/codex/src/app-server/transport-stdio.test.ts - scripts/generate-npm-shrinkwrap.mjs - src/agents/model-auth.ts - src/agents/pi-embedded-runner/model.ts - src/gateway/server-methods/update-managed-service-handoff.test.ts - src/plugins/current-plugin-metadata-snapshot.ts - src/plugins/provider-runtime.ts - test/scripts/install-ps1.test.ts Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent e005f27 commit 69cfecc

4 files changed

Lines changed: 7 additions & 11 deletions

File tree

scripts/generate-npm-shrinkwrap.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ function mergeOverrides(packageOverrides, workspaceOverrides, pnpmLockOverrides)
123123
]) {
124124
const current = merged[name];
125125
if (current !== undefined && JSON.stringify(current) !== JSON.stringify(spec)) {
126-
throw new Error(`package.json overrides.${name} conflicts with pnpm lock policy for ${name}`);
126+
throw new Error(
127+
`package.json overrides.${name} conflicts with pnpm lock policy for ${name}`,
128+
);
127129
}
128130
merged[name] = spec;
129131
}

src/agents/model-auth.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -859,11 +859,7 @@ export async function resolveApiKeyForProvider(params: {
859859
return deferredAuthProfileResult;
860860
}
861861

862-
const syntheticLocalAuth = resolveSyntheticLocalProviderAuth({
863-
cfg,
864-
provider,
865-
modelApi: params.modelApi,
866-
});
862+
const syntheticLocalAuth = resolveSyntheticLocalProviderAuth({ cfg, provider, modelApi: params.modelApi });
867863
if (syntheticLocalAuth) {
868864
return syntheticLocalAuth;
869865
}

src/agents/pi-embedded-runner/model.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -941,10 +941,7 @@ function resolveConfiguredFallbackModel(params: {
941941
}
942942
const fallbackTransport = resolveProviderTransport({
943943
provider,
944-
api:
945-
normalizeResolvedTransportApi(configuredModel?.api) ??
946-
resolveConfiguredProviderDefaultApi(providerConfig) ??
947-
"openai-responses",
944+
api: normalizeResolvedTransportApi(configuredModel?.api) ?? resolveConfiguredProviderDefaultApi(providerConfig) ?? "openai-responses",
948945
baseUrl: configuredModel?.baseUrl ?? providerConfig?.baseUrl,
949946
cfg,
950947
workspaceDir,

src/gateway/server-methods/update-managed-service-handoff.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ async function runHelperWithExistingSentinel(params: {
4444
}) {
4545
const { execFile } =
4646
await vi.importActual<typeof import("node:child_process")>("node:child_process");
47-
const { startManagedServiceUpdateHandoff } = await import("./update-managed-service-handoff.js");
47+
const { startManagedServiceUpdateHandoff } =
48+
await import("./update-managed-service-handoff.js");
4849
const tmpDir = await fs.mkdtemp(path.join(os.tmpdir(), "openclaw-handoff-helper-test-"));
4950
tempDirs.add(tmpDir);
5051

0 commit comments

Comments
 (0)