Skip to content

vendor: resync deepcode-core to upstream 03c7ebb; drop merged reasoning-effort patch - #9

Merged
coderbuzz merged 1 commit into
mainfrom
sync-upstream-2026-10
Oct 16, 2026
Merged

coderbuzz merged 1 commit into
mainfrom
sync-upstream-2026-10

Conversation

@coderbuzz

Copy link
Copy Markdown
Owner

What

Re-vendor packages/core from lessweb/deepcode-cli@03c7ebb via scripts/sync-upstream.sh.

  • Drop reasoning-effort-top-level.patch — the fix was merged upstream in fix(core): send reasoning_effort at the top level of the request lessweb/deepcode-cli#370 (commits 3ed02da + 5954625). Behavior is identical; the e2e assertion req.reasoning_effort === "high" passes unchanged.
  • Gain the upstream follow-up: edit-handler.ts casts request params to ChatCompletionCreateParamsNonStreaming so DeepSeek's max effort type-checks in the edit tool's LLM helpers (old-string-not-found inference, escaped-string correction). No behavior change on our side, but unblocks future max usage in those helpers.
  • UPSTREAM.md documents the retired patch so a future re-vendor doesn't resurrect it; README updated accordingly.

Upstream's other new commits (markdown-it bump, DeepCode Plus README section, vscode marketplace URLs) don't touch the vendored core; dependency versions in package.json match upstream core exactly.

Tests

npm test: 12/12 pass (build + e2e vs fake DeepSeek server, including the reasoning_effort and slow-pipe suites).

reasoning_effort top-level fix was merged upstream (lessweb/deepcode-cli#370),
so the local patch is dropped; the vendored engine also gains the upstream
follow-up that type-casts 'max' effort in the edit tool's LLM helpers.
markdown-it bump and README/vscode commits upstream do not touch the vendored
core. Dependency versions unchanged.
@coderbuzz
coderbuzz merged commit dd47f25 into main Oct 16, 2026
1 check passed
@coderbuzz
coderbuzz deleted the sync-upstream-2026-10 branch October 16, 2026 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant