fix: drop cancelled tool calls, restore English router copy, prepare 0.4.4 - #17
Merged
Merged
Conversation
Stopping a response while the model was still streaming tool-call arguments left the assembled fragments in place. The provider then either threw "invalid arguments returned for tool ..." on the truncated JSON, or handed VS Code a complete tool call the user had just cancelled. Bail out before emitting whenever the token is cancelled or the request aborted. The virtual Auto (router) entry also still carried an Italian detail string in the model picker; every other user-facing string is English. Both changes are covered by offline regression tests, each verified to fail without its fix. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Bump to 0.4.4 across package.json, the lockfile and CITATION.cff, and add the changelog entry for the two fixes above. Documentation: - Advertise Open VSX in the README badges and Quick Start. The same build is already published there under the mikesoft namespace, so VSCodium and other Open VSX editors now have a documented install path. - Backfill the historical release dates in CHANGELOG.md from the release tags, so every entry is dated like 0.4.3. - Expand AGENTS.md with the stack and runtime baseline, the verified command table, the manual release and publishing procedure, branch protection, compatibility rules, protected assets, environment-variable handling and a definition of done. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Review pass over the extension: two user-facing fixes, a security hardening, the 0.4.4 version bump, and documentation that now matches
how the extension is actually distributed. No breaking changes; no public contract (setting ids, command ids,
vendor id, participant id, model ids) was touched.
Changes
while it was writing tool arguments could surface
Chutes AI: invalid arguments returned for tool …on thetruncated JSON, or hand VS Code a complete tool call the user had just cancelled. The provider now returns before
the emit loop whenever the cancellation token fired or the request was aborted.
detailstring(
Auto · routing + fallback nativo); it is now English like every other user-facing string.backslashes and table separators. This addresses CodeQL alert
js/incomplete-sanitizationwithout changing output.package.json,package-lock.json(vianpm version --no-git-tag-version patch)and
CITATION.cff, plus the changelog entry.mikesoftnamespace on open-vsx.org, so VSCodium and similar editors now have a documented route. Historicalrelease dates backfilled in
CHANGELOG.mdfrom the release tags.AGENTS.mdexpanded with the stack/runtimebaseline, a verified command table, the manual release and publishing procedure, branch-protection rules,
compatibility rules, protected assets, environment-variable handling, and a definition of done.
Verification
npm run checkpasses —tsc --noEmit,oxlint --deny-warnings,prettier --check ., 28/28 offline tests,production bundle,
vsce ls.npm run vsix→chutes-model-provider-vscode-0.4.4.vsix, 10 files, 29.89 KB, SHA-25698E78346C787014F56BA11A8F88CA961D0166A2B0CD1B334EA91787DB9B234D4. Contents verified: onlydist/extension.js,media/icon.png,package.json,README.md,CHANGELOG.md,LICENSE,THIRD_PARTY_NOTICES.md,CITATION.cff. Manifest reports version0.4.4, publishermikesoft.activate/deactivate; the VSIX installs in an isolated VS Code 1.131.0 profile asmikesoft.chutes-model-provider-vscode@0.4.4.npm audit— 0 vulnerabilities.regression test instead.
CHANGELOG.mdPrivacy
None. No change to data flows, credential handling, or network behavior.
Risks and notes
AbortControllerfired, so it cannotsuppress tool calls from a normally completed stream.
@types/nodestays on^22on purpose (the declared Node baseline); 26.x is available but out of scope here.credential is available in this environment, and this project keeps tag ⟷ release ⟷ Marketplace ⟷ Open VSX in
lockstep. After merge:
git tag -a v0.4.4 -m v0.4.4 && git push origin v0.4.4,gh release create v0.4.4,then
npx vsce publishandnpx ovsx publish chutes-model-provider-vscode-0.4.4.vsix -p <token>.🤖 Generated with Claude Code