Skip to content

feat: implement get_dependencies MCP tool (include_tree)#267

Merged
rdmueller merged 1 commit intodocToolchain:mainfrom
raifdmueller:feature/get-dependencies-67
Feb 7, 2026
Merged

feat: implement get_dependencies MCP tool (include_tree)#267
rdmueller merged 1 commit intodocToolchain:mainfrom
raifdmueller:feature/get-dependencies-67

Conversation

@raifdmueller
Copy link
Collaborator

Summary

  • Adds get_dependencies MCP tool that returns the include tree (which AsciiDoc files include which other files)
  • Adds get_dependencies() method to StructureIndex that extracts include relationships from parsed AsciidocDocument.includes
  • Phase 1 of Tech-Debt: Implement get_dependencies endpoint #67: cross_references is reserved for future use (returns empty list)
  • Updates API spec and user manual documentation
  • 10 new tests (unit, MCP tool, integration with real parsing)
  • Bumps version to 0.4.29

Fixes #67

Test plan

  • 10 new tests covering empty index, single/multiple docs, Markdown exclusion, relative paths, integration
  • All 690 tests pass (no regressions)
  • Ruff lint clean

🤖 Generated with Claude Code

…n#67)

Phase 1: Exposes include dependencies between AsciiDoc files as a new
MCP tool. Adds get_dependencies() to StructureIndex that extracts
include relationships from parsed AsciidocDocument.includes.

Cross-references are reserved for future implementation (empty list).
Bumps version to 0.4.29.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@rdmueller rdmueller merged commit 2bc3982 into docToolchain:main Feb 7, 2026
3 checks passed
@raifdmueller raifdmueller deleted the feature/get-dependencies-67 branch February 7, 2026 21:30
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.

Tech-Debt: Implement get_dependencies endpoint

2 participants