Skip to content

feat(jetbrains): add Junie context integration and IDE onboarding docs#7

Merged
JustAGhosT merged 1 commit intomainfrom
feat/rider-junie-support
Mar 31, 2026
Merged

feat(jetbrains): add Junie context integration and IDE onboarding docs#7
JustAGhosT merged 1 commit intomainfrom
feat/rider-junie-support

Conversation

@JustAGhosT
Copy link
Copy Markdown
Contributor

@JustAGhosT JustAGhosT commented Mar 31, 2026

Summary

  • Add optional Junie dependency to JetBrains plugin (loaded only when Junie is installed)
  • Implement RetortWorkspaceContextService to inject active phase, tasks, and teams context into Junie AI sessions
  • Add docs/onboarding/ with per-IDE guides for VS Code, JetBrains (PyCharm/IDEA/Rider), and Zed
  • Rename CI workflow to "JetBrains Plugin", add workflow_dispatch trigger

Test plan

  • Build plugin: cd extensions/pycharm && ./gradlew buildPlugin
  • Verify plugin loads without Junie installed (optional dep must not break baseline)
  • Verify plugin loads with Junie installed — RetortWorkspaceContextService registers as project service
  • Review docs/onboarding/ guides for accuracy

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation

    • Added comprehensive onboarding guides for JetBrains, VS Code, and Zed extensions, including installation steps, requirements, and troubleshooting.
  • New Features

    • Added optional Junie integration to inject active team and task context into AI sessions within the JetBrains plugin.
  • Improvements

    • Extended plugin verification across multiple JetBrains IDE targets and updated IDE compatibility range.

- Add optional Junie dependency in plugin.xml (loaded only when Junie is installed)
- Add junie.xml descriptor registering RetortWorkspaceContextService
- Implement RetortWorkspaceContextService to build phase/task/teams context block
- Rename CI workflow to "JetBrains Plugin", add workflow_dispatch trigger
- Add docs/onboarding/ with per-IDE guides (VS Code, JetBrains, Zed) and overview

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@blocksorg
Copy link
Copy Markdown

blocksorg bot commented Mar 31, 2026

Mention Blocks like a regular teammate with your question or request:

@blocks review this pull request
@blocks make the following changes ...
@blocks create an issue from what was mentioned in the following comment ...
@blocks explain the following code ...
@blocks are there any security or performance concerns?

Run @blocks /help for more information.

Workspace settings | Disable this message

@JustAGhosT JustAGhosT merged commit 60b6cca into main Mar 31, 2026
1 of 4 checks passed
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 31, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 1d0352ae-6150-4787-a890-3eaf7d6cc956

📥 Commits

Reviewing files that changed from the base of the PR and between c035611 and 01ee9ec.

📒 Files selected for processing (9)
  • .github/workflows/pycharm.yml
  • docs/onboarding/README.md
  • docs/onboarding/jetbrains.md
  • docs/onboarding/vscode.md
  • docs/onboarding/zed.md
  • extensions/pycharm/build.gradle.kts
  • extensions/pycharm/src/main/kotlin/com/phoenixvc/retort/junie/RetortWorkspaceContextService.kt
  • extensions/pycharm/src/main/resources/META-INF/junie.xml
  • extensions/pycharm/src/main/resources/META-INF/plugin.xml

Disabled knowledge base sources:

  • Linear integration is disabled

You can enable these sources in your CodeRabbit configuration.


📝 Walkthrough

Walkthrough

The PR expands Retort IDE plugin support across multiple editors (JetBrains, VS Code, Zed), adds Junie AI integration for workspace context injection to JetBrains/IntelliJ-based IDEs, includes comprehensive onboarding documentation, and updates CI/CD verification for cross-IDE compatibility testing.

Changes

Cohort / File(s) Summary
CI/CD & Build Configuration
.github/workflows/pycharm.yml, extensions/pycharm/build.gradle.kts
Renamed workflow to "JetBrains Plugin", added manual trigger (workflow_dispatch), and extended Gradle verification to test against both PyCharm Community and Rider 2024.3 targets.
Junie Integration
extensions/pycharm/src/main/kotlin/com/phoenixvc/retort/junie/RetortWorkspaceContextService.kt, extensions/pycharm/src/main/resources/META-INF/junie.xml, extensions/pycharm/src/main/resources/META-INF/plugin.xml
Implemented new project service RetortWorkspaceContextService that assembles Junie-ready workspace context from orchestration phase, in-progress tasks, and teams files. Added optional Junie plugin dependency and descriptor integration; context is auto-injected into AI sessions when Junie is installed.
Onboarding Documentation
docs/onboarding/README.md, docs/onboarding/jetbrains.md, docs/onboarding/vscode.md, docs/onboarding/zed.md
Added comprehensive multi-IDE onboarding guides covering installation, activation, UI elements, command surfaces, prerequisites, and troubleshooting for Retort extensions across JetBrains, VS Code, and Zed editors.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related issues

  • feat(rider): add JetBrains Rider + Junie support #5 — This PR directly implements Rider verification support and Junie integration as specified, including the new workspace context service, optional Junie dependency declaration, and cross-IDE CI verification.

Poem

🐰 A hop through IDEs with context so fine,
JetBrains, VS Code, and Zed align,
Junie now whispers what tasks are in flight,
With onboarding docs shining crystal-bright,
The plugin now dances on Rider's delight!

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/rider-junie-support

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.

@JustAGhosT JustAGhosT deleted the feat/rider-junie-support branch March 31, 2026 21:26
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 01ee9ecf57

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

?.mapNotNull { f ->
try {
val text = f.readText()
if (text.contains(""""status":"working"""") || text.contains(""""status":"accepted"""")) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Parse task status via JSON before filtering in-progress tasks

buildContext() currently treats a task as in-progress only when the raw file text contains the exact substrings "status":"working" or "status":"accepted"; this misses valid JSON that includes whitespace (for example "status": "working"), so active tasks are silently dropped from injected context. Parsing the task JSON (or using a whitespace-tolerant status matcher) would avoid false negatives for formatted task files.

Useful? React with 👍 / 👎.

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.

1 participant