diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json new file mode 100644 index 0000000..613b906 --- /dev/null +++ b/.claude-plugin/marketplace.json @@ -0,0 +1,22 @@ +{ + "name": "agent-hooks", + "owner": { + "name": "1Password", + "url": "https://github.com/1Password" + }, + "description": "1Password agent hooks for AI coding agents (Claude Code, Cursor, GitHub Copilot, Windsurf).", + "plugins": [ + { + "name": "1password", + "source": "./", + "description": "Validates 1Password Environments mounted .env files before Claude Code runs Bash commands.", + "version": "1.0.0", + "author": { + "name": "1Password", + "url": "https://github.com/1Password" + }, + "license": "MIT", + "homepage": "https://github.com/1Password/agent-hooks" + } + ] +} diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..c773e87 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,20 @@ +{ + "name": "1password", + "displayName": "1Password Agent Hooks", + "version": "1.0.0", + "description": "Validates 1Password Environments mounted .env files before Claude Code runs Bash commands.", + "author": { + "name": "1Password", + "url": "https://github.com/1Password" + }, + "homepage": "https://github.com/1Password/agent-hooks", + "repository": "https://github.com/1Password/agent-hooks", + "license": "MIT", + "keywords": [ + "1password", + "secrets", + "environments", + "hooks", + "validation" + ] +} diff --git a/README.md b/README.md index 517189c..09e842a 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,24 @@ Use the `--agent` value when running the install script: | Hook | Installation | |------|--------------| -| [`1password-validate-mounted-env-files`](./hooks/1password-validate-mounted-env-files/README.md) — validates mounted `.env` files from 1Password Environments |
/add-plugin 1password); or Installation with install.sh (--agent cursor).install.sh (--agent claude-code).install.sh (--agent github-copilot).install.sh (--agent windsurf)./add-plugin 1password); or Installation with install.sh (--agent cursor)./plugin install 1password@agent-hooks); or Installation with install.sh (--agent claude-code).install.sh (--agent github-copilot).install.sh (--agent windsurf).