Repository navigation
agent, cli, web, docs: remove useSubagent - #835
Merged
Merged
Conversation
The useSubagent() hook declared a subagent roster in the render manifest that nothing consumed — the edge recorded enabledSubagents on renders nobody read, and the adapter threw if the roster was non-empty. Member agents of a project are reached with the consult tool instead, which validates against real project membership. - @opencomputer/agent: drop useSubagent from AgentHooks and the public exports (source "subagent" in InputSource stays — it is the provenance tag consult answers carry) - @opencomputer/cli: stop extracting manifest.subagents and drop the useSubagent shim - dashboard: drop the Subagents inspector section; the render schema keeps enabledSubagents optional so older stored renders still parse - docs: remove the subagents page and every reference - versions: agent 0.8.0 -> 0.9.0, cli 0.7.15 -> 0.7.16 (+ create-start) Co-Authored-By: Mohamed <mo@digger.dev>
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Co-Authored-By: Mohamed <mo@digger.dev>
motatoes
approved these changes
Oct 5, 2026
This branch was successfully deployed
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.
Summary
Removes
useSubagent()end to end (the blue half is diggerhq/blue#150). The hook declared asubagentsroster in the render manifest that nothing consumed — the edge recordedenabledSubagentson renders nobody read, and the OpenCode 2 adapter threw when the roster was non-empty. Member agents of a project are reached with theconsulttool instead, which validates against real project membership.@opencomputer/agent:useSubagentremoved fromAgentHooksand the public exports."subagent"stays inInputSource— it is the provenance tag consult answers carry, not part of the removed feature.@opencomputer/cli:subagents: literalHookIds(agentSource, "useSubagent")removed from the manifest build, and theuseSubagentstub removed from the bundler shim.DebugInspector;enabledSubagentsin the render zod schema is now.optional()so older stored renders still parse.agents/subagents.mdxdeleted, nav entry removed fromdocs.json, and all references scrubbed (hooks,reactive-agents,capabilities,mental-model,overview,quickstart,events,llms.txt, agent README).source === "subagent"mentions ininputs.mdx/sessions.mdxkept — the source value still exists.agent0.8.0 → 0.9.0 (breaking: export removed),cli0.7.15 → 0.7.16 withcreate-startversion + dependency synced, lockfiles bumped in place.Verification
agentnpm test: 21 pass.clinpm test: 138 pass.webtypecheck clean;api.test.ts10 pass.Link to Devin session: https://app.devin.ai/sessions/68d4925d9c7341dd960bf5e64e85c7e6
Open in Devin Desktop: https://app.devin.ai/desktop/session/68d4925d9c7341dd960bf5e64e85c7e6?variant=devin
Requested by: @motatoes