Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "lezama/openclawp",
"description": "Generic chat-with-an-agent WordPress plugin built on Automattic/agents-api.",
"description": "Generic chat-with-an-agent WordPress plugin built on wordpress/agents-api.",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=8.1",
"automattic/agents-api": "dev-main",
"woocommerce/action-scheduler": "^3.9"
"woocommerce/action-scheduler": "^3.9",
"wordpress/agents-api": "dev-main"
},
"require-dev": {
"phpunit/phpunit": "^9.6",
Expand Down Expand Up @@ -37,9 +37,9 @@
"sort-packages": true
},
"scripts": {
"test": "phpunit",
"test": "php -d auto_prepend_file=tests/phpunit-prepend.php vendor/phpunit/phpunit/phpunit",
"test:smoke": "php tests/smoke.php",
"test:assembly": "phpunit --testsuite assembly",
"test:assembly": "php -d auto_prepend_file=tests/phpunit-prepend.php vendor/phpunit/phpunit/phpunit --testsuite assembly",
"lint:php": "phpcs",
"lint:php:fix": "phpcbf",
"analyse": "phpstan analyse"
Expand Down
141 changes: 90 additions & 51 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Use this checklist before tagging or publishing a release package.
main plugin header.
5. Do not add `Requires Plugins: agents-api` unless `agents-api` is published
under that exact WordPress.org slug; core can load the Composer dependency
itself from `vendor/automattic/agents-api/agents-api.php`.
itself from `vendor/wordpress/agents-api/agents-api.php`.
6. Run `composer update --lock` when dependency constraints change and commit
the resulting `composer.lock` so `dev-main` dependencies stay pinned.
7. While WordPress 7.0 is still pre-release, keep the README setup commands
Expand Down Expand Up @@ -51,7 +51,7 @@ For the default local model path, also verify a tool-using chat prompt in
Composer manifests, npm manifests, or release-only tooling files.
6. Install the generated ZIP on a clean WordPress 7.0+ site with the companion
`agents-api` plugin inactive, then confirm `AGENTS_API_PLUGIN_FILE` points to
`openclawp/vendor/automattic/agents-api/agents-api.php`.
`openclawp/vendor/wordpress/agents-api/agents-api.php`.
7. Confirm `readme.txt` includes dependency, external-services, changelog, and
upgrade-notice sections.

Expand Down
2 changes: 1 addition & 1 deletion includes/class-openclawp-bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public static function render_missing_dependencies_notice(): void {

$missing = array();
if ( ! defined( 'AGENTS_API_LOADED' ) ) {
$missing[] = '<a href="https://github.com/Automattic/agents-api">automattic/agents-api</a>';
$missing[] = '<a href="https://github.com/Automattic/agents-api">wordpress/agents-api</a>';
}
if ( ! function_exists( 'wp_ai_client_prompt' ) ) {
$missing[] = 'WordPress 7.0+ (provides <code>wp_ai_client_prompt()</code>)';
Expand Down
Loading
Loading