Skip to content

CoreCoder v0.16.0

Choose a tag to compare

@he-yufeng he-yufeng released this 23 Nov 07:22
972938b

MCP cooperative cancellation

CoreCoder 0.16.0 adds bounded, best-effort cancellation for stdio and Streamable HTTP MCP requests.

Changes

  • Send notifications/cancelled with the original request ID and reason after non-initialize timeouts.
  • Never cancel initialize, and never replay the original tool call.
  • Ignore late stdio replies after their waiter has gone away.
  • Keep stdio cancellation bound to the original process across manual reconnects.
  • Avoid HTTP cancellation when a connection fails before the request is sent.
  • Document the transport behavior and update the package and reading guides to 3,492 physical lines.

Servers may ignore cancellation. A timeout does not claim that remote work has stopped.

Validation

  • PR #77 passed all 14 GitHub Actions checks across Linux, macOS, Windows, and supported Python versions.
  • Local suite: 422 passed, 1 skipped.
  • Ruff and git diff --check passed.
  • Wheel and sdist passed twine check.
  • The wheel built from merge commit 972938b0c07c4b701c23ee3e89ca3321f587f134 was installed in a fresh Python 3.14.2 environment. Imports resolved from that environment and corecoder --version reported corecoder 0.16.0.

Artifact SHA-256

  • corecoder-0.16.0-py3-none-any.whl: 88eca63fe42502d02da1a2e5b952fe877afd71c6df35f06b0226d2e0b5bf756d
  • corecoder-0.16.0.tar.gz: df6b29212390800b1a1a4a8b2c185e10fa991532fcd8bbcf1c918f26707d4bfb