Skip to content

Update MI Copilot docs#2255

Open
IsuruMaduranga wants to merge 3 commits into
wso2:mainfrom
IsuruMaduranga:copillot
Open

Update MI Copilot docs#2255
IsuruMaduranga wants to merge 3 commits into
wso2:mainfrom
IsuruMaduranga:copillot

Conversation

@IsuruMaduranga
Copy link
Copy Markdown
Contributor

No description provided.

IsuruMaduranga and others added 2 commits May 11, 2026 15:22
Replace the single mi-copilot.md page with a three-page subsection
(overview, modes, features) and update the VS Code overview and
AI code generation guide to describe Edit/Plan/Ask modes, sign-in
options, and checkpoint-based workflow.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Add 16 new screenshots for the WSO2 Integrator Copilot overview, modes,
and features pages, and refresh the panel/sign-in screenshots for the
new Copilot UI. Refine the Copilot doc pages to describe the per-turn
and per-message checkpoints, adaptive thinking, and the full agent
loop. Modernize the AI code generation guide to describe the new
agent-mode flow (todo lists, tool call indicators, conversational
build-and-run) instead of the old generate-and-add-to-project UI.
Copilot AI review requested due to automatic review settings May 12, 2026 10:02
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 12, 2026

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 015b067b-4e3d-4669-aeaf-1e33fdd4daf5

📥 Commits

Reviewing files that changed from the base of the PR and between 82477ce and c5994e3.

📒 Files selected for processing (1)
  • en/docs/develop/mi-for-vscode/wso2-integrator-copilot/modes.md

📝 Walkthrough

Summary

This pull request updates WSO2 MI documentation to rebrand "MI Copilot" as "WSO2 Integrator Copilot" and adds comprehensive, user-facing documentation for the Copilot integrated in MI for VS Code.

Key Changes

  • Rebranding and copy updates:

    • Replaced occurrences of "MI Copilot" with "WSO2 Integrator Copilot" across multiple docs and links (integration guides, unit-test guide note, release notes, data mapper docs, etc.).
  • New documentation pages (en/docs/develop/mi-for-vscode/wso2-integrator-copilot/):

    • Overview: Copilot capabilities, how to open the panel, sign-in options (WSO2 Account, Anthropic API key, AWS Bedrock), expected chat behaviors, and navigation pointers.
    • Modes: Detailed descriptions and usage of Ask, Edit (default), and Plan modes, including mode-specific behaviors, checkpoint and shell-command handling, and a Plan approval workflow with walkthroughs.
    • Features: Detailed feature list—per-turn and per-message checkpoints (disk persistence), plan approval and todo tracking, attachments and file mentions, session management and append-only sessions, adaptive thinking toggle, shell command approval tiers, model selection presets, usage/quota handling, long-conversation compaction, and reconnection behavior.
  • Expanded and revised guides:

    • Updated MI-for-VSCode overview and tutorial content to align workflows with the Copilot (streaming agent loop, checkpoints/undo/accept, attachment handling, build/run via Copilot).
    • Adjusted AI code generation guide to a Copilot-driven workflow (attach specs, edit mode usage, Copilot build/deploy interactions).
    • Edited several integration development pages to reference the new Copilot naming and documentation.
  • Navigation/config:

    • Updated en/mkdocs.yml to add a WSO2 Integrator Copilot section under Develop → WSO2 MI for VSCode with the new Overview, Modes, and Features pages.

Impact and Review Notes

  • All changes are documentation-only; no code or public API entities were altered.
  • Scope ranges from small copy/link updates to several new long-form documentation pages—review effort estimated Low–Medium depending on files (major new pages added).

Walkthrough

The changes are documentation-only: they rename and reorganize MI Copilot content into a new WSO2 Integrator Copilot section, add three new pages (overview, modes, features), update navigation (en/mkdocs.yml), revise multiple guides and references (including an AI code-generation tutorial and data-mapper mediator docs), and remove content from the legacy mi-copilot page.

Sequence Diagram(s)

sequenceDiagram
  participant User
  participant VSCodePanel as "Copilot Panel (VS Code)"
  participant CopilotBackend as "Copilot Backend"
  participant Auth as "Auth Provider (WSO2/Anthropic/Bedrock)"
  User->>VSCodePanel: open panel, sign in
  VSCodePanel->>Auth: perform authentication
  User->>VSCodePanel: send message + attachments (Ask/Edit/Plan)
  VSCodePanel->>CopilotBackend: forward prompt, files
  CopilotBackend->>VSCodePanel: stream response, tool calls, checkpoints
  VSCodePanel->>User: render streamed output and checkpoint cards
Loading
🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Description check ⚠️ Warning No pull request description was provided. The description template requires multiple sections including Purpose, Goals, Approach, User stories, Release note, and Documentation, none of which are addressed. Add a comprehensive pull request description following the repository template, including Purpose (what changed and why), Goals, Approach, Release note, and Documentation impact summary.
Title check ❓ Inconclusive The title 'Update MI Copilot docs' is vague and generic. It does not clearly convey the specific nature of the documentation changes, such as the migration from MI Copilot to WSO2 Integrator Copilot branding. Consider a more descriptive title such as 'Rebrand MI Copilot to WSO2 Integrator Copilot in documentation' or 'Add WSO2 Integrator Copilot documentation with updated features and modes'.
✅ Passed checks (3 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@en/docs/get-started/how-to-guides/ai-code-generation.md`:
- Around line 188-190: Replace the fenced code block that contains the text
"Build the project and start the server." with a Markdown indented code block
(prefix the line with four spaces) so it conforms to markdownlint code-block
style; locate the fenced block (``` ... ```) around that exact sentence and
convert it to an indented block instead of using backticks.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 6a8f7443-0d1e-4aa0-9ebf-d18eac2e940d

📥 Commits

Reviewing files that changed from the base of the PR and between 0117c26 and 82477ce.

⛔ Files ignored due to path filters (20)
  • en/docs/assets/img/develop/mi-for-vscode/open-ai-panel.png is excluded by !**/*.png
  • en/docs/assets/img/develop/mi-for-vscode/sign-in-to-copilot.png is excluded by !**/*.png
  • en/docs/assets/img/develop/mi-for-vscode/wso2-integrator-copilot/adaptive-thinking-setting.png is excluded by !**/*.png
  • en/docs/assets/img/develop/mi-for-vscode/wso2-integrator-copilot/ask-mode-add-to-project.png is excluded by !**/*.png
  • en/docs/assets/img/develop/mi-for-vscode/wso2-integrator-copilot/attachments.png is excluded by !**/*.png
  • en/docs/assets/img/develop/mi-for-vscode/wso2-integrator-copilot/checkpoint-card.png is excluded by !**/*.png
  • en/docs/assets/img/develop/mi-for-vscode/wso2-integrator-copilot/edit-mode-checkpoint.png is excluded by !**/*.png
  • en/docs/assets/img/develop/mi-for-vscode/wso2-integrator-copilot/edit-mode-todo-list.png is excluded by !**/*.png
  • en/docs/assets/img/develop/mi-for-vscode/wso2-integrator-copilot/first-message-walkthrough.png is excluded by !**/*.png
  • en/docs/assets/img/develop/mi-for-vscode/wso2-integrator-copilot/mentions.png is excluded by !**/*.png
  • en/docs/assets/img/develop/mi-for-vscode/wso2-integrator-copilot/message-checkpoint.png is excluded by !**/*.png
  • en/docs/assets/img/develop/mi-for-vscode/wso2-integrator-copilot/mode-switcher.png is excluded by !**/*.png
  • en/docs/assets/img/develop/mi-for-vscode/wso2-integrator-copilot/model-settings.png is excluded by !**/*.png
  • en/docs/assets/img/develop/mi-for-vscode/wso2-integrator-copilot/plan-approval-dialog.png is excluded by !**/*.png
  • en/docs/assets/img/develop/mi-for-vscode/wso2-integrator-copilot/session-switcher.png is excluded by !**/*.png
  • en/docs/assets/img/develop/mi-for-vscode/wso2-integrator-copilot/sign-in-options.png is excluded by !**/*.png
  • en/docs/assets/img/develop/mi-for-vscode/wso2-integrator-copilot/thinking-segment.png is excluded by !**/*.png
  • en/docs/assets/img/develop/mi-for-vscode/wso2-integrator-copilot/todo-list.png is excluded by !**/*.png
  • en/docs/assets/img/get-started/how-to-guides/ai-code-gen/ai-code-gen-open-ai-panel.png is excluded by !**/*.png
  • en/docs/assets/img/get-started/how-to-guides/ai-code-gen/ai-code-gen-sign-in-ai.png is excluded by !**/*.png
📒 Files selected for processing (12)
  • en/docs/develop/create-integration-project.md
  • en/docs/develop/creating-unit-test-suite.md
  • en/docs/develop/intro-integration-development.md
  • en/docs/develop/mi-for-vscode/mi-copilot.md
  • en/docs/develop/mi-for-vscode/mi-for-vscode-overview.md
  • en/docs/develop/mi-for-vscode/wso2-integrator-copilot/features.md
  • en/docs/develop/mi-for-vscode/wso2-integrator-copilot/modes.md
  • en/docs/develop/mi-for-vscode/wso2-integrator-copilot/overview.md
  • en/docs/get-started/about-this-release.md
  • en/docs/get-started/how-to-guides/ai-code-generation.md
  • en/docs/reference/mediators/data-mapper-mediator.md
  • en/mkdocs.yml
💤 Files with no reviewable changes (1)
  • en/docs/develop/mi-for-vscode/mi-copilot.md

Comment on lines +188 to +190
```
Build the project and start the server.
```
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Align the command example with markdownlint code-block rules.

Line 188 uses a fenced block without a language and conflicts with the configured code-block style. Converting this to an indented command block resolves both warnings.

Proposed fix
-```
-Build the project and start the server.
-```
+    Build the project and start the server.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
```
Build the project and start the server.
```
Build the project and start the server.
🧰 Tools
🪛 markdownlint-cli2 (0.22.1)

[warning] 188-188: Fenced code blocks should have a language specified

(MD040, fenced-code-language)


[warning] 188-188: Code block style
Expected: indented; Actual: fenced

(MD046, code-block-style)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@en/docs/get-started/how-to-guides/ai-code-generation.md` around lines 188 -
190, Replace the fenced code block that contains the text "Build the project and
start the server." with a Markdown indented code block (prefix the line with
four spaces) so it conforms to markdownlint code-block style; locate the fenced
block (``` ... ```) around that exact sentence and convert it to an indented
block instead of using backticks.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the documentation set to reflect the renamed and expanded WSO2 Integrator Copilot experience in MI for VS Code, replacing the older “MI Copilot” docs and wiring in a new multi-page documentation section.

Changes:

  • Replaces the single “MI Copilot” doc with a new WSO2 Integrator Copilot doc set (Overview / Modes / Features) and updates navigation accordingly.
  • Updates cross-references across docs (Data Mapper, release notes, onboarding pages, unit-test docs) to point to the new Copilot docs.
  • Refreshes the AI code generation tutorial to align with the newer Copilot workflow (modes, checkpoints, sign-in options, agent loop).

Reviewed changes

Copilot reviewed 12 out of 32 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
en/mkdocs.yml Replaces the single “MI Copilot” nav item with a new “WSO2 Integrator Copilot” section (overview/modes/features).
en/docs/reference/mediators/data-mapper-mediator.md Updates AI Data Mapper section to reference WSO2 Integrator Copilot and adjusts wording.
en/docs/get-started/how-to-guides/ai-code-generation.md Rewrites the tutorial to match the new Copilot UX and agent workflow.
en/docs/get-started/about-this-release.md Updates release notes to describe the new Copilot conversational modes and links to the new docs.
en/docs/develop/mi-for-vscode/wso2-integrator-copilot/overview.md Adds the new Copilot overview page (panel entry points, sign-in, first message, anatomy).
en/docs/develop/mi-for-vscode/wso2-integrator-copilot/modes.md Adds a new page documenting Ask/Edit/Plan modes with walkthroughs.
en/docs/develop/mi-for-vscode/wso2-integrator-copilot/features.md Adds a new feature reference page (checkpoints, plan approval, attachments, sessions, models, quota).
en/docs/develop/mi-for-vscode/mi-for-vscode-overview.md Updates the MI for VS Code overview to describe and link to the new Copilot docs.
en/docs/develop/mi-for-vscode/mi-copilot.md Removes the legacy MI Copilot page.
en/docs/develop/intro-integration-development.md Updates the “MI Copilot” entry to “WSO2 Integrator Copilot” and links to the new overview page.
en/docs/develop/creating-unit-test-suite.md Updates the AI sign-in note to reference WSO2 Integrator Copilot and links to the overview page.
en/docs/develop/create-integration-project.md Updates the AI assistance link to point to the new Copilot overview page.
Comments suppressed due to low confidence (3)

en/docs/get-started/how-to-guides/ai-code-generation.md:92

  • This fenced code block is labeled as yaml, but the content is Synapse XML. Please change the fence language to xml so syntax highlighting is correct.
    ??? "WeatherEmailService API source"
        === "Source View"
            ```yaml
            <api xmlns="http://ws.apache.org/ns/synapse" name="WeatherEmailService" context="/weatherEmail">
                <resource methods="GET" uri-template="/getWeather?city={city}&amp;email={email}">
                    <inSequence>

en/docs/get-started/how-to-guides/ai-code-generation.md:143

  • This fenced code block is labeled as yaml, but it contains XML (<?xml ...?> / <localEntry ...>). Please switch the fence language to xml for correct formatting/highlighting.
        === "Source View"
            ```yaml
            <?xml version="1.0" encoding="UTF-8"?>
            <localEntry key="EMAIL_CONN" xmlns="http://ws.apache.org/ns/synapse">
                <email.init>

en/docs/get-started/how-to-guides/ai-code-generation.md:162

  • This fenced code block is labeled as yaml, but it contains XML (<?xml ...?> / <localEntry ...>). Please switch the fence language to xml for correct formatting/highlighting.
        === "Source View"
            ```yaml
            <?xml version="1.0" encoding="UTF-8"?>
            <localEntry key="OpenWeather" xmlns="http://ws.apache.org/ns/synapse">
                <http.init>

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread en/docs/develop/mi-for-vscode/wso2-integrator-copilot/modes.md Outdated

Press **Enter**. The Copilot opens a new chat session in **Edit mode** (the default) and starts working:

- You see the Copilot's reasoning stream in live, followed by **tool call indicators** (for example, *reading file*, *adding connector*, *writing `src/main/wso2mi/artifacts/apis/OrderAPI.xml`*).
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Comment thread en/mkdocs.yml
- MI Copilot: develop/mi-for-vscode/mi-copilot.md
- WSO2 Integrator Copilot:
- Overview: develop/mi-for-vscode/wso2-integrator-copilot/overview.md
- "Modes: Ask, Edit, and Plan": develop/mi-for-vscode/wso2-integrator-copilot/modes.md
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- "Modes: Ask, Edit, and Plan": develop/mi-for-vscode/wso2-integrator-copilot/modes.md
- Modes: Ask, Edit, and Plan: develop/mi-for-vscode/wso2-integrator-copilot/modes.md

Comment thread en/mkdocs.yml
- WSO2 MI for VSCode:
- "WSO2 Integrator: MI for VSCode Overview": develop/mi-for-vscode/mi-for-vscode-overview.md
- Troubleshooting MI for VS Code: develop/mi-for-vscode/troubleshooting-mi-for-vscode.md
- MI Copilot: develop/mi-for-vscode/mi-copilot.md
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is removed, we need to add redirections. Otherwise it will give 404 when switch to latest version from a previous version (and old links)

- ai
---

# Features
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's say WSO2 integrator copilot features. Otherwise when someone lands directly into this page, that does not give clear picture on what this content is about.

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.

4 participants