docs: add Deep Agents Code diagnostic commands - #5693
Merged
Mason Daugherty (mdrxy) merged 62 commits intoAug 27, 2026
Conversation
Mason Daugherty (mdrxy)
marked this pull request as ready for review
August 26, 2026 22:14
open-swe
Bot
changed the base branch from
main
to
mdrxy/docs/dcode-approval-goals
August 27, 2026 20:33
2 tasks
Document shared configuration added in recent deepagents-code releases, verified against the config manifest on langchain-ai/deepagents main: - [models].allowed allowlist: provider:model and provider:* syntax, unset vs empty-list semantics, fail-closed malformed lists (0.1.61) - startup.read_project_dotenv plus the exact dotenv-denied key set, including the git config-injection family (0.1.60) - DEEPAGENTS_HOME profile relocation: valid forms, profile paths, and the inherited-env-only trust boundary (0.1.62) - LangSmith secret redaction now enabled by default (0.1.62) - history.retention_days startup sweep for offloaded archives (0.1.61) - memory.auto_save read-only memory mode (0.1.38) - display.show_usage_stats, display.collapse_pastes, threads.compact_on_resume_threshold, update.prices_auto_update - Complete [interpreter] seven-setting reference; correct the stale --interpreter-tools default to 'safe' in the CLI reference Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
…command-diagnostics
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
…s/dcode-approval-goals
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
…command-diagnostics
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
…command-diagnostics
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Resolve the configuration introduction conflict by retaining the profile-directory wording from main.\n\nCo-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Clarify when the subagent panel shortcut applies and document custom pricing overrides behind the cost command's cross-reference.\n\nCo-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Name the genai-prices catalog explicitly so the custom override precedence is unambiguous.\n\nCo-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Add the required collaborator credit omitted from the preceding follow-up commits. Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Contributor
|
Mintlify preview branch generated: Site preview: https://langchain-5e9cc07a-preview-mdrxyd-1787874960-e422c7e.mintlify.site Important Preview links may take a few minutes to start working while the deployment finishes. Changed documentation pages (preview deep links): |
Mason Daugherty (mdrxy)
deleted the
mdrxy/docs/dcode-command-diagnostics
branch
August 27, 2026 23:57
Mason Daugherty (mdrxy)
added a commit
that referenced
this pull request
Aug 28, 2026
## Description Document MCP environment interpolation and in-session OAuth re-authentication without exposing internal resolution and UI-state details. Also covers bare `dcode mcp login` server discovery and the debug-only token-path message from current `main`. ## Release Note Document Deep Agents Code MCP environment expansion and re-authentication workflows. ## Test Plan - [x] Parse the changed JSON example. - [x] Run scoped `make lint_prose`. ## Stack This is stack 4/4 and targets #5693 (`mdrxy/docs/dcode-command-diagnostics`). Made by [Open SWE](https://openswe.vercel.app/agents/71ca157c-3fc4-5555-853e-259b564414f2) --------- Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
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
Documents the Deep Agents Code diagnostic slash commands shipped in langchain-ai/deepagents#5830 (
/context-doctor, 0.1.62), langchain-ai/deepagents#4649 (/tools, 0.1.37), and langchain-ai/deepagents#5036 (/cost, 0.1.51).cli-reference.mdx: new "Diagnose and audit a session" section covering/tools(active tool set, unavailable MCP servers, tool-shaping flags),/context-doctor(injected-context audit, estimated tokens, unexpected growth, relationship to/contextanddcode doctor), and/cost(estimated thread cost, checkpoint persistence, genai-prices source, display-only caveat). Each carries its minimum-version<Note>.quickstart.mdx: slash-command list entries plus a pointer from "Inspect context-window usage"; refreshes/clearand/force-cleardescriptions and current shortcuts (Ctrl+Geditor,Ctrl+Tsubagent panel,Shift+Tabapproval cycle).Example output was generated by exercising the real rendering code (
context_doctor.py,tool_catalog.py,_session_stats.py) against the current source at langchain-ai/deepagents@9f3a1dd38; command names, descriptions, and visibility matchcommand_registry.pyand the generatedCOMMANDS.md.Verification
vale3.9.6 (scopedlint_proseon both changed files): 0 errors, 0 warnings, 0 suggestions.mint broken-linksandmint broken-links --check-anchorson a freshpipeline build: no broken links.test_context_doctor.py,test_cost_tracking.py,test_command_registry.py,test_tool_catalog.py).AI agent involvement: authored by Open SWE.
Stack
This is stack 3/4 and targets #5692 (
mdrxy/docs/dcode-approval-goals).Made by Open SWE