feat: add Devin CLI bridge support - #58
Merged
Merged
Conversation
… parser and installer Add a Devin CLI bridge so module-gates can block write/edit/apply_patch and inject session context the same way it does for Claude Code and pi. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
- Make each agent's installation section foldable with <details> - Add Devin CLI (plugin and plain hooks) instructions in all three languages - Bump package version to 1.1.0 for the new feature Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
GitHub rejected the 10-minute JWT as too far in the future; 5 minutes keeps it safely inside the accepted window. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@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
src/bridges/devin/) that gateswrite,edit, andapply_patchand injects the module-gates hint onSessionStart.module-gates install-devin/uninstall-devinCLI commands that write.devin/hooks.v1.json..devin-plugin/plugin.jsonand roothooks.jsonfor the Devin plugin contract.apply_patchparser that extracts the final file state before gating..devin/config*.jsonand.module-gates/config.json.1.1.0.Test plan
npm run checkpassesnpm run testpasses (405 tests)/tmp/pmg-devin-test:npx module-gates install-devinwrote.devin/hooks.v1.jsoncorrectly.readonlyfile was blocked.no-new-exportsfile was blocked.Generated with Devin