Skip to content

🔄 Sync with upstream Qwen Code#8

Closed
davipeterlini wants to merge 123 commits intomainfrom
merge-back
Closed

🔄 Sync with upstream Qwen Code#8
davipeterlini wants to merge 123 commits intomainfrom
merge-back

Conversation

@davipeterlini
Copy link
Copy Markdown
Owner

🔄 Sync with Upstream Repository

This PR syncs the latest changes from the official Qwen Code repository.

📊 Changes Summary

⚠️ Manual Steps Required

Before merging this PR, please:

  1. Review conflicts: Check if there are any merge conflicts with our custom changes
  2. Test locally: Pull the merge-back branch and test the application
    git fetch origin merge-back
    git checkout merge-back
    npm install
    npm run build
    npm test
  3. Verify custom features: Ensure our custom implementations still work:
    • ESC to restore prompt feature
    • SuperClaude features (agents, intelligence, planning, robustness)
    • Custom workflows and examples
    • Documentation updates
  4. Update dependencies: Check if any dependencies need updates
  5. Run full test suite: Ensure all tests pass
    npm run test:all
    npm run lint

🔗 References

📝 Merge Instructions

After verifying everything:

  1. Resolve any conflicts manually
  2. Update the changelog if needed
  3. Merge this PR using merge commit (not squash) to preserve upstream history

🤖 This PR was automatically created by the sync-upstream workflow.

LaZzyMan and others added 30 commits January 26, 2026 15:17
…n matching

Fixes QwenLM#1760

Windows file system is case-insensitive (e:\work equals E:\work),
but string hashing is case-sensitive, causing different session
directories for the same physical path.

Solution: normalize paths to lowercase on Windows before hashing
to ensure consistent session directory across different case variations.
Ensures consistent Windows path normalization across all path hashing.
Previously Storage used its own getFilePathHash() which didn't apply
Windows lowercase normalization, causing test failures on Windows CI.
- Add HTML template for insights display.
- Create JavaScript application logic for rendering insights.
- Introduce CSS styles for layout and design.
- Develop a test generator for validating the static insight generator.
- Define TypeScript interfaces for structured insight data.
- Refactor insight command to generate insights and open in browser.
- Remove the need for a server process by generating static files directly.
- Refine DataProcessor and StaticInsightGenerator logic
- Update StaticInsightTypes definitions
- Enhance insight command implementation
- Update package dependencies
Mingholy and others added 28 commits February 25, 2026 10:07
… document

- Create new model-providers.md with complete model provider configuration guide
- Add Bailian Coding Plan documentation with setup and auto-update details
- Remove modelProviders content from settings.md to avoid duplication
- Document reserved envKey BAILIAN_CODING_PLAN_API_KEY and security recommendations

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Fix broken link from settings.md#modelproviders to new model-providers.md

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Change X-Title to X-OpenRouter-Title for proper OpenRouter API compatibility

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
docs: enhance modelProviders documentation with comprehensive examples and behavior clarifications
…rmission

Fix: Installation script permission check for arch os and add sudo check
feat: Add clipboard image support and attachment UI to CLI
…h-case-sensitivity

fix: normalize Windows paths to lowercase for case-insensitive session matching
…nforcement

fix: enforce plan mode restrictions in ACP sessions
📸 terminal-capture: CLI Terminal Screenshot Automation
…n-mode

feat: support MCP readOnlyHint annotation in plan mode (QwenLM#1826)
Filter sessions to only include those with both user and assistant
records when generating facets. This prevents system-only logs from
being analyzed, ensuring more accurate session insights.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
- Update totalMessages to count only user messages and slash commands
- Update heatmap to reflect only user interactions
- Update activeHours to reflect only user interactions
- Update tests to verify slash commands are counted correctly

This ensures the insight report accurately reflects actual user engagement
rather than including internal tool calls and system events.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
- Add share card theme selection (light/dark) with contextual export controls
- Update heatmap colors to GitHub green palette and fix time ranges
- Limit bar charts to 10 items, use full Qwen Code name

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
- Generate date-stamped filenames (insight-YYYY-MM-DD.html)
- Append timestamp for multiple runs same day (insight-YYYY-MM-DD-HHMMSS.html)
- Create insight.html alias pointing to latest report
- Use symlink when possible, fallback to copy for cross-platform compatibility

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
- Single-line layout with muted bar, accent stage text
- Inline

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>... in stage messages for cleaner code
- Simplify command intro text
Moves export-html and insight templates from cli/assets to a new
dedicated web-templates package. Updates Dockerfile and build scripts
to use consolidated bundle/prepare:package/pack workflow.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
- Remove unused npmCommand variable from build.mjs
- Add no-undef and .mjs file support to web-templates eslint config

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
feat: Add insight command for personalized programming insights
The test 'blocks write tools in plan mode' was failing because the model
would attempt to exit plan mode via exit_plan_mode tool. By cancelling
switch_mode tool calls in the permission handler, we ensure plan mode
stays active throughout the test.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
fix(test): keep plan mode active during ACP integration test
Upstream workflows are removed to avoid permission issues when pushing the merge-back branch. Only sync-upstream.yml is kept.

Co-Authored-By: GitHub Actions <github-actions[bot]@users.noreply.github.com>
@davipeterlini davipeterlini deleted the merge-back branch February 26, 2026 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants