Skip to content

feat(init): onboard subagents across MCP and local harnesses - #215

Open
Waishnav wants to merge 3 commits into
codex/v11-agent-catalogfrom
codex/v11-agent-onboarding
Open

feat(init): onboard subagents across MCP and local harnesses#215
Waishnav wants to merge 3 commits into
codex/v11-agent-catalogfrom
codex/v11-agent-onboarding

Conversation

@Waishnav

@Waishnav Waishnav commented Aug 20, 2026

Copy link
Copy Markdown
Owner

Setup previously assumed every user needed a public MCP URL and copied a bundled skill into DevSpace state. This layer separates remote MCP access from local-harness use, allows a local-only configuration without a tunnel, detects providers, and persists the selected provider objects while preserving existing defaults.

For local harnesses, setup prints npx skills add Waishnav/devspace --skill subagent-delegation --global and leaves harness discovery and installation to the Skills CLI. DevSpace does not execute that command or write into Codex, Claude Code, OpenCode, Pi, or other harness skill directories. Remote MCP hosts continue receiving the bundled skill through workspace context.

This is layer 4 of 4, based on #214. The local-only TTY flow was exercised with isolated config and state directories, and the stack also passes the full test suite, TypeScript typecheck, and packaged build.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented Aug 20, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 7daa06bd-5b14-4b44-b44d-9542910560ed

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

@Waishnav Waishnav changed the title codex/v11 agent onboarding feat(init): onboard subagents across MCP and local harnesses Aug 20, 2026
@Waishnav
Waishnav force-pushed the codex/v11-agent-onboarding branch from 41b5c7e to b0b640b Compare August 20, 2026 09:07
@greptile-apps

greptile-apps Bot commented Aug 20, 2026

Copy link
Copy Markdown

Greptile Summary

The PR expands devspace init to onboard remote MCP access and local subagent usage independently.

  • Adds interactive provider selection and preserves provider-specific configuration while updating enabled states.
  • Replaces automatic skill copying with an explicit Skills CLI installation command for local harnesses.
  • Adds onboarding tests and updates setup, configuration, workflow, and troubleshooting documentation.

Confidence Score: 5/5

The PR appears safe to merge with no concrete blocking or independently actionable non-blocking defects identified.

The new onboarding choices map consistently to existing configuration semantics, preserve provider-specific settings, and retain MCP skill discovery through the bundled-skill fallback.

Important Files Changed

Filename Overview
src/cli.ts Extends initialization with remote-host, local-harness, subagent, and provider onboarding while conditionally presenting credentials and next steps.
src/onboarding.ts Adds a focused helper that updates provider enabled states without discarding existing model and effort settings.
src/user-config.ts Removes automatic installation of the bundled delegation skill and obsolete boolean subagent resolution helpers.
src/onboarding.test.ts Covers provider selection, preservation of provider-specific settings, disabling subagents, and the printed installation command.
skills/subagent-delegation/SKILL.md Documents the targets command as the catalog-discovery path for directly installed local-harness skills.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[devspace init] --> B{Remote MCP host?}
  B -->|Yes| C[Collect public HTTPS base URL]
  B -->|No| D[Store no public base URL]
  C --> E{Enable subagents?}
  D --> E
  E -->|Yes| F[Detect and select providers]
  E -->|No| G[Persist subagents disabled]
  F --> H[Persist provider configuration]
  H --> I{Local coding harness?}
  I -->|Yes| J[Print Skills CLI install command]
  I -->|No| K[Use bundled skill through MCP]
  J --> L[Complete setup]
  K --> L
  G --> L
Loading

Reviews (1): Last reviewed commit: 41b5c7e | Re-trigger Greptile

@Waishnav
Waishnav force-pushed the codex/v11-agent-onboarding branch from b0b640b to 0e6e211 Compare August 20, 2026 09:15
@Waishnav
Waishnav force-pushed the codex/v11-agent-onboarding branch from 0e6e211 to b058a3d Compare August 20, 2026 09:19
@Waishnav
Waishnav force-pushed the codex/v11-agent-onboarding branch from b058a3d to edffb73 Compare August 20, 2026 09:22
@Waishnav
Waishnav force-pushed the codex/v11-agent-onboarding branch from edffb73 to 2732acf Compare August 20, 2026 09:26
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