Skip to content

Add get_tree and create_tree tools to repos toolset - #4

Merged
wuqunfei merged 4 commits into
mainfrom
feature/git-tree-tools
Aug 7, 2026
Merged

Add get_tree and create_tree tools to repos toolset#4
wuqunfei merged 4 commits into
mainfrom
feature/git-tree-tools

Conversation

@wuqunfei

@wuqunfei wuqunfei commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add get_tree (read) and create_tree (write) tools to the repos toolset, wrapping octokit.rest.git.getTree and octokit.rest.git.createTree respectively
  • Document both tools in README, bump version to 0.1.7
  • Allow-list new test fixture SHA-like words in the cspell dictionary so CI's spellcheck step passes

Test plan

  • npm run typecheck passes
  • npm run lint passes
  • npm run spellcheck passes (no issues in tracked files)
  • npm audit --audit-level=high reports 0 vulnerabilities
  • npm test — 237/237 tests pass, including new get_tree/create_tree cases (happy path, recursive flag, error paths, read-only vs read-write registration)
  • npm run build succeeds

@wuqunfei
wuqunfei merged commit fad8ad2 into main Aug 7, 2026
1 check 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