#332: Support Jetbrains's Junie CLI Agentic AI.#1877
Open
Basster wants to merge 2 commits intogithub:mainfrom
Open
#332: Support Jetbrains's Junie CLI Agentic AI.#1877Basster wants to merge 2 commits intogithub:mainfrom
Basster wants to merge 2 commits intogithub:mainfrom
Conversation
Add Junie CLI support across all relevant scripts, configurations, and tests.
…e preserving Junie CLI support Co-authored-by: Junie <junie@jetbrains.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds support for JetBrains Junie CLI as a first-class AI agent option in Spec Kit, aligning runtime configuration, scaffolding/release packaging, dev tooling, and documentation.
Changes:
- Add
junieto runtime agent configuration and extension command registration (.junie/commands, Markdown,.md). - Update agent-context update scripts (bash + PowerShell) and release packaging scripts/docs to include Junie.
- Add consistency tests ensuring Junie appears across key integration surfaces.
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
tests/test_agent_config_consistency.py |
Adds Junie cross-surface consistency checks (runtime config, registrar, scripts, help). |
src/specify_cli/agents.py |
Registers Junie command output target/format for command generation. |
src/specify_cli/__init__.py |
Adds Junie to AGENT_CONFIG so CLI help and specify check include it. |
scripts/powershell/update-agent-context.ps1 |
Adds Junie agent type support and .junie/guidelines.md target file. |
scripts/bash/update-agent-context.sh |
Adds Junie agent type support and .junie/guidelines.md target file. |
README.md |
Documents Junie support in agent list, check tool list, and --ai options/examples. |
AGENTS.md |
Documents Junie command directory and CLI requirement. |
.github/workflows/scripts/create-release-packages.sh |
Adds Junie package generation targeting .junie/commands. |
.github/workflows/scripts/create-release-packages.ps1 |
Adds Junie to agent lists (but currently missing build support in Build-Variant). |
.github/workflows/scripts/create-github-release.sh |
Includes Junie artifacts in GitHub release creation. |
.devcontainer/post-create.sh |
Installs Junie CLI in the devcontainer environment. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
472
to
474
| # Define all agents and scripts | ||
| $AllAgents = @('claude', 'gemini', 'copilot', 'cursor-agent', 'qwen', 'opencode', 'windsurf', 'codex', 'kilocode', 'auggie', 'roo', 'codebuddy', 'amp', 'kiro-cli', 'bob', 'qodercli', 'shai', 'tabnine', 'agy', 'vibe', 'kimi', 'generic') | ||
| $AllAgents = @('claude', 'gemini', 'copilot', 'cursor-agent', 'qwen', 'opencode', 'windsurf', 'codex', 'kilocode', 'auggie', 'roo', 'codebuddy', 'amp', 'kiro-cli', 'bob', 'qodercli', 'junie', 'shai', 'tabnine', 'agy', 'vibe', 'kimi', 'generic') | ||
| $AllScripts = @('sh', 'ps') |
Comment on lines
+256
to
+270
| def test_junie_in_release_agent_lists(self): | ||
| """Bash and PowerShell release scripts should include junie in agent lists.""" | ||
| sh_text = (REPO_ROOT / ".github" / "workflows" / "scripts" / "create-release-packages.sh").read_text(encoding="utf-8") | ||
| ps_text = (REPO_ROOT / ".github" / "workflows" / "scripts" / "create-release-packages.ps1").read_text(encoding="utf-8") | ||
|
|
||
| sh_match = re.search(r"ALL_AGENTS=\(([^)]*)\)", sh_text) | ||
| assert sh_match is not None | ||
| sh_agents = sh_match.group(1).split() | ||
|
|
||
| ps_match = re.search(r"\$AllAgents = @\(([^)]*)\)", ps_text) | ||
| assert ps_match is not None | ||
| ps_agents = re.findall(r"'([^']+)'", ps_match.group(1)) | ||
|
|
||
| assert "junie" in sh_agents | ||
| assert "junie" in ps_agents |
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.
Description
Add Junie CLI support across all relevant scripts, configurations, and tests.
Testing
uv run specify --helpuv sync && uv run pytestAI Disclosure
Code generated by Junie.
Replacement for #1831, covers #332.