Implement answer recovery mechanism and enhance UI components - #11
Merged
Conversation
- Added functions to detect empty and transitional assistant turns. - Implemented logic to recover from incomplete answers by prompting for final responses or tool calls. - Enhanced the agent engine pipeline to handle empty and transitional turns, ensuring a complete user-facing answer is provided. - Updated decision policy to route past-tense follow-ups about prior work correctly. - Introduced tests for new functionalities, ensuring robustness and correctness of the recovery mechanism. - Updated documentation to reflect changes in behavior and usage patterns.
- Update `IndexingStatusBar` to display "Checking" when the indexing message includes "checking". - Modify `OnboardingPanel` to reflect indexing status more accurately, including disabling buttons during indexing and updating messages based on indexing state. - Introduce new styles for loading states and improve visual feedback in the onboarding process. style: refine UI components and improve accessibility - Adjust styles for various components including file changes cards, status chips, and buttons for better visual hierarchy and accessibility. - Implement hover effects and improved spacing for better user experience. fix: ensure consistent versioning and publishing process - Update release documentation to clarify version alignment and publishing steps for npm and VSIX. - Introduce new scripts for publishing npm packages and Open VSX, ensuring proper authentication and error handling. test: add unit tests for path search and enhance session logging - Implement tests for `searchWorkspacePaths` to validate caching and filtering functionality. - Enhance session logging tests to ensure readability and proper handling of large answers. chore: general code cleanup and refactoring - Refactor various utility functions for better clarity and maintainability. - Update README files to reflect the current state of package publishing and usage instructions.
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.
This pull request introduces several important improvements to the build, packaging, and release workflows, as well as enhancements to the VS Code extension and CLI packaging. The release process now publishes npm packages and Marketplace artifacts, with improved asset validation and bundled skills. Additionally, the assistant display logic in the VS Code extension is refined for better user experience, and the maximum files included in workspace snapshots is tuned for performance.
Release and Publishing Workflow Improvements:
.github/workflows/release.yml) now publishes VSIX artifacts to both the VS Code Marketplace and Open VSX, and triggers npm package publishing for@mitii/v8,@mitii/sdk,@mitii/host, and@mitii/clion version tags. NPM and Marketplace publishing require secrets (NPM_TOKEN,VSCE_PAT,OVSX_PAT). ([[1]](https://github.com/Mitii-dev/Mitii/pull/11/files#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34R1-R2),[[2]](https://github.com/Mitii-dev/Mitii/pull/11/files#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34R67-R104),[[3]](https://github.com/Mitii-dev/Mitii/pull/11/files#diff-8a5ce8b612395836520d0655143f732d08e747af57f3cfe76b5e283600106240L1-R42)).github/workflows/npm-publish.yml) is re-enabled to build and publish packages in sequence, with checks for required secrets and build steps. ([.github/workflows/npm-publish.ymlL1-R42](https://github.com/Mitii-dev/Mitii/pull/11/files#diff-8a5ce8b612395836520d0655143f732d08e747af57f3cfe76b5e283600106240L1-R42))[[1]](https://github.com/Mitii-dev/Mitii/pull/11/files#diff-32fca1c21b2414b0037f45df2db859f054a8c2ce42c97711d3eb88525be53e26L27-R30),[[2]](https://github.com/Mitii-dev/Mitii/pull/11/files#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34L31-R36),[[3]](https://github.com/Mitii-dev/Mitii/pull/11/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03fR25-R31))Build and Packaging Enhancements:
packages/sdk/skillsinto their respectivedist/skillsdirectories, and asset validation ensures these are included. ([[1]](https://github.com/Mitii-dev/Mitii/pull/11/files#diff-2ae023d9dfff2e628040efd4ab1ffd6d32becf33910b9def26edd31eb4e25718R23-R30),[[2]](https://github.com/Mitii-dev/Mitii/pull/11/files#diff-2ae023d9dfff2e628040efd4ab1ffd6d32becf33910b9def26edd31eb4e25718R64),[[3]](https://github.com/Mitii-dev/Mitii/pull/11/files#diff-03fc25f22cb1b7e0488eb6e9a93b332dfbe9a2aba2a145b1d39bd5ba4ca456bcR52-R59),[[4]](https://github.com/Mitii-dev/Mitii/pull/11/files#diff-03fc25f22cb1b7e0488eb6e9a93b332dfbe9a2aba2a145b1d39bd5ba4ca456bcR106),[[5]](https://github.com/Mitii-dev/Mitii/pull/11/files#diff-8eacb09fd7ed1edb2f52eeab63dd4001d81b3e9c681537670b7deee455907f5eR46-R53),[[6]](https://github.com/Mitii-dev/Mitii/pull/11/files#diff-ffd752c4d60ebba40a59cc7f9b8cb7b3beeedb5c14a8a8245246bf73846bf247R84))package.jsonnow includesdist/skills/**/*in the published files, ensuring bundled skills are distributed. ([apps/vscode/package.jsonR84](https://github.com/Mitii-dev/Mitii/pull/11/files#diff-ffd752c4d60ebba40a59cc7f9b8cb7b3beeedb5c14a8a8245246bf73846bf247R84))VS Code Extension Improvements:
[[1]](https://github.com/Mitii-dev/Mitii/pull/11/files#diff-c7a8e9ae221e8995462b1a188f0648c47757344c522496ab35a48e56414ca498L100-R138),[[2]](https://github.com/Mitii-dev/Mitii/pull/11/files#diff-c7a8e9ae221e8995462b1a188f0648c47757344c522496ab35a48e56414ca498L123-L141),[[3]](https://github.com/Mitii-dev/Mitii/pull/11/files#diff-c7a8e9ae221e8995462b1a188f0648c47757344c522496ab35a48e56414ca498L165-L168))0(use model preset), with updated description to clarify usage. ([apps/vscode/package.jsonL260-R263](https://github.com/Mitii-dev/Mitii/pull/11/files#diff-ffd752c4d60ebba40a59cc7f9b8cb7b3beeedb5c14a8a8245246bf73846bf247L260-R263))maxFileslowered to 60/200). ([apps/vscode/src/hostAsk.tsL653-R653](https://github.com/Mitii-dev/Mitii/pull/11/files#diff-d4f33f214a9fac1e203ad64a5e1946e3e16156b5e3c393d66c04391ce02876abL653-R653))Documentation and Versioning Updates:
[[1]](https://github.com/Mitii-dev/Mitii/pull/11/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L15-R15),[[2]](https://github.com/Mitii-dev/Mitii/pull/11/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L129-R129),[[3]](https://github.com/Mitii-dev/Mitii/pull/11/files#diff-814f330f4d023072c7412643f20fea1745bfd132e3471ece07acc009a96c0c77L15-R22),[[4]](https://github.com/Mitii-dev/Mitii/pull/11/files#diff-1625a7848c01883721bcd146381e2a6bff3c03814d4586559265d8e54a0c9565L3-R3),[[5]](https://github.com/Mitii-dev/Mitii/pull/11/files#diff-ffd752c4d60ebba40a59cc7f9b8cb7b3beeedb5c14a8a8245246bf73846bf247L5-R5))