Repository navigation
Clarify repo_run_commands capability discovery guidance - #343
Conversation
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (11)
📝 WalkthroughWalkthroughDocumentation and capability metadata for ChangesRepo Run Commands Git-Only Constraint Documentation & Metadata
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Review rate limit: 0/1 reviews remaining, refill in 60 minutes.Comment |
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
|
🔎 Preview deployed: https://kody-pr-343.kentcdodds.workers.dev Worker: Mocks:
|
Summary
repo_run_commandscapability and commands-field guidance in shared constantsTesting
npx vitest run --project node-unit --project workers-unit packages/worker/src/mcp/capabilities/build-capability-registry.workers.test.ts packages/worker/src/mcp/tools/search-format.node.test.tsnpm run typechecknpx oxlint packages/worker/src/mcp/capabilities/build-capability-registry.workers.test.ts packages/worker/src/mcp/capabilities/repo/repo-run-commands-text.ts packages/worker/src/mcp/capabilities/repo/repo-run-commands.ts packages/worker/src/mcp/capabilities/repo/repo-shared.ts packages/worker/src/mcp/tools/execute.ts packages/worker/src/mcp/tools/search-format.node.test.tsSummary by CodeRabbit
Documentation
repo_run_commandsaccepts only parsed git commands and explicitly rejects shell syntax including pipes, command substitution, and non-git toolsgit cloneremains unsupportedTests