2025-02-03 17:30:58 +01:00
|
|
|
{
|
2025-04-03 23:05:09 +02:00
|
|
|
"name": "mcp-wp/ai-command",
|
2025-02-03 17:30:58 +01:00
|
|
|
"type": "wp-cli-package",
|
|
|
|
"description": "",
|
2025-04-03 23:05:09 +02:00
|
|
|
"homepage": "https://github.com/mcp-wp/ai-command",
|
2025-04-04 12:58:00 +02:00
|
|
|
"license": "Apache-2.0",
|
2025-02-03 17:30:58 +01:00
|
|
|
"authors": [],
|
|
|
|
"require": {
|
2025-03-10 14:47:11 +01:00
|
|
|
"php": "^8.2",
|
2025-04-07 19:48:30 +02:00
|
|
|
"logiscape/mcp-sdk-php": "dev-main",
|
2025-04-03 23:05:09 +02:00
|
|
|
"mcp-wp/mcp-server": "dev-main",
|
2025-03-15 12:00:57 +01:00
|
|
|
"wp-cli/wp-cli": "^2.11"
|
2025-02-03 17:30:58 +01:00
|
|
|
},
|
|
|
|
"require-dev": {
|
2025-04-03 23:05:09 +02:00
|
|
|
"humbug/php-scoper": "^0.18.17",
|
2025-04-24 15:38:11 +02:00
|
|
|
"phpstan/extension-installer": "^1.4",
|
|
|
|
"phpstan/phpstan": "^2.1",
|
|
|
|
"phpstan/phpstan-strict-rules": "^2.0",
|
2025-04-03 23:05:09 +02:00
|
|
|
"roave/security-advisories": "dev-latest",
|
2025-04-08 09:42:20 +02:00
|
|
|
"wp-cli/extension-command": "^2.1",
|
2025-04-24 16:15:27 +02:00
|
|
|
"wp-cli/wp-cli-tests": "^v4.3.9",
|
|
|
|
"wpackagist-plugin/ai-services": "^0.6.0"
|
2025-02-03 17:30:58 +01:00
|
|
|
},
|
2025-04-24 16:15:27 +02:00
|
|
|
"repositories":[
|
2025-04-24 15:38:11 +02:00
|
|
|
{
|
2025-04-24 16:15:27 +02:00
|
|
|
"type":"composer",
|
|
|
|
"url":"https://wpackagist.org",
|
|
|
|
"only": [
|
|
|
|
"wpackagist-plugin/*",
|
|
|
|
"wpackagist-theme/*"
|
|
|
|
]
|
2025-04-24 15:38:11 +02:00
|
|
|
}
|
|
|
|
],
|
2025-02-03 17:30:58 +01:00
|
|
|
"config": {
|
2025-04-23 19:33:40 +02:00
|
|
|
"lock": false,
|
2025-02-03 17:30:58 +01:00
|
|
|
"process-timeout": 7200,
|
|
|
|
"sort-packages": true,
|
|
|
|
"allow-plugins": {
|
2025-04-03 23:05:09 +02:00
|
|
|
"composer/installers": true,
|
2025-02-03 17:30:58 +01:00
|
|
|
"dealerdirect/phpcodesniffer-composer-installer": true,
|
2025-04-24 15:38:11 +02:00
|
|
|
"php-http/discovery": true,
|
|
|
|
"phpstan/extension-installer": true
|
2025-02-03 17:30:58 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"extra": {
|
|
|
|
"branch-alias": {
|
|
|
|
"dev-master": "2.x-dev"
|
|
|
|
},
|
|
|
|
"bundled": false,
|
|
|
|
"commands": [
|
|
|
|
"ai",
|
2025-04-09 09:56:29 +02:00
|
|
|
"mcp prompt",
|
2025-03-23 20:12:29 +01:00
|
|
|
"mcp server add",
|
2025-04-09 09:56:29 +02:00
|
|
|
"mcp server list",
|
|
|
|
"mcp server remove",
|
|
|
|
"mcp server update"
|
2025-04-03 23:05:09 +02:00
|
|
|
],
|
|
|
|
"installer-disable": true
|
2025-02-03 17:30:58 +01:00
|
|
|
},
|
|
|
|
"autoload": {
|
|
|
|
"psr-4": {
|
2025-04-03 23:05:09 +02:00
|
|
|
"McpWp\\AiCommand\\": "src/",
|
|
|
|
"McpWp\\AiCommand\\MCP\\": "src/MCP"
|
2025-02-03 17:30:58 +01:00
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"ai-command.php"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"minimum-stability": "dev",
|
|
|
|
"prefer-stable": true,
|
|
|
|
"scripts": {
|
|
|
|
"behat": "run-behat-tests",
|
|
|
|
"behat-rerun": "rerun-behat-tests",
|
|
|
|
"lint": "run-linter-tests",
|
2025-04-05 12:12:42 +02:00
|
|
|
"format": "@phpcbf",
|
2025-02-03 17:30:58 +01:00
|
|
|
"phpcs": "run-phpcs-tests",
|
2025-03-10 14:47:11 +01:00
|
|
|
"phpcbf": "run-phpcbf-cleanup",
|
2025-02-03 17:30:58 +01:00
|
|
|
"phpunit": "run-php-unit-tests",
|
|
|
|
"prepare-tests": "install-package-tests",
|
2025-04-24 15:38:11 +02:00
|
|
|
"phpstan": "phpstan analyse --memory-limit=2048M",
|
2025-02-03 17:30:58 +01:00
|
|
|
"test": [
|
|
|
|
"@lint",
|
|
|
|
"@phpcs",
|
2025-04-24 15:38:11 +02:00
|
|
|
"@phpstan",
|
2025-02-03 17:30:58 +01:00
|
|
|
"@phpunit",
|
|
|
|
"@behat"
|
2025-04-05 12:12:42 +02:00
|
|
|
]
|
2025-02-03 17:30:58 +01:00
|
|
|
},
|
|
|
|
"support": {
|
2025-04-03 23:05:09 +02:00
|
|
|
"issues": "https://github.com/mcp-wp/ai-command/issues"
|
2025-02-03 17:30:58 +01:00
|
|
|
}
|
|
|
|
}
|