commit 88c542f90bb7e3c22a788d485f051d6bb5d5099e Author: Zhongwei Li Date: Sun Nov 30 09:00:14 2025 +0800 Initial commit diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..b00affb --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,9 @@ +{ + "name": "add-playwrightmcp", + "description": "Playwright MCPを自動セットアップするプラグイン。Chromiumブラウザの自動インストールとMCP設定を提供します。", + "version": "1.0.0", + "author": "NDF Team", + "hooks": [ + "./hooks" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..45a8483 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# add-playwrightmcp + +Playwright MCPを自動セットアップするプラグイン。Chromiumブラウザの自動インストールとMCP設定を提供します。 diff --git a/hooks/hooks.json b/hooks/hooks.json new file mode 100644 index 0000000..7b163ae --- /dev/null +++ b/hooks/hooks.json @@ -0,0 +1,22 @@ +{ + "description": "Playwright MCP auto-setup hook", + "hooks": { + "SessionStart": [ + { + "description": "Ensure Playwright browser is installed", + "matcher": "startup|resume", + "priority": 100, + "enabled": true, + "hooks": [ + { + "type": "command", + "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/ensure-playwright.js", + "description": "Auto-install Playwright chromium on first use", + "continueOnError": false, + "suppressOutput": false + } + ] + } + ] + } +} diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..ba26451 --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:takemi-ohama/ai-agent-marketplace:plugins/add-playwrightmcp", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "e66c9cb0e674132fc03825cf5a8f72164237a8ad", + "treeHash": "144d9e0ded82255cce602a3aa66fa226d83199aef3bd055565b13121d9609b14", + "generatedAt": "2025-11-28T10:28:35.436533Z", + "toolVersion": "publish_plugins.py@0.2.0" + }, + "origin": { + "remote": "git@github.com:zhongweili/42plugin-data.git", + "branch": "master", + "commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390", + "repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data" + }, + "manifest": { + "name": "add-playwrightmcp", + "description": "Playwright MCPを自動セットアップするプラグイン。Chromiumブラウザの自動インストールとMCP設定を提供します。", + "version": "1.0.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "0dcfb6a91d830c37f827874561c884c725aa63087604502485fe88c51c524406" + }, + { + "path": "hooks/hooks.json", + "sha256": "7c5fc270754012693b5fdd323a7f3fb7cb1a9845e3c3ad3b0f38ca390e9e71e1" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "c52c9dd4614fda1f5772ec0a8778e8e446f580d6105020dfa5e7b8e4b7068e3d" + } + ], + "dirSha256": "144d9e0ded82255cce602a3aa66fa226d83199aef3bd055565b13121d9609b14" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file