Repository navigation
feat: recover text-emitted tool calls + changeset-driven auto-release - #2
Merged
Merged
Conversation
- ToolCallExtractor: some models emit a tool call as inline <function_calls>/<invoke> XML text instead of native tool_calls; the adapter now recovers those into structured tool chunks (only when the request carries tools; falls back to plain text on incomplete/ambiguous input to avoid false positives). - Release automation: changeset-driven auto-version + npm publish on merge to master; build-time version injection (src/version.ts from package.json) removes version drift across package.json + CLI; old publish.yml downgraded to a manual break-glass. - Adds CLAUDE.md (worktree+PR workflow, commit hygiene). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
wangcansunking
added a commit
that referenced
this pull request
Jun 29, 2026
…plate, config, banner (#15) * feat(tui): scope+model status, chat-setup confirmation, parity, report template, config, banner - #6 /status + HUD show each client's scope AND pinned model, not a bare check - #5 chat setup_claude/codex require scope+model (ask first, never assume) - #7 add recent_errors + metrics chat tools to match slash commands - #4 /report body follows the #5 template (Summary/Environment/Repro) - #3 GitHub heartbeat interval/delay now configurable via AppConfig - #1 versioned "what's new" banner, shown ~3 launches then suppressed - #2 README reflects guards, runaway reporting, scope+model, config knobs Co-Authored-By: Claude <noreply@anthropic.com> * feat(report): add #5-style issue template; banner = major changes only - .github/ISSUE_TEMPLATE/bug.yml (Summary/Environment/Repro/Diagnostics/fixes) so manual issues match the rich #5 shape; /report still auto-fills the same sections. - what's-new banner trimmed to major changes only (the freeze fix); minor polish dropped. Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
2 tasks done
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.
Overview
This branch lands three related changes.
1. Text-emitted tool-call recovery (
ToolCallExtractor)Some models emit a tool call as inline
<function_calls>/<invoke>XML text instead of nativetool_calls. The Copilot adapter now parses that text and recovers it into structured tool chunks.tools.src/core/tool-xml.ts; wired intosrc/providers/copilot/adapter.tsstream().tests/core/tool-xml.test.ts,tests/providers/copilot/adapter.test.ts.2. Changeset-driven auto-release
master(.github/workflows/release.yml,scripts/changesets.mjs,.changes/README.md).src/version.tsis generated frompackage.jsonviascripts/gen-version.mjs(prebuild), removing version drift acrosspackage.json+ the CLI (src/cli/index.tsnow usesAPP_VERSION).ci.ymlgains a version drift-check; oldpublish.ymldowngraded to a manualworkflow_dispatchbreak-glass.3. Project conventions doc
CLAUDE.md(worktree+PR workflow, commit hygiene).Testing
Full suite green locally:
npm test→ 236 passed (47 files), e2e all green, tsc build clean.🤖 Generated with Claude Code