Fix TypeScript compilation errors in agent-dispatcher breaking CI build#2064
Merged
robgruen merged 2 commits intodev/robgruen/mcp_non_blocking_loadingfrom Mar 24, 2026
Merged
Conversation
Co-authored-by: robgruen <25374553+robgruen@users.noreply.github.com> Agent-Logs-Url: https://github.com/microsoft/TypeAgent/sessions/0f35f9e3-5797-4488-9eb9-00f44511a7c8
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions workflow build_ts on windows-latest
Fix TypeScript compilation errors in agent-dispatcher breaking CI build
Mar 24, 2026
robgruen
approved these changes
Mar 24, 2026
32f8b75
into
dev/robgruen/mcp_non_blocking_loading
1 check passed
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.
Four TS errors in
agent-dispatcherwere causingtsc -bto fail, blocking thebuild_tsworkflow on all platforms.Changes
appAgentManager.ts— Add missingloadGrammarRulesNoThrowto import fromaction-grammar(used in newly addedloadDynamicGrammarfor.agrformat parsing)appAgentManager.ts— Remove duplicatereloadAgentSchemamethod (TS2393); the new implementation at line 1021 conflicted with the pre-existing one at line 1233. The private helpers it introduced (loadDynamicSchema,loadDynamicGrammar) are retained and already wired intoupdateActionconfigCommandHandlers.ts— RegisterConfigExecutionScriptReuseCommandHandlerinconfigExecutionCommandHandlersalongside the existingplanReuseentry (class was defined but never instantiated)commandHandlerContext.ts— Remove unusedwrapClientIOWithDisplayLoghelper function (TS6133; never called)Original prompt
📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.