Skip to content

feat: add Devin CLI bridge support - #58

Merged
cuzfrog merged 3 commits into
mainfrom
dev_devin_support
Aug 6, 2026
Merged

feat: add Devin CLI bridge support#58
cuzfrog merged 3 commits into
mainfrom
dev_devin_support

Conversation

@abao-bot

@abao-bot abao-bot Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add a Devin CLI bridge (src/bridges/devin/) that gates write, edit, and apply_patch and injects the module-gates hint on SessionStart.
  • Add module-gates install-devin / uninstall-devin CLI commands that write .devin/hooks.v1.json.
  • Add .devin-plugin/plugin.json and root hooks.json for the Devin plugin contract.
  • Add a freeform apply_patch parser that extracts the final file state before gating.
  • Support JSONC comments in .devin/config*.json and .module-gates/config.json.
  • Update README in English, Chinese, and Japanese: Devin install instructions added, each agent section is now foldable.
  • Bump package version to 1.1.0.

Test plan

  • npm run check passes
  • npm run test passes (405 tests)
  • Manual Devin CLI smoke test in /tmp/pmg-devin-test:
    • npx module-gates install-devin wrote .devin/hooks.v1.json correctly.
    • Writing to a readonly file was blocked.
    • Writing to an editable file succeeded.
    • Adding a new export to a no-new-exports file was blocked.

Generated with Devin

cuzfrog and others added 3 commits August 6, 2026 18:53
… 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>
@cuzfrog
cuzfrog merged commit 17188d1 into main Aug 6, 2026
1 check passed
@cuzfrog
cuzfrog deleted the dev_devin_support branch August 6, 2026 23:25
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