Skip to content

Add jcode coding agent to CLI - #121

Merged
nezhar merged 1 commit into
mainfrom
issue-119-jcode
Jul 30, 2026
Merged

Add jcode coding agent to CLI#121
nezhar merged 1 commit into
mainfrom
issue-119-jcode

Conversation

@nezhar

@nezhar nezhar commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Adds support for the Jcode agent to VibePod. Jcode is now recognized as a first-class agent throughout the CLI, configuration, documentation, and tests. The changes ensure Jcode can be run, configured, and managed just like other agents, with appropriate documentation and test coverage.

Jcode Agent Integration

  • Added Jcode to the list of supported agents, including shortcut command (vp j) and default image (vibepod/jcode:latest).
  • Implemented Jcode’s agent specification in AgentSpec, including environment variables, config mount path, command, and headless mode support.
  • Updated the CLI and agent skill path logic to recognize Jcode, ensuring skills and volumes are mounted correctly.

Documentation Updates

  • Added comprehensive documentation for Jcode, including usage instructions, authentication, configuration, proxy/TLS handling, non-interactive mode, and skills support.
  • Updated all relevant tables and sections in the docs to include Jcode as a supported agent.

Summary by CodeRabbit

  • New Features

    • Added Jcode as a supported agent.
    • Added the vp j shortcut for launching Jcode.
    • Added default image configuration and support for overriding it with VP_IMAGE_JCODE.
    • Added headless execution support, authentication guidance, configuration options, proxy/TLS details, and skills mounting behavior.
  • Documentation

    • Updated the README, quickstart, configuration guide, and agent documentation with Jcode setup and usage instructions.
  • Tests

    • Added coverage for Jcode configuration, shortcuts, image overrides, headless execution, and skill mounting.

@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@nezhar, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 48 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 81d0fbe6-5bf4-43bf-a6c2-c2395ff24c1d

📥 Commits

Reviewing files that changed from the base of the PR and between 9e32ad3 and 0aa93d3.

📒 Files selected for processing (14)
  • README.md
  • docs/agents/index.md
  • docs/configuration.md
  • docs/index.md
  • docs/quickstart.md
  • src/vibepod/commands/run.py
  • src/vibepod/constants.py
  • src/vibepod/core/agents.py
  • src/vibepod/core/config.py
  • tests/test_agents.py
  • tests/test_cli.py
  • tests/test_constants.py
  • tests/test_run.py
  • tests/test_task_cmd.py
📝 Walkthrough

Walkthrough

Adds the jcode agent with shortcut, image overrides, default configuration, runtime specification, skills mounting, documentation, and automated coverage for CLI, container, task, and image behavior.

Changes

Jcode integration

Layer / File(s) Summary
Agent registration and defaults
src/vibepod/constants.py, src/vibepod/core/agents.py, src/vibepod/core/config.py
Registers jcode, maps vp j, resolves its default or overridden image, and adds its runtime and configuration defaults.
Runtime and skills wiring
src/vibepod/commands/run.py
Adds jcode to shared agent skill discovery and mounting.
Integration and contract validation
tests/test_agents.py, tests/test_cli.py, tests/test_constants.py, tests/test_run.py, tests/test_task_cmd.py
Validates the agent contract, shortcut, image behavior, skill mounts, unsupported flags, and headless prefix.
Jcode documentation
README.md, docs/agents/index.md, docs/configuration.md, docs/index.md, docs/quickstart.md
Documents supported-agent listings, configuration, invocation, authentication, image overrides, skills, and runtime constraints.

Estimated code review effort: 2 (Simple) | ~15 minutes

Sequence Diagram(s)

sequenceDiagram
  participant CLI
  participant AgentRegistry
  participant Runtime
  participant JcodeContainer
  CLI->>AgentRegistry: resolve "j" to "jcode"
  AgentRegistry->>Runtime: load jcode specification and image
  Runtime->>JcodeContainer: start jcode with config and skill mounts
Loading

Possibly related issues

Possibly related PRs

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main change: adding the jcode coding agent to the CLI.
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.
✨ Finishing Touches 💡 2
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🛠️ Fix failing CI checks 💡
  • Fix failing CI checks
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch issue-119-jcode

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.

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

Copy link
Copy Markdown

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: 9e32ad3c35

ℹ️ 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".

# $HOME and its provider env files via XDG config (~/.config/jcode),
# so pointing HOME at the persisted /config mount covers both.
{"HOME": "/config", "JCODE_NO_AUTO_UPDATE": "1"},
headless_prefix=["run"],

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 Mount installed skills for Jcode tasks

When vp task create jcode ... is used with installed project or user skills, task.create builds extra_volumes only from agent_extra_volumes and never invokes the skills-mount logic added for Jcode in run.py. Consequently, the new task-mode path launches successfully but lacks /config/.agents/skills/<id>, so Jcode cannot discover those skills despite the documented support; task creation should add the same resolved skill mounts as vp run.

Useful? React with 👍 / 👎.

@coderabbitai coderabbitai Bot left a comment

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.

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 `@src/vibepod/core/agents.py`:
- Line 172: Update the Jcode command construction in the agent execution flow to
pass the supported global `--no-update` flag before `run`, replacing the
ineffective `JCODE_NO_AUTO_UPDATE` environment entry; preserve the existing
command behavior otherwise.
🪄 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: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 81146956-60ad-42b4-9f80-0d2d1139d3f6

📥 Commits

Reviewing files that changed from the base of the PR and between aa51fe1 and 9e32ad3.

📒 Files selected for processing (14)
  • README.md
  • docs/agents/index.md
  • docs/configuration.md
  • docs/index.md
  • docs/quickstart.md
  • src/vibepod/commands/run.py
  • src/vibepod/constants.py
  • src/vibepod/core/agents.py
  • src/vibepod/core/config.py
  • tests/test_agents.py
  • tests/test_cli.py
  • tests/test_constants.py
  • tests/test_run.py
  • tests/test_task_cmd.py

Comment thread src/vibepod/core/agents.py
@nezhar
nezhar force-pushed the issue-119-jcode branch from 9e32ad3 to 0aa93d3 Compare July 29, 2026 22:45
@nezhar

nezhar commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: 0aa93d3f94

ℹ️ 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".

@nezhar
nezhar merged commit 7b45600 into main Jul 30, 2026
47 checks passed
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