Skip to content

Implement answer recovery mechanism and enhance UI components - #11

Merged
codewithshinde merged 5 commits into
mainfrom
v3.8.x
Aug 1, 2026
Merged

Implement answer recovery mechanism and enhance UI components#11
codewithshinde merged 5 commits into
mainfrom
v3.8.x

Conversation

@codewithshinde

Copy link
Copy Markdown
Member

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:

  • The release workflow (.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/cli on 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))
  • The npm publish workflow (.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))
  • Node.js version is standardized to 20 across all workflows for consistency. ([[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:

  • Both the CLI and VS Code extension build scripts now bundle skills from packages/sdk/skills into their respective dist/skills directories, 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))
  • The VS Code extension's package.json now includes dist/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:

  • The assistant answer display logic is improved to better filter out transitional or weak answers, resulting in more meaningful output for users. ([[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))
  • The default context window for the model is now 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))
  • The maximum number of files included in workspace snapshots for repository maps is reduced for performance (maxFiles lowered 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:

  • Documentation is updated to reflect the new publishing process and versioning, including README badges and usage instructions. ([[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))

karthik and others added 2 commits August 1, 2026 00:36
- 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.
@codewithshinde codewithshinde self-assigned this Aug 1, 2026
@codewithshinde codewithshinde added the documentation Improvements or additions to documentation label Aug 1, 2026
@codewithshinde
codewithshinde merged commit 752d232 into main Aug 1, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant